summaryrefslogtreecommitdiffstats
path: root/etc/rc.newwanip
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Add needed includes.Ermal2010-03-191-0/+2
|
* Create resolv.conf whenever a new ip comes in to have it ready for vpn ↵Ermal2010-03-151-9/+8
| | | | reloads. Also restart packages in background.
* Remove legacy code.Ermal Luçi2010-03-091-18/+3
|
* Fix function which should fix default gw handling for dynamic interfaces.Ermal Luçi2009-12-271-1/+1
|
* This is not called only for wan.Ermal Luçi2009-12-221-1/+1
|
* Fix logging statements to not consider this only as called from dhcp.Ermal Luçi2009-12-221-14/+9
|
* More fine grained update of dyndns and dnsupdate.Ermal Luçi2009-12-211-1/+1
|
* Touch up some comments and error messages. Teach dydns_configure to update ↵Ermal Luçi2009-12-111-5/+5
| | | | only one interface.
* fix old_ip detection, clean up white spaceChris Buechler2009-12-071-11/+9
|
* fix typosChris Buechler2009-12-071-1/+1
|
* Decouple filter.inc from functions.inc. There is no need to process filter ↵Scott Ullrich2009-11-211-0/+2
| | | | functions most of the time. Include filter.inc where it is needed
* Rework includes/require. This saves about 4 megabytes.Scott Ullrich2009-11-211-1/+0
| | | | Simplify get_memory(). Tested on mips/i386
* Reinstate dhclient_update_gateway_groups_defaultroute() it was moved to gwlb.incScott Ullrich2009-07-091-1/+2
|
* It looks like half of my commit is missing, comment this function out for a bit.Scott Ullrich2009-06-241-1/+1
|
* Update gateway group gateway IP for dhcp interface wan interfaces.Scott Ullrich2009-03-181-0/+3
|
* Use product_nameScott Ullrich2008-11-101-2/+2
|
* Sync the time on ip change and alert the logsScott Ullrich2008-11-091-2/+6
|
* Try to use where possible filter_configure so upcoming event modifications ↵Ermal Luçi2008-11-081-1/+1
| | | | can be easily integrated.
* * Rename get_current_wan_address to get_interface_ipErmal Luçi2008-10-231-3/+3
| | | | | | * Rename get_real_wan_interface to get_real_interface * Simplify get_interface_ip by using find_interface_ip which should help in speed to since its using caching. Pointed by billm@ * Cleanup some code when passing or remove some unused one.
* * Remove bigpond support from backend.Ermal Luçi2008-10-061-6/+1
| | | | | * Use killbypid instead of sigkillbypid SIGUSR2 is not doing what is expected. * Actually start pppoe/pptp when the routing is called for this.
* * Merge multiple PPPoE/PPTP interfaces from RELENG_1_MULTI_ANYTHINGErmal Luçi2008-07-141-17/+9
| | | | | | | * Much improved rule generation speed * Many bug fixing in general of the interface handling NOTE: this is only half part of the changes the other half will come after
* Remove configure_slbd() from rc.newwanip.Seth Mos2008-07-081-4/+0
| | | | Does relayd need this hook no rc.newwanip?
* 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
|
OpenPOWER on IntegriCloud