summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Actaully put the route adding under the conditional logic checking. Ticket ↵Ermal2011-05-061-1/+1
| | | | #1408.
* Send route delete message to blackhole.Ermal2011-04-291-1/+1
|
* Ticket #1408. Do not add static routes for automatically learned dns servers ↵Ermal2011-04-291-1/+4
| | | | from dhcp if Allow override is not selected.
* Actually correct check meaning.Ermal2011-04-221-1/+1
|
* Do not an ip of all 1s as a gateways since it cannot be pinged.Ermal2011-04-221-1/+5
|
* Revert changes to dhclient-script. Appears to have broken DNS servers from ↵jim-p2011-04-091-4/+3
| | | | DHCP. Ticket #1428
* use same egrep statement for both checksScott Ullrich2011-04-071-1/+1
|
* Use full path to egrepScott Ullrich2011-04-071-1/+1
|
* Use full path to egrepScott Ullrich2011-04-071-1/+1
|
* Use some Seth egrep foo to protect from compromised DHCP servers. ↵Scott Ullrich2011-04-071-3/+4
| | | | CVE-2011-0997
* If the supplied gateway is all ones(255.255.255.255) do not report it as a ↵Ermal2011-04-061-1/+4
| | | | gateway since its useless.
* Handle the case on some special configs with a gateway of all 1's otherwise ↵Ermal2011-03-071-1/+1
| | | | strange thing happens.
* Fix an issue with dhcp parameters not specifying a defaultgw and the dhcp is ↵Ermal2011-02-091-1/+2
| | | | the only interface with gateway as a result the box is left wihtout a default gw. Some sporadic reports have been done on this.
* Actually pass the right parameter!Ermal2010-12-101-1/+1
|
* Actually we do not use this code at all in pfSense.Ermal2010-12-081-6/+6
|
* Do not overrite the default gateway if already found.Ermal2010-12-081-4/+6
|
* Modify dhclient-script to call rc.newwanip after all the changes to system ↵Ermal2010-12-061-10/+8
| | | | have been done so races and no stale information can be extracted from the later.
* Fixes #976. Bring in the piecies for classless routing from FreeBSD 8.1 script.Ermal2010-10-271-0/+59
|
* Revert "comment out line that's hanging dhclient for now"Ermal2010-09-221-1/+1
| | | | This reverts commit 53a37b66d343682700ff49d595b3ea1310ec320f.
* comment out line that's hanging dhclient for nowChris Buechler2010-09-221-1/+1
|
* Add as a search domain the domains suggested by dhcp.Ermal2010-09-161-1/+1
|
* Fix typo.Ermal2010-09-161-1/+1
|
* Ticket #876. Actually the event to send is interface newip $ip rather ↵Ermal2010-09-151-10/+4
| | | | interface configure! also use the fact that now we have a /tmp/$if_defaultgw rather than relying in route get default which might block.
* Reload dns and interface properly on dynamic types.Ermal2010-09-151-9/+9
|
* Use the new events mechanisms to dispatch events.Ermal2010-09-071-5/+2
|
* Do not use netstat to fetch default gateway interface but other faster ↵Ermal2010-06-011-3/+2
| | | | commands to avoid problems on large interface setups.
* Fixes #622. Add a new file status for signaling default gateway under /tmp. ↵Ermal2010-05-311-17/+9
| | | | dhclient script will check for this file to define if the interface needs a default gateway or not from its given routes.
* Use full path and use variables to be consistent.Ermal2010-05-311-4/+4
|
* Fix static route for DNS from DHCP servers.jim-p2010-05-131-1/+1
|
* Resolve problems with dns server setup when allow override is set. Also add ↵Ermal2010-03-231-2/+0
| | | | static routes for all nameservers to be friendly with multiwan.
* When removing a package delete its underlying FreeBSD pacakges.Ermal Luçi2010-02-031-0/+2
| | | | | | | | Correct checks for avioding as much as possible errors. Simplify logic in some cases. Remove package include files when uninstalling packages. NOTE: Some work is needed to have more error reporting. Espescially when failing to retrieve files or add them locally.
* Simplify recording of gateway coming form ppp configuration.Ermal Luçi2010-01-281-2/+2
|
* Do not break rc.newwanip by putting more information than requested in the file.Ermal Luçi2009-12-211-4/+4
|
* use correct gateway IP for PPPChris Buechler2009-12-211-1/+1
|
* Handle secondary DNS correctly for 3GScott Ullrich2009-10-261-2/+2
|
* Switch over to handling DNS from ppp.linkup allowing mulitple 3G cards to ↵Scott Ullrich2009-10-261-0/+16
| | | | coexist on the same box
* Add ppp endpoints IP as gatewayScott Ullrich2009-10-261-1/+1
|
* Add and use ppp-scriptScott Ullrich2009-10-261-0/+3
|
* Remove ftp-proxy/pftpx/ftpsesame references we handle all of this in kernel ↵Ermal Luçi2009-03-161-3/+0
| | | | now.(yay!)
* Correctly set old wan ipScott Ullrich2008-11-091-3/+4
|
* Set /tmp/rc.newwanip_oldipScott Ullrich2008-11-091-0/+1
|
* Remove bogus commands that adds a route to the new address pointing to dhcp.Ermal Luçi2008-08-121-1/+1
| | | | | | It seems uncertain either to be a typo of $new_ip_address and $old_ip_address my test show that either cases it does more harm than good. For now remove it altogether since it causes strange issues and makes ipsec tunnels not work on the interface with the new address.
* DHCP Renew does "too much" Ticket #1260Scott Ullrich2007-02-231-20/+27
|
* Nuke old and unused code which was commented out.Scott Ullrich2007-02-201-8/+0
|
* Bring back hostname option since it is not leading to the short write errorsScott Ullrich2007-02-201-9/+9
|
* Sprinkle debugging statements throughout to try and obtain a read of where ↵Scott Ullrich2007-02-201-6/+23
| | | | the dhclient process is going south.
* Somehow the HOSTNAME code will lead to short write errors under unusual ↵Scott Ullrich2007-02-191-9/+9
| | | | renew load. Comment out this code until we can figure out why this is happening. Found-by: GAndreone@imapro.com
* Do not set an exit status in dhclient-script.Scott Ullrich2006-11-301-2/+0
| | | | | | | | | From a post that I dug up from Brooks: Why on earth are you exiting with $1 as the status? This is almost certainly the problem. You should not exit from dhclient-exit-hooks at all since it occurs in the context of dhclient-script and this exit values is entirely bogus.
* back out recent change.Scott Ullrich2006-10-281-5/+6
|
* Woops, log an error to system logs when we restart check_reload_status from ↵Scott Ullrich2006-10-231-1/+1
| | | | dhclient-script instead of simply echoing out where someone may not even see it.
OpenPOWER on IntegriCloud