Commit Graph

22192 Commits

Author SHA1 Message Date
Ermal Luçi
4f9476693b Merge pull request #802 from Xon/patch-1
Alix 2D6 crashes during 2.1 upgrade process with an out of diskspace error
2013-09-16 00:28:26 -07:00
Xon
73c569ea50 Alix 2D6 crashes upgrade process withou out of diskspace
Updating the the RRD graphs causes two copies of each RRD's XML file to be stored in /tmp.

On Nanobsd, the default /tmp size is 40mb. It doesn't require very many RRD XML dumps before this is exhausted.
2013-09-16 01:45:57 +08:00
Renato Botelho
67e5e3c6db Set action = pass for configured mac addresses on CP passtrumac 2013-09-14 11:17:43 -03:00
Renato Botelho
81ce28d870 Remove unecessary blockedmacs db and read it directly from config 2013-09-14 10:54:08 -03:00
Renato Botelho
01ba8ec63d Convert mac address to lowercase when saving to avoid duplicates. It fixes #3195 2013-09-12 15:01:43 -03:00
Renato Botelho
4f7bba4647 Do not allow local mac address to be added to passtrumac list in CP. It fixes #3122 2013-09-12 14:53:26 -03:00
Renato Botelho
30cbc0070c Fix php short tag opening and silent php -l 2013-09-12 11:29:51 -03:00
Renato Botelho
ea51e9f8bf Remove call-time pass by reference from traffic shaper files, it should fix #2565 2013-09-12 11:29:21 -03:00
Renato Botelho
1e9b461124 Remove call-time pass by reference for do_input_validation, helps ticket #2565 2013-09-12 11:28:14 -03:00
Renato Botelho
a413e74379 Do not add a ipfw rule to block mac since auth can take care of block or redirect it 2013-09-12 09:43:45 -03:00
Renato Botelho
8d5ddc0931 Redirect blocked macs to desired URL or show an error message 2013-09-12 09:43:16 -03:00
Renato Botelho
2f1548d69f Add a redirect url option to blocked macs 2013-09-12 09:42:25 -03:00
Renato Botelho
3b2769be38 Make sure db doesn't exist when start to configure macs 2013-09-12 08:44:51 -03:00
Renato Botelho
a7c00d8dba Delete the old mac when action changes, not the current one 2013-09-12 08:44:51 -03:00
Renato Botelho
0d33f1fc6f When block a MAC address, add it to a DB to make it possible to redirect it to a URL 2013-09-12 08:44:51 -03:00
Renato Botelho
6b1cb3fda7 Add action to auto created passtru mac rule 2013-09-12 08:44:51 -03:00
Renato Botelho
0bf1e92524 Remove unused variable $macdb 2013-09-12 08:44:51 -03:00
Renato Botelho
5eee375564 Make captiveportal_passthrumac_delete_entry() return rules instead of execute them as other similar functions do 2013-09-12 08:44:51 -03:00
Renato Botelho
736c36c674 Use same tab name on all pages 2013-09-12 08:44:51 -03:00
Renato Botelho
ed8899b59b Change 'Pass-through MAC' tab name to reflect current reality 2013-09-12 08:44:50 -03:00
Renato Botelho
6ffb064f4d Add action to auto created passtru mac rule 2013-09-12 08:44:50 -03:00
Renato Botelho
666f88e0c8 Add actions (block or pass) to Captive Portal passtrumac 2013-09-12 08:44:50 -03:00
Renato Botelho
cfd88fbc83 Fix indent and whitespaces 2013-09-12 08:44:50 -03:00
Chris Buechler
90a27e6453 s/BSDP/ESF/ 2013-09-11 17:12:00 -05:00
jim-p
611f2910bd Make sure to account for IP aliases on lo0 here, or they get duplicated on each CARP sync 2013-09-11 14:33:17 -04:00
jim-p
eed5b50764 Include CA in generated .p12 file. Fixes #2147 the way it was originally intended. 2013-09-10 14:02:26 -04:00
jim-p
9633e5183b Simplify the update URL definition in globals.inc and add some comments to it. 2013-09-10 09:08:18 -04:00
Renato Botelho
09d2bef30c Merge pull request #801 from phil-davis/master
Update an existing cron entry for pppoe periodic resets
2013-09-10 05:14:28 -07:00
Phil Davis
f1593bfe1c Update an existing cron entry for pppoe periodic resets
The array variable name was incorrect in the test, so the existing cron entry was not being matched. Fixes #3192
2013-09-10 04:52:37 -07:00
Ermal
8d8f5e496b Require IPv6.inc header so that if ipv6 functions are called no surprises arise 2013-09-10 09:35:11 +00:00
Ermal
fa4d4be6e1 Leave a trace that rtsold did fire the dhcp6c client so troubleshooting is easier 2013-09-10 09:27:02 +00:00
Ermal
a01f8bfc0a Correctly check the secondary/primary parameter setting on dhcp failover configuration 2013-09-10 09:10:19 +00:00
Ermal
20809a21fd Correct typo that prevents dhcp rules from properly being generated. 2013-09-10 08:20:10 +00:00
Ermal Luçi
6e46621b02 Merge pull request #800 from phil-davis/master
Do not include disabled OpenVPN in vpn_networks and negate_networks
2013-09-09 23:49:49 -07:00
Phil Davis
771c14a35c Do not include disabled OpenVPN in vpn_networks and negate_networks 2013-09-09 19:30:37 -07:00
jim-p
0281db8cc1 Fix errant display of "0 table deleted" during filter reload on console. 2013-09-09 15:18:57 -04:00
Renato Botelho
4831f5df94 Remove unecessary capitalized WARNING from disabled APC message 2013-09-09 16:09:53 -03:00
jim-p
1e940f77ff Test growl whether or not growl is disabled. 2013-09-08 19:57:08 -04:00
jim-p
cf07d57433 Do not sync DHPCv6, it must operate independetly. Ticket #3184 2013-09-06 13:56:56 -04:00
jim-p
d3b3240bd0 Remove failover peer IP settings from DHCPv6, DHCPv6 doesn't support failover the way that DHPv4 did. Fixes #3184 2013-09-06 13:56:55 -04:00
Renato Botelho
af0a477a1f Disable kill_states by default on upgrade, it fixes #3183 2013-09-06 13:58:49 -03:00
Renato Botelho
605ae5537d Fix #3127
By default htmlspecialchars does not consider single quotes, what can be
a problem when value attribute is set using it. Replace value attribute
set to use double quotes on places where it's obviously recieving a
result of htmlspecialchars() call.
2013-09-06 08:08:03 -03:00
jim-p
8346b5c462 Allow for easier override on $g values if needed. 2013-09-05 14:27:42 -04:00
Ermal
9d7ca11fce Correct check to match the right vip based on configured ip. Reported-by: http://forum.pfsense.org/index.php/topic,66234.0.html 2013-09-05 12:39:20 +00:00
Ermal
36fa13a632 Ticket #3181 do the state flushing only on down gateway detection rather than any time. 2013-09-05 12:29:21 +00:00
Ermal
0b18ef0581 When the v4 wan is dynamic and v6 is type dhcp and v6 information is retrieved through v4 link than trigger dhcp6c reconfiguration. 2013-09-04 15:03:18 +00:00
Ermal
b9eae2ba66 Actually the / here is not needed. 2013-09-04 10:43:26 +00:00
Ermal
b8b78b9ad9 Related to Ticket #3045 avoid races in the ntpdate_sync_one script due to killall returning without the process really exiting. 2013-09-04 10:36:15 +00:00
Ermal
8171a2c2de Introduce two new functions to be used on locking.
- try_lock: used for trying to get an EXCLUSIVE lock for a specified timeout by default of 5
- unlock_force: which just releases any locks held on a specified lock

Use this new functions on rc.openvpn to avoid spurious stale locks around.
2013-09-04 08:48:23 +00:00
Ermal
f33dcc5c79 Add safety belts to code in rc.openvpn to avoid php errors to leave stale locks around 2013-09-04 08:31:43 +00:00