Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Code style bits and pieces from etc | Phil Davis | 2015-05-31 | 1 | -2/+2 |
| | |||||
* | Code style for etc files | Phil Davis | 2015-02-25 | 1 | -24/+40 |
| | |||||
* | Fixes #4257 With the platform_booting() fixes a regression was done on ↵ | Ermal LUÇI | 2015-01-22 | 1 | -6/+10 |
| | | | | | | openvpn tap interfaces or dynamic ones that are part of a bridge. Allow during bootup rc.newwanip to continue up to a ceratin part to handle bridges or other complex interfaces. | ||||
* | Reload Unbound after IP changes, to fix issues noted in Ticket #4095. Do so ↵ | Chris Buechler | 2014-12-30 | 1 | -0/+3 |
| | | | | before Dynamic DNS updates occur to ensure the host has functioning DNS. | ||||
* | Call filter_configure_sync() is a better fix for #4066, as pointed by Ermal | Renato Botelho | 2014-12-05 | 1 | -3/+2 |
| | |||||
* | Fix #4066: | Renato Botelho | 2014-12-05 | 1 | -3/+12 |
| | | | | | | | Make sure pf is configured before other services are restarted when WAN IP changes. The way it was before, 'pass out' rules with route-to still have old IP set as 'from' and some Dynamic DNS ended up not being updated. | ||||
* | Fixup misleading comment | Phil Davis | 2014-11-28 | 1 | -1/+1 |
| | | | | This comment was misleading - this is the IP of whatever interface that is being processed, not just WAN IP. Might as well fix while noticed, to save someone else from misunderstanding in future. The curwanip var is really "Current Interface IP" and could be called curinterfaceip, but I was not about to search/replace all that at this point, since it is only a var name. | ||||
* | Use the pfsense module functions rather than execing. Fixes also possible ↵ | Ermal LUÇI | 2014-11-27 | 1 | -1/+1 |
| | | | | attack vectors. | ||||
* | Rather than set the g['booting'] on globals provide a function to test for ↵ | Ermal LUÇI | 2014-11-26 | 1 | -1/+1 |
| | | | | that doing the right checks | ||||
* | Fix variable typos introduced in eb8ad408 | Renato Botelho | 2014-11-26 | 1 | -3/+3 |
| | |||||
* | Cleanup code and make sense of it. While here do not forget gre tunnels as well: | Ermal LUÇI | 2014-11-26 | 1 | -14/+15 |
| | |||||
* | clarify logs generated by newwanip(v6) when restarting packages, it's not ↵ | Chris Buechler | 2014-11-01 | 1 | -1/+1 |
| | | | | only IP changes that end up here (by design). | ||||
* | Kill states associated with the old WAN IP when WAN IP has changed. Retain | Chris Buechler | 2014-10-30 | 1 | -1/+4 |
| | | | | | | hidden config option to wipe all states on IP change, as there seemed to be circumstances where the 'pfctl -k $oldip' didn't suffice for others (much of history in redmine ticket, some on forum and elsewhere). ticket | ||||
* | only kill all states if the IP changed. ticket #1629 | Chris Buechler | 2014-10-30 | 1 | -3/+5 |
| | |||||
* | fix up text | Chris Buechler | 2014-10-29 | 1 | -2/+2 |
| | |||||
* | Add option to kill all states on IP change, currently a hidden option for ↵ | Chris Buechler | 2014-10-28 | 1 | -0/+6 |
| | | | | more testing. ticket #1629 | ||||
* | fix variable typo. ticket #3669 | Chris Buechler | 2014-05-20 | 1 | -1/+1 |
| | |||||
* | Take care of interfaces that have no ip but might be part of the bridge as ↵ | Ermal | 2014-04-30 | 1 | -5/+9 |
| | | | | done for openvpn to avoid loops | ||||
* | Fix susbstr-substr typo | Phil Davis | 2014-04-15 | 1 | -1/+1 |
| | | | I just got this error again on 14 Apr 2014 2.2 snapshot. I can see the fix in 2.1 branch. I could have sworn it got fixed in Master also, but I can't see it. So here is the fix for Master. | ||||
* | Forgot to remove the problematic part from previous OpenVPN loop fix commit | Ermal | 2014-04-12 | 1 | -4/+0 |
| | |||||
* | Take care of the loops reported for OpenVPN in tap mode. Also fixes the ↵ | Ermal | 2014-04-12 | 1 | -6/+15 |
| | | | | problems of tap disappearing from bridge if its a member. | ||||
* | standardize on https://www.pfsense.org | Chris Buechler | 2014-03-14 | 1 | -1/+1 |
| | |||||
* | Correct the check to what was intended | Ermal | 2013-12-27 | 1 | -1/+1 |
| | |||||
* | Use return rather than exit to be friendly on CGI | Ermal | 2013-12-20 | 1 | -3/+3 |
| | |||||
* | Make scripts able to react when called from FCGI with GET method | Ermal | 2013-12-13 | 1 | -1/+4 |
| | |||||
* | This tag could be present, but empty. Skip processing if the interface has ↵ | jim-p | 2013-11-11 | 1 | -1/+1 |
| | | | | no IP address. | ||||
* | If the interface is configured and not enabled, bail. We do not need to ↵ | jim-p | 2013-11-11 | 1 | -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-p | 2013-09-27 | 1 | -0/+4 |
| | | | | not take any action. | ||||
* | Require IPv6.inc header so that if ipv6 functions are called no surprises arise | Ermal | 2013-09-10 | 1 | -0/+1 |
| | |||||
* | When the v4 wan is dynamic and v6 is type dhcp and v6 information is ↵ | Ermal | 2013-09-04 | 1 | -0/+4 |
| | | | | retrieved through v4 link than trigger dhcp6c reconfiguration. | ||||
* | Manually revert the patch to cleanup aliases since now its propely handled ↵ | Ermal | 2013-08-01 | 1 | -3/+0 |
| | | | | in the ip assignements. Ticket #2495 | ||||
* | Call interface_ipalias_cleanup() after $interface is initialized, and get ↵ | Renato Botelho | 2013-07-16 | 1 | -4/+8 |
| | | | | current IP after it | ||||
* | Actually do this upon entering to get proper ip | Ermal | 2013-07-05 | 1 | -1/+3 |
| | |||||
* | Fixes #2495. On trigering of rc.newwanip remove all ipaliases from the ↵ | Ermal | 2013-07-05 | 1 | -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 ↵ | Ermal | 2013-07-03 | 1 | -4/+0 |
| | | | | while the former is questionable if needed | ||||
* | Copy/pasto does well up to some point | Ermal | 2013-07-03 | 1 | -6/+4 |
| | |||||
* | On every ip change renew the hosts file | Ermal | 2013-07-03 | 1 | -2/+1 |
| | |||||
* | Run reconfiguration only for changed ip address or dynamic interface | Ermal | 2013-04-12 | 1 | -34/+26 |
| | |||||
* | Remove these from here | Ermal | 2013-04-12 | 1 | -5/+0 |
| | |||||
* | Only reload racoon when there is at least one tunnel enabled on the ↵ | Renato Botelho | 2013-04-04 | 1 | -2/+2 |
| | | | | interface used to call rc.newwanip(v6). It fixes #2922 | ||||
* | Fix whitespace and indent | Renato Botelho | 2013-03-19 | 1 | -42/+42 |
| | |||||
* | Use get_interface_ipv6 on rc.newwanipv6 to and teach it to flush the cache ↵ | Ermal | 2013-03-18 | 1 | -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 typo | Renato Botelho | 2013-02-20 | 1 | -1/+1 |
| | |||||
* | Restart snmpd on rc.newwanip. It should fix #2756 | Renato Botelho | 2013-02-15 | 1 | -0/+3 |
| | |||||
* | Create link_interface_to_track6 to make code more readble and easily ↵ | Ermal | 2013-01-31 | 1 | -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 against | jim-p | 2012-11-09 | 1 | -1/+1 |
| | |||||
* | Don't resync openvpn if rc.newwanip is being run on an openvpn interface, to ↵ | jim-p | 2012-11-02 | 1 | -1/+2 |
| | | | | avoid a loop. | ||||
* | Force resync of vpns and dns even if the IP doesn't change in rc.newwanip, ↵ | jim-p | 2012-09-14 | 1 | -7/+14 |
| | | | | since we could be doing failover/failback for these services. | ||||
* | Sync missing code from interface.inc to newwanip script | Ermal | 2012-06-07 | 1 | -4/+12 |
| | |||||
* | Teach mwexec and mwexec_bg how to optionally clear signal masks, and use ↵ | jim-p | 2012-05-16 | 1 | -1/+1 |
| | | | | that when launching ntp or ntpdate. |