summaryrefslogtreecommitdiffstats
path: root/etc/rc.newwanip
Commit message (Collapse)AuthorAgeFilesLines
* Sync missing code from interface.inc to newwanip scriptErmal2012-06-071-4/+12
|
* Teach mwexec and mwexec_bg how to optionally clear signal masks, and use ↵jim-p2012-05-161-1/+1
| | | | that when launching ntp or ntpdate.
* On its own, ntpd does not sync fast enough at bootup, so bring back the ↵jim-p2012-05-161-1/+2
| | | | ntpdate sync but improve it so it can't get stuck forever.
* Re-order the system routing configure after the tunneled interfaces are ↵smos2012-04-161-11/+11
| | | | configured.
* Correct the fieldname we need to look into so we actually configure the ↵smos2012-04-051-1/+1
| | | | tunneled interfaces.
* Make sure that we reconfigure the tunneled interfaces when we get a new ipv4 ↵smos2012-04-041-7/+4
| | | | address.
* Add logic that (re)configures the dependent interface that has interface ↵smos2012-04-011-0/+13
| | | | tracking setup for a tunneled IPv6 protocol.
* Use better is_array test to check if there are any gifs in the config.Phil Davis2012-03-151-1/+1
|
* Update etc/rc.newwanipPhil Davis2012-03-141-11/+13
|
* Fixes #1666. Check if the interface needs to be added to a bridge during ↵Ermal2011-08-291-0/+5
| | | | rc.newwanip as well.
* Revert "Already doing this no need to duplicate" <- no, we aren't 100% ↵jim-p2011-07-241-0/+17
| | | | | | duplicating this. This commit breaks fully reconfiguring assigned gif interfaces. This reverts commit 87f0f42c3230ad7ad15b14a8a9d63c58f8b2e379.
* Already doing this no need to duplicateErmal2011-07-141-17/+0
|
* Merge remote branch 'upstream/master'jim-p2011-07-061-0/+1
|\ | | | | | | | | Conflicts: etc/version
| * Add issing include to avoid PHP fatal error when calling enable_rrd_graphing()Scott Ullrich2011-07-051-0/+1
| |
* | Merge remote branch 'upstream/master'jim-p2011-07-011-4/+13
|\ \ | |/
| * Put resolvconf generation first since gif tunnels can use hostanmesErmal2011-06-281-6/+6
| |
| * Add recovery code for gif/gre the same as in interface_configure. This helps ↵Ermal2011-06-281-0/+9
| | | | | | | | gif/gre tunnels. Needed for capr? Suggested-by: jim-p
* | Move apinger monitor reconfigure down after gif, since gif can add gateways.jim-p2011-06-281-3/+3
| |
* | Reconfigure gif so it picks up the new wan ip.jim-p2011-06-281-0/+4
| |
* | Merge remote branch 'upstream/master'jim-p2011-06-081-1/+1
|\ \ | |/
| * Send correct event for reloading packages.Ermal2011-06-081-1/+1
| |
* | Merge remote branch 'upstream/master'jim-p2011-06-011-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | 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
| * Trigger reloading of packages through check_reload_status so it can ↵Ermal2011-05-271-1/+1
| | | | | | | | serialize the calls to not DoS the OS with processes triggered from this. Ticket #1534
* | Further fine tune the gif tunnel default route commands.Seth Mos2011-05-211-5/+7
| |
* | Run system_routing_configure() for all the gif interfaces when the parent ↵Seth Mos2011-05-211-0/+11
|/ | | | interfaces renews.
* Drop the ntpdate sync in favor of using ntpd -s, which should have the same ↵jim-p2011-04-121-1/+1
| | | | net effect without needing the shell script that has been prone to hanging.
* On interface ip change reload even igmpproxy. Reported-by: ↵Ermal2011-04-041-0/+3
| | | | http://forum.pfsense.org/index.php/topic,34372.0.html
* If the interface triggering rc.newwanip is not assigned just reload packages ↵Ermal2011-03-041-5/+16
| | | | and the filter and exit.
* Do not write the old ip to the cache file unless it changes. Might help in ↵Ermal2011-01-211-1/+2
| | | | Ticket #943.
* Ticket #1152. Call rc.newwanip even on openvpn linkup event to do the ↵Ermal2011-01-031-1/+2
| | | | correct reloading of gateways and services. Add a safe belt to avoid a recursion in openvpn itself from rc.newwanip.
* If the IP stays the same, still resync VPNs if it's a PPP type interface.jim-p2010-12-161-1/+10
|
* Move these back, it may not play nice with DHCP renewsjim-p2010-12-161-6/+6
|
* Move IPsec up too, it should always resync.jim-p2010-12-161-3/+3
|
* OpenVPN needs resync even if the IP did not change, because the IP may have ↵jim-p2010-12-161-3/+3
| | | | disappeared and caused it to exit.
* Call a filter reload even though the ip might not have changed. This makes ↵Ermal2010-12-101-5/+4
| | | | the gateway pools work after an interface comes up again.
* Do not call rc.newwanip on bootup. Remove bogus return 0;Scott Ullrich2010-12-101-2/+5
|
* Correct code to reconfigure an interface for groups/gre/gif tunnels to take ↵Ermal2010-12-061-0/+4
| | | | 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.
* Ticket #943. Call the update procedure directly to not do an unecessary loop.Ermal2010-10-251-1/+1
|
* Ticket #921. Actually reconfigure apinger in case of newip event because it ↵Ermal2010-09-301-3/+3
| | | | might impact a previous down event.
* Correct typo. Spotted by: wagnoza(IRC)Ermal2010-09-171-1/+1
|
* on newip event reload the static routes for that interface because on ↵Ermal2010-09-171-1/+4
| | | | 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.
* Ticket #867. Flush the cache when restarting apinger and also when ↵Ermal2010-09-141-4/+4
| | | | rc.newwanip is called. also restart apinger earlier in to be on latest address asap.
* Ticket #876. Reload gateways/apinger before filter_reload so the new ↵Ermal2010-09-071-4/+3
| | | | ip/gateway is considered up from the beginning.
* Use the new events mechanisms to dispatch events.Ermal2010-09-071-1/+1
|
* No functional change just code reshuffle.Ermal2010-08-171-8/+6
|
* Ticket #449. Actually save something to read back.Ermal2010-04-271-0/+1
|
* Ticket #449. Bring back the check if there is really an ip change on ↵Ermal2010-04-271-2/+9
| | | | interface event. This avoids reloading openvpn and other sevices when actually there is no change.
* Improve startup time by delaying dyndns synching.Ermal2010-04-131-1/+1
|
* This is of no use. Disable until its writer shows up.Ermal2010-03-291-1/+1
|
* Ticket #449. Teach OpenVPN to reload only tunnels for the specified ↵Ermal2010-03-291-1/+2
| | | | interface. Use this is rc.newwanip script to reload only these tunnels.
OpenPOWER on IntegriCloud