summaryrefslogtreecommitdiffstats
path: root/etc/rc.newwanip
Commit message (Collapse)AuthorAgeFilesLines
* remove the setup_gateways_monitor() from system_routing_configure() as this ↵Seth Mos2008-07-011-3/+4
| | | | | | | | causes a filter reload loop when apinger is reloading. Change apinger to reload instead of killing use setup_gateways_monitor() in rc.bootup and rc.newwanip
* Cleanup logging line so that it is more readable.Scott Ullrich2007-06-091-1/+1
|
* find_interface_ip() requires a real interfaceScott Ullrich2007-06-091-1/+1
|
* Add function to forcefully reload VPN on wan ip change.Seth Mos2007-05-151-2/+2
|
* Add missing )'s. How this got past our PHP LINT checker is beyond me.Scott Ullrich2007-05-141-2/+2
|
* Trim carriage return off of the $old_ip so that the <> comparison works.Scott Ullrich2007-04-271-2/+2
| | | | This should fix the packages from always being restarted even if the ip was the same.
* When dhclient renews the ip address and the ip has not changed then ↵Scott Ullrich2007-04-221-2/+4
| | | | old_ip_address will not be set. Ignore this and do not reload all packages when the ip has not changed.
* Exit after restarting dhclient.Scott Ullrich2007-02-191-0/+1
|
* Log more information during rc.newwanipScott Ullrich2007-02-181-1/+1
|
* Log more information during rc.newwanipScott Ullrich2007-02-181-0/+2
|
* Note the interface that we are working on in the logs to ensure that we are ↵Scott Ullrich2007-02-181-2/+2
| | | | obtaining the IP address correctly initially
* Only restart packages if the IP address changesScott Ullrich2007-02-091-1/+2
|
* Work around DHCLIENT issue temporarily until we can deterimine why it is ↵Scott Ullrich2007-01-251-1/+6
| | | | occuring.
* Instead of killing openvpn and restarting, simply HUP it to reload its settings.Scott Ullrich2007-01-081-1/+1
|
* Merge in new (outbound) load balancing configuration code from HEAD.Seth Mos2006-12-301-0/+6
| | | | | | | | | | * assign interfaces to pool instead of manual IP configuration * Only show interfaces with a gateway * Offer list of monitor IPs including interface gateways. This code is tested for outbound load balancing on a carp cluster and works for me (smos). The server side needs testing. Which I don't know how to. Let's give it a run for a snapshot or 2.
* Remove old workaround code now that ISC dhclient is backScott Ullrich2006-12-231-7/+0
|
* Use correct interface when restarting dhclientScott Ullrich2006-12-171-2/+4
|
* Revert previous dhclient crontab mojo. When running rc.newwanip if the ip ↵Scott Ullrich2006-12-161-1/+8
| | | | | | == 0.0.0.0 then fire off dhclient again. As seen on the forums ( http://forum.pfsense.org/index.php/topic,2645.0/topicseen.html )
* Back out changes to try and fix OpenVPN. We really need to fix ↵Scott Ullrich2006-12-051-7/+0
| | | | check_reload_status
* Misc spelling mistakes. Remove old commented out code.Scott Ullrich2006-12-031-4/+1
|
* Work around the fact that check_reload_status is inheriting socket ↵Scott Ullrich2006-12-031-0/+12
| | | | | | descriptors from other programs. Kill check_reload_status on wan ip change and restart it. That way openvpn can be killed and restarted, etc. In addition while I am here, we really should restart openvpn after WAN ip changes as well.
* Misc OpenNTPD changes. Do not restart on wan ip changeScott Ullrich2006-10-031-1/+1
|
* Restart msntp on ip changeScott Ullrich2006-10-011-0/+3
|
* Start packages on ip change again, in Holgers case all pacakges are exiting ↵Scott Ullrich2006-10-011-0/+3
| | | | during the ip changeover
* Kill correct processScott Ullrich2006-09-131-1/+1
|
* Correctly deterimine the previous ip address when running under pppoe, as ↵Scott Ullrich2006-09-121-62/+75
| | | | well. Log an error if we cannot deterimine the ip address for any reason.
* Only attempt kill if $helpers is definedScott Ullrich2006-07-211-1/+2
|
* Use friendly awk instead of cut.Scott Ullrich2006-07-211-3/+3
|
* s/$$/$/Scott Ullrich2006-07-211-10/+10
|
* MFC Seths most excellent RRD graphing itemsScott Ullrich2006-03-211-1/+4
|
* Remove \nScott Ullrich2006-03-131-1/+1
|
* Remove \nScott Ullrich2006-03-131-3/+5
|
* Do not alter loopback interface.Scott Ullrich2006-02-151-4/+1
|
* Fix errors:Scott Ullrich2006-02-091-5/+5
| | | | | | | Parse error: syntax error, unexpected ';' in /etc/rc.newwanip on line 52 Parse error: syntax error, unexpected '}' in /etc/rc.newwanip on line 55 Thanks to Trendchiller for allowing me access to his firewall to investigate.
* Killoff old incoming FTP helpersScott Ullrich2006-01-081-0/+8
| | | | Ticket #772
* Try to shave off more time from rc.newwanip. Apparently MPD is STILL being ↵Scott Ullrich2005-11-281-2/+3
| | | | blocked.
* If for some reason we fail to get the wanip, use get_current_wan_address();Scott Ullrich2005-11-251-0/+2
|
* Make sure we are using the friendly interface name.Scott Ullrich2005-11-251-1/+1
| | | | Ticket #702
* @fopen -> fopenScott Ullrich2005-10-301-1/+1
|
* Do not check the old recorded ip, dhclient-script creates the file before ↵Scott Ullrich2005-10-301-12/+0
| | | | running rc.newwanip which will result in the ip never "changing"
* If ['system']['use_old_dyndns'] is set, use the old style ez-ipupdate.Scott Ullrich2005-10-031-1/+3
|
* Include interface in the syslog noticeScott Ullrich2005-09-211-1/+1
|
* Correctly handle multiple WAN's.Scott Ullrich2005-09-211-7/+15
| | | | Pointy-hat-to: GeekGod
* Use filter_configure()Scott Ullrich2005-09-101-4/+1
|
* Use filter_configure()Scott Ullrich2005-09-101-1/+1
|
* Do not flush nat tableScott Ullrich2005-09-101-3/+0
|
* return 0 at end of scriptScott Ullrich2005-09-101-0/+2
|
* Call services_dyndns_configure() after IP changeScott Ullrich2005-09-091-1/+4
|
* Configure filter via sync()Scott Ullrich2005-08-301-1/+1
|
* Do not wait on boot sleep holdsScott Ullrich2005-08-281-5/+0
|
OpenPOWER on IntegriCloud