summaryrefslogtreecommitdiffstats
path: root/etc/rc.newwanip
Commit message (Collapse)AuthorAgeFilesLines
* fix variable typo. ticket #3669Chris Buechler2014-05-201-1/+1
|
* Take care of interfaces that have no ip but might be part of the bridge as ↵Ermal2014-04-301-5/+9
| | | | done for openvpn to avoid loops
* Fix typoPhil Davis2014-04-141-1/+1
|
* Forgot to remove the problematic part from previous OpenVPN loop fix commitErmal2014-04-121-4/+0
|
* Take care of the loops reported for OpenVPN in tap mode. Also fixes the ↵Ermal2014-04-121-6/+15
| | | | problems of tap disappearing from bridge if its a member.
* standardize pfsense.com references to https://www.pfsense.orgChris Buechler2014-03-141-1/+1
|
* Correct the check to what was intendedErmal2013-12-271-1/+1
|
* This tag could be present, but empty. Skip processing if the interface has ↵jim-p2013-11-111-1/+1
| | | | no IP address.
* If the interface is configured and not enabled, bail. We do not need to ↵jim-p2013-11-111-0/+6
| | | | change settings for disabled interfaces. Fixes #3313
* If rc.newwanip is run on an interface that should not have an IP address, do ↵jim-p2013-09-271-0/+4
| | | | not take any action.
* Require IPv6.inc header so that if ipv6 functions are called no surprises ariseErmal2013-09-101-0/+1
|
* When the v4 wan is dynamic and v6 is type dhcp and v6 information is ↵Ermal2013-09-041-0/+4
| | | | retrieved through v4 link than trigger dhcp6c reconfiguration.
* Manually revert the patch to cleanup aliases since now its propely handled ↵Ermal2013-08-011-3/+0
| | | | in the ip assignements. Ticket #2495
* Call interface_ipalias_cleanup() after $interface is initialized, and get ↵Renato Botelho2013-07-161-4/+8
| | | | current IP after it
* Actually do this upon entering to get proper ipErmal2013-07-051-1/+3
|
* Fixes #2495. On trigering of rc.newwanip remove all ipaliases from the ↵Ermal2013-07-051-0/+1
| | | | interface since they will be readded later on. This will also make sure to have the correct address order
* Do not reconfigure dhcp v6 on v4 ip address event. Only handle 6rd and 6to4 ↵Ermal2013-07-041-4/+0
| | | | while the former is questionable if needed
* Copy/pasto does well up to some pointErmal2013-07-041-6/+4
|
* On every ip change renew the hosts fileErmal2013-07-041-2/+1
|
* Run reconfiguration only for changed ip address or dynamic interfaceErmal2013-04-121-34/+26
|
* Remove these from hereErmal2013-04-121-5/+0
|
* Only reload racoon when there is at least one tunnel enabled on the ↵Renato Botelho2013-04-041-2/+2
| | | | interface used to call rc.newwanip(v6). It fixes #2922
* Fix whitespace and indentRenato Botelho2013-03-191-42/+42
|
* Use get_interface_ipv6 on rc.newwanipv6 to and teach it to flush the cache ↵Ermal2013-03-181-0/+4
| | | | on optional parameter. Also teach get_real_interface about the tedios ipv6 tunnel interfaces and return them when ipv6 family is specified
* fix typoRenato Botelho2013-02-201-1/+1
|
* Restart snmpd on rc.newwanip. It should fix #2756Renato Botelho2013-02-151-0/+3
|
* Create link_interface_to_track6 to make code more readble and easily ↵Ermal2013-01-311-2/+2
| | | | trackble. Also improve the generation of rules to avoid creating problems during filter reload and some optimizations with it
* Fix interface variable to check againstjim-p2012-11-091-1/+1
|
* Don't resync openvpn if rc.newwanip is being run on an openvpn interface, to ↵jim-p2012-11-021-1/+2
| | | | avoid a loop.
* Force resync of vpns and dns even if the IP doesn't change in rc.newwanip, ↵jim-p2012-09-141-7/+14
| | | | since we could be doing failover/failback for these services.
* 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
|\ \ | |/
OpenPOWER on IntegriCloud