Commit Graph

19350 Commits

Author SHA1 Message Date
Ermal Luçi
310ce280c1 Merge pull request #2 from TheBlueMatt/master
Custom Dynamic DNS
2012-05-24 00:29:57 -07:00
Erik Fonnesbeck
e820da2a93 Fix reference updating for when more than one carp vip exists. Skip the upgrade code if no carp vip defined. Ticket #2445 2012-05-23 17:01:38 -06:00
Ermal
79f4bb0b50 Disable logging for now since it will spam every 60secs * #users * #zones 2012-05-23 22:16:05 +00:00
Erik Fonnesbeck
879f7db7d3 Add missing declaration for global variable $g where it is used. 2012-05-23 15:49:41 -06:00
Erik Fonnesbeck
1276637450 Fix name of the config section for virtual IPs in upgrade code. Ticket #2445 2012-05-23 15:11:45 -06:00
Erik Fonnesbeck
d39a2fc628 Check the surrounding characters to not allow partial matches. Ticket #2445 2012-05-23 15:11:27 -06:00
Erik Fonnesbeck
fe47f1f201 Revert "Rather do a fix by going through vips in reverse order"
This reverts commit d996dfeab2.
2012-05-23 14:35:29 -06:00
jim-p
d01de40fa6 Fix easyrule duplicate destination for pass - Fixes #2447 2012-05-23 16:26:40 -04:00
smos
909b0a91da Reflect naming changes, work around broken media type for wireless 2012-05-23 20:54:47 +02:00
jim-p
bd4c21fe57 Don't skip "lan" as a possible WAN for shaper, since someone could have renamed/repurposed it. Someone may shoot themselves in the foot if they pick it accidentally, but otherwise some valid configs may be prevented accidentally. 2012-05-23 15:47:08 -04:00
smos
b45d6db6c4 Round off the values. 2012-05-23 20:25:27 +02:00
smos
5e13bc843e Convert the Bytes per Second into kilobits per second like the status page says 2012-05-23 20:08:40 +02:00
Ermal
062676f880 Fixes #2364. On busy pppoe servers it might take some time before mpd exits. Check for this before trying to restart 2012-05-23 19:25:53 +00:00
Ermal
fbda07b948 Do this only for carp type vips 2012-05-23 18:56:32 +00:00
Ermal
d996dfeab2 Rather do a fix by going through vips in reverse order 2012-05-23 18:55:31 +00:00
Ermal
e27d337d88 Since this is an interface to avoid issues arising from vip1 and vip11 existing and replacing vip1 will replace even vip11, put on the regex <(starting close tag). 2012-05-23 18:49:12 +00:00
smos
323954b113 Unset the IP protocol tag while processing this array. This prevents a log message 2012-05-23 18:36:05 +02:00
Ermal
6805d2d25f Fixes #2209. Obey the mtu value set on the interfaces.php page. Though this value will be overwritten if there is a configuration under PPP settings tab. Maybe a good idea is to set MRU at the same value if not set? 2012-05-23 17:35:13 +00:00
smos
e313da37e6 Be a bit smarter about the stats interface for the huawei cards. Some of the K series have the stats on 0.2, the E series on 0.3
Some of the older E series only have 0.2 too. The new K3770 I got today is too new.
2012-05-23 18:00:51 +02:00
smos
d23e157a06 Add more functions and expand the 3G status interfaces screen.
List the SIM state, service, speeds and mode
2012-05-23 17:14:28 +02:00
smos
7e631290b2 clean up old lock files for modem ports if a stale is left behind 2012-05-23 16:24:47 +02:00
jim-p
b22fc82559 Move vip upgrade code to be later, since it was backed out of 2.0.x it no longer needs to be so early, and otherwise there can be some breakage/fallout. Ticket #2445 2012-05-23 11:35:41 -04:00
Ermal
617244c7f7 Ooops use correct name for vips 2012-05-23 15:29:36 +00:00
Ermal
35b714597c Oops this should be sed and not sh. Fixes #2445 2012-05-23 15:12:48 +00:00
Ermal
bf58398ce6 Specify correct attribute where to read the setting from. 2012-05-23 12:59:24 +00:00
Ermal
c5b0298f87 If specified use the default settings for bw limitation rather than 0 2012-05-23 12:57:43 +00:00
Ermal
6405333995 Prevent 2 instances of rc.prunecaptiveportal from running in parallell since this might be a bad thing 2012-05-23 12:55:42 +00:00
smos
d535507a07 Add more fields to the 3g stats 2012-05-23 13:25:49 +02:00
smos
99f95f7d3b Add the 3G mode display, really needs a function that translates these into sane display numbers for strength and mode.
The mode is actually a combination of LED color 4 = blue(idle), 5 = cyan(connected), and submode 7 = HSDPA
I need to find some proper documentation, really.
2012-05-23 12:15:23 +02:00
smos
fe7fef6418 Fix command, remove spurious ' 2012-05-23 11:47:37 +02:00
smos
7efe5ac50c Initialize the statistics, also parse on MODE messages 2012-05-23 11:41:23 +02:00
smos
d1796d06da Kill the old 3gstats collector. Clarify the log message 2012-05-23 11:35:31 +02:00
Ermal
739808f779 Make file names match to make this work. Also use zone name in the file to not mix things 2012-05-23 10:50:28 +00:00
smos
71f4a2b70c Unbreak adding IPv6 static routes 2012-05-23 10:53:49 +02:00
smos
73ce690995 Make sure to bail the stats script if we can not open the modem device. 2012-05-23 09:21:44 +02:00
Matt Corallo
6bb73ce61e Remove dead code. 2012-05-22 23:58:30 +02:00
Matt Corallo
fffbfef0a8 Fix DynDNS issue introduced by f3b2b2a (_dnsIP was not set). 2012-05-22 23:58:30 +02:00
Matt Corallo
37f3e7041f Add the option to use a custom Dynamic DNS Provider via an Update URL and Result Match. 2012-05-22 23:58:30 +02:00
Ermal
aec0f2fd54 If extra bw attributes are supplied during reauthentication apply and log them 2012-05-22 20:59:40 +00:00
Ermal
5c0b5f64f2 Unlock if error occurs 2012-05-22 19:18:47 +00:00
jim-p
43d735deea Use "proto 112" instead of tcpdump's vrrp keyword since it's a little behind the times and doesn't realize that ip6+vrrp is valid. And since we're not using the vrrp keyword directly anymore, let's call it CARP instead. 2012-05-22 09:26:08 -04:00
smos
5a61fd69c9 Make sure that we match multiple characters.
Ticket #2415
2012-05-22 08:13:50 +02:00
smos
e7de69fbd5 First round of CARP vip renaming changes
Ticket #2415
2012-05-22 07:49:49 +02:00
smos
ee8c34f487 Properly test for the address family now that the array says what it's supposed to be. 2012-05-21 19:01:05 +02:00
smos
44b054ce5c Add the address family tag to the gateway groups array 2012-05-21 18:57:29 +02:00
smos
2b095a3323 Correct the rrd update command 2012-05-21 15:41:56 +02:00
smos
852171dd30 Read in the correct interface file 2012-05-21 15:35:33 +02:00
smos
5e5896856a Add 3G statistics for Huawei modems, split the Cellular stats out to per interface instead of global. 2012-05-21 15:31:02 +02:00
jim-p
c0ae3bfb74 Don't auto-toggle the "do not backup rrd" setting - we do not want this on unless the user explicitly selects it. It makes for very, very large backup files and must default to off. 2012-05-21 10:10:36 -04:00
Erik Fonnesbeck
612f519852 Modify the tar parameters to exclude .git 2012-05-20 17:52:38 -06:00