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
Ermal
dc8b4c4ec6
Make the operation of saving old rule nearby the writing operation to be logical to spot
2013-09-04 08:18:51 +00:00
Ermal
b214bf3a05
Sprinkle some unsets to reduce footprint and correct some whitespaces
2013-09-04 08:12:36 +00:00
Ermal Luçi
2eebeecbd4
Merge pull request #797 from phil-davis/master
...
filter_generate_port error log function name
2013-09-04 00:19:20 -07:00
Phil Davis
3b6596b740
filter_generate_port error log function name
...
Absolutely minor adjustment to make the error log message refer to the new function name.
2013-09-03 18:03:59 -07:00
Ermal
81d81b942b
Fixes #3173 if any port information exists on the rule than put it on the NEGATE rule generated.
2013-09-03 18:39:56 +00:00
Renato Botelho
03131eb95c
Remove SPD when disable phase2, it fixes #2719
2013-09-03 15:13:10 -03:00
Renato Botelho
fcca1783e9
Merge pull request #786 from individual-it/master
...
Increased needed memory for APC to 512M + code cleanup
2013-09-03 10:29:52 -07:00
Chris Buechler
faf4b1fce9
Merge pull request #796 from phil-davis/master
...
Traffic Shaper GUI text typos
2013-09-03 10:05:54 -07:00
Chris Buechler
fcb5121d6f
Merge pull request #793 from shahidsheikh/master
...
Fix #3174 Handling of gateway groups in openvpn_restart()
2013-09-03 10:03:40 -07:00
Ermal
32a9eb1873
Bring back static routes to fix issues reported on Ticext #3179
2013-09-03 16:52:43 +00:00
Chris Buechler
243680e54d
Disable state killing on gateway failure by default for new configs.
...
Clarify the text describing the option while here.
2013-09-03 11:00:34 -05:00
Ermal
497841f5d5
Correct typo on variable name
2013-09-03 15:42:06 +00:00
Renato Botelho
f2cc3344a1
Fix #3004 :
...
. Create a function to replace strings on deep associative arrays
. Use the recent created function array_replace_values_recursive to fix
VIP interface names instead of touch config.xml directly
2013-09-03 12:37:41 -03:00