Commit Graph

22161 Commits

Author SHA1 Message Date
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
Ermal
a8ab2b76f1 Fix issue reported on http://forum.pfsense.org/index.php/topic,66160.0.html 2013-09-03 14:20:31 +00:00
Renato Botelho
42ec9337ea Make sure RRD data is restored from backup before upgrading data and a new backup is done after. It should fix #2159 2013-09-03 08:55:59 -03:00
Phil Davis
794195d153 Traffic Shaper GUI text typos
and note the Queue Limit is a number of packets (not packets per second)
2013-09-03 04:45:03 -07:00
Ermal
bee7cd82f8 Resolves #3177. Do a filter reconfigure if the dynds ipsec hosts are present and being reloaded. 2013-09-03 10:27:11 +00:00
Chris Buechler
4cdae0ac30 fix text 2013-09-03 04:07:33 -05:00
Chris Buechler
324e112d06 touch up text, s/nat/NAT/ 2013-09-03 01:27:11 -05:00
Shahid Sheikh
330ecea1bf Fix #3174 Handling of gateway groups in openvpn_restart()
If the underlying vip of a gateway group that an openvpn client is bound
to is in backup mode then the client should not start.
2013-09-02 21:23:21 -04:00
Renato Botelho
e7a209f57f Merge pull request #789 from jean-m-cyr/master
shaper burst may be blank, but if not then must be numeric
2013-09-02 11:08:41 -07:00
Jean Cyr
6aab2ea3ad shaper burst may be blank, but if not then must be numeric 2013-09-02 14:01:22 -04:00
Renato Botelho
22234bbb2f Fix #3172, return_gateway_groups_array() was returning the last vip since it was using wrong variable name on iteration 2013-09-02 08:00:07 -03:00
Ermal Luçi
ce4aea3a29 Merge pull request #788 from jean-m-cyr/master
Dummynet does not require burst size specification
2013-09-02 01:26:06 -07:00
Jean Cyr
b3e0fedf55 Dummynet does not require burst size specification
Dummynet traffic shaper does not require burst size specification and
assumes 0 if not specified. Allow user to leave burst field blank/
2013-09-02 02:55:09 -04:00
Renato Botelho
f89f3b3d21 Merge pull request #787 from phil-davis/master
Provide get_uptime_sec in a common include file
2013-08-31 07:31:04 -07:00
jim-p
b097a7cfa9 Show a count of the CPUs if more than one is detected, and show how those CPUs are supplied by the hardware. 2013-08-30 13:37:42 -04:00
Renato Botelho
beb7cd97eb Use ipprotocol to check gateway protocol, this fix a issue that allow to set more than one default gateway when it's dynamic 2013-08-29 14:38:31 -03:00
Phil Davis
806e597909 Call get_uptime_sec from functions.inc.php
to avoid code duplication
2013-08-29 00:12:54 -07:00
Phil Davis
df0cb10bbe Provide get_uptime_sec in a common include file
so it is available to anything that cares.
2013-08-29 00:09:40 -07:00
Individual IT Services
73fa01787f Increased needed memory for APC to 512M + code cleanup
- Increased the needed memory for APC to 512M as we often run into memory problems on our 256M box
- fixed the RAM calculation to divide by 1024 and not 1000
- code cleanup (renaming variables and creating new to avoid magic numbers)
2013-08-28 23:32:42 -07:00