Commit Graph

132 Commits

Author SHA1 Message Date
jim-p
b61e89600e Teach mwexec and mwexec_bg how to optionally clear signal masks, and use that when launching ntp or ntpdate. 2012-05-16 14:03:24 -04:00
jim-p
0b8e9d38d8 On its own, ntpd does not sync fast enough at bootup, so bring back the ntpdate sync but improve it so it can't get stuck forever. 2012-05-16 10:48:26 -04:00
smos
b5191708f8 Re-order the system routing configure after the tunneled interfaces are configured. 2012-04-16 18:45:29 +02:00
smos
c1a104c7c8 Correct the fieldname we need to look into so we actually configure the tunneled interfaces. 2012-04-05 19:47:27 +02:00
smos
73c8a6c714 Make sure that we reconfigure the tunneled interfaces when we get a new ipv4 address. 2012-04-04 17:36:19 +02:00
smos
69b54cbe6e Add logic that (re)configures the dependent interface that has interface tracking setup for a tunneled IPv6 protocol. 2012-04-01 09:50:14 +02:00
Phil Davis
29bf947e24 Use better is_array test to check if there are any gifs in the config. 2012-03-15 10:18:31 +05:45
Phil Davis
efb5b9f105 Update etc/rc.newwanip 2012-03-14 13:54:06 +05:45
Ermal
8614f335d1 Fixes #1666. Check if the interface needs to be added to a bridge during rc.newwanip as well. 2011-08-29 19:33:28 +00:00
jim-p
90c386ba15 Revert "Already doing this no need to duplicate" <- no, we aren't 100% duplicating this. This commit breaks fully reconfiguring assigned gif interfaces.
This reverts commit 87f0f42c32.
2011-07-24 12:28:58 -04:00
Ermal
87f0f42c32 Already doing this no need to duplicate 2011-07-14 13:13:08 +00:00
jim-p
5a4c0b5c7b Merge remote branch 'upstream/master'
Conflicts:
	etc/version
2011-07-06 09:41:28 -04:00
Scott Ullrich
76f5d95c71 Add issing include to avoid PHP fatal error when calling enable_rrd_graphing() 2011-07-05 16:28:12 -04:00
jim-p
2488a7e73a Merge remote branch 'upstream/master' 2011-07-01 11:38:20 -04:00
Ermal
dfa766ffcc Put resolvconf generation first since gif tunnels can use hostanmes 2011-06-28 20:47:57 +00:00
Ermal
48484aacb7 Add recovery code for gif/gre the same as in interface_configure. This helps gif/gre tunnels. Needed for capr? Suggested-by: jim-p 2011-06-28 20:45:43 +00:00
jim-p
da70dc36ad Move apinger monitor reconfigure down after gif, since gif can add gateways. 2011-06-28 16:12:59 -04:00
jim-p
ecc584aa49 Reconfigure gif so it picks up the new wan ip. 2011-06-28 15:57:54 -04:00
jim-p
156bf9b119 Merge remote branch 'upstream/master' 2011-06-08 14:13:22 -04:00
Ermal
0042f5d964 Send correct event for reloading packages. 2011-06-08 14:54:20 +00:00
jim-p
58005e5213 Merge remote branch 'upstream/master'
Conflicts:
	conf.default/config.xml
	etc/inc/filter.inc
	etc/inc/globals.inc
	etc/inc/pfsense-utils.inc
	etc/inc/upgrade_config.inc
	usr/local/www/interfaces.php
2011-06-01 09:00:09 -04:00
Ermal
dfb30a896c Trigger reloading of packages through check_reload_status so it can serialize the calls to not DoS the OS with processes triggered from this. Ticket #1534 2011-05-27 07:56:11 +00:00
Seth Mos
839ee78fc2 Further fine tune the gif tunnel default route commands. 2011-05-21 23:16:01 +02:00
Seth Mos
3be49c5fc3 Run system_routing_configure() for all the gif interfaces when the parent interfaces renews. 2011-05-21 22:41:01 +02:00
jim-p
cd11a1426d Drop the ntpdate sync in favor of using ntpd -s, which should have the same net effect without needing the shell script that has been prone to hanging. 2011-04-12 13:52:34 -04:00
Ermal
f206afb57e On interface ip change reload even igmpproxy. Reported-by: http://forum.pfsense.org/index.php/topic,34372.0.html 2011-04-04 10:32:55 +00:00
Ermal
9ccecb65d8 If the interface triggering rc.newwanip is not assigned just reload packages and the filter and exit. 2011-03-04 17:37:32 +00:00
Ermal
3d9e92526a Do not write the old ip to the cache file unless it changes. Might help in Ticket #943. 2011-01-21 22:54:55 +00:00
Ermal
55c51af729 Ticket #1152. Call rc.newwanip even on openvpn linkup event to do the correct reloading of gateways and services. Add a safe belt to avoid a recursion in openvpn itself from rc.newwanip. 2011-01-03 21:29:28 +00:00
jim-p
9c4c5e80b7 If the IP stays the same, still resync VPNs if it's a PPP type interface. 2010-12-16 10:12:54 -05:00
jim-p
ebbae443c7 Move these back, it may not play nice with DHCP renews 2010-12-16 10:12:29 -05:00
jim-p
b7c38b2ef9 Move IPsec up too, it should always resync. 2010-12-16 09:57:14 -05:00
jim-p
4d3367b189 OpenVPN needs resync even if the IP did not change, because the IP may have disappeared and caused it to exit. 2010-12-16 09:55:54 -05:00
Ermal
2c6b0d67b4 Call a filter reload even though the ip might not have changed. This makes the gateway pools work after an interface comes up again. 2010-12-10 23:44:12 +00:00
Scott Ullrich
9e18b39240 Do not call rc.newwanip on bootup. Remove bogus return 0; 2010-12-10 13:55:04 -05:00
Ermal
ed62880b04 Correct code to reconfigure an interface for groups/gre/gif tunnels to take into account that an interface might be part of many instances of this. Also reconfigure interface groups for every newwanip trigger on interfaces to make sure dynamic interfaces retain their membership on groups. 2010-12-06 15:25:03 +00:00
Ermal
db8e9e53e6 Ticket #943. Call the update procedure directly to not do an unecessary loop. 2010-10-25 12:35:18 +00:00
Ermal
3640c56765 Ticket #921. Actually reconfigure apinger in case of newip event because it might impact a previous down event. 2010-09-30 16:52:25 +00:00
Ermal
3c3ba8f006 Correct typo. Spotted by: wagnoza(IRC) 2010-09-17 14:29:02 +00:00
Ermal
b746dc61ec on newip event reload the static routes for that interface because on dynamic gateways the ip might have changed. While here make sure the interface argument is repsected on system_routing_configure() and use send_event to reconfigure an interface to aleviate a possible race. 2010-09-17 13:38:01 +00:00
Ermal
01f1b60122 Ticket #867. Flush the cache when restarting apinger and also when rc.newwanip is called. also restart apinger earlier in to be on latest address asap. 2010-09-14 20:32:54 +00:00
Ermal
c3b1ba3fcd Ticket #876. Reload gateways/apinger before filter_reload so the new ip/gateway is considered up from the beginning. 2010-09-07 19:44:02 +00:00
Ermal
0ae6daf834 Use the new events mechanisms to dispatch events. 2010-09-07 19:36:53 +00:00
Ermal
17649c8793 No functional change just code reshuffle. 2010-08-17 10:15:44 +00:00
Ermal
461c0a1a4d Ticket #449. Actually save something to read back. 2010-04-27 20:50:28 +00:00
Ermal
40655051c8 Ticket #449. Bring back the check if there is really an ip change on interface event. This avoids reloading openvpn and other sevices when actually there is no change. 2010-04-27 20:47:22 +00:00
Ermal
85b2f42498 Improve startup time by delaying dyndns synching. 2010-04-13 20:31:03 +00:00
Ermal
547340c4b4 This is of no use. Disable until its writer shows up. 2010-03-29 17:28:25 +00:00
Ermal
c7f6019359 Ticket #449. Teach OpenVPN to reload only tunnels for the specified interface. Use this is rc.newwanip script to reload only these tunnels. 2010-03-29 17:22:32 +00:00
Ermal
f973148e5b Add needed includes. 2010-03-19 19:27:30 +00:00