Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge changes required for using the ISC dhclient in pfSense with prefix ↵ | smos | 2012-10-12 | 1 | -0/+244 |
| | | | | | | | delegation. This should hopefully be a bit more reliable in the long run. The dhclient6-script could be merged with dhclient-script in the future. Still need to cleanup old adresses and prefixes, as well as LAN prefixes when a old prefix dissapears. This needs some thought and clue to strap together. | ||||
* | Some more state killing refinements. | jim-p | 2012-09-27 | 1 | -9/+20 |
| | |||||
* | Remove states before removing the old address, or the file will be gone and ↵ | jim-p | 2012-09-26 | 1 | -2/+2 |
| | | | | the code to kill the states won't ever run. | ||||
* | Try to remove old states when a DHCP IP changes, might be related to ticket ↵ | jim-p | 2012-08-29 | 1 | -0/+24 |
| | | | | #1629 and also "unable to allocate llinfo" messages from states through an old gateway. | ||||
* | Actaully put the route adding under the conditional logic checking. Ticket ↵ | Ermal | 2011-05-06 | 1 | -1/+1 |
| | | | | #1408. | ||||
* | Send route delete message to blackhole. | Ermal | 2011-04-29 | 1 | -1/+1 |
| | |||||
* | Ticket #1408. Do not add static routes for automatically learned dns servers ↵ | Ermal | 2011-04-29 | 1 | -1/+4 |
| | | | | from dhcp if Allow override is not selected. | ||||
* | Actually correct check meaning. | Ermal | 2011-04-22 | 1 | -1/+1 |
| | |||||
* | Do not an ip of all 1s as a gateways since it cannot be pinged. | Ermal | 2011-04-22 | 1 | -1/+5 |
| | |||||
* | Revert changes to dhclient-script. Appears to have broken DNS servers from ↵ | jim-p | 2011-04-09 | 1 | -4/+3 |
| | | | | DHCP. Ticket #1428 | ||||
* | use same egrep statement for both checks | Scott Ullrich | 2011-04-07 | 1 | -1/+1 |
| | |||||
* | Use full path to egrep | Scott Ullrich | 2011-04-07 | 1 | -1/+1 |
| | |||||
* | Use full path to egrep | Scott Ullrich | 2011-04-07 | 1 | -1/+1 |
| | |||||
* | Use some Seth egrep foo to protect from compromised DHCP servers. ↵ | Scott Ullrich | 2011-04-07 | 1 | -3/+4 |
| | | | | CVE-2011-0997 | ||||
* | If the supplied gateway is all ones(255.255.255.255) do not report it as a ↵ | Ermal | 2011-04-06 | 1 | -1/+4 |
| | | | | gateway since its useless. | ||||
* | Handle the case on some special configs with a gateway of all 1's otherwise ↵ | Ermal | 2011-03-07 | 1 | -1/+1 |
| | | | | strange thing happens. | ||||
* | Fix an issue with dhcp parameters not specifying a defaultgw and the dhcp is ↵ | Ermal | 2011-02-09 | 1 | -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! | Ermal | 2010-12-10 | 1 | -1/+1 |
| | |||||
* | Actually we do not use this code at all in pfSense. | Ermal | 2010-12-08 | 1 | -6/+6 |
| | |||||
* | Do not overrite the default gateway if already found. | Ermal | 2010-12-08 | 1 | -4/+6 |
| | |||||
* | Modify dhclient-script to call rc.newwanip after all the changes to system ↵ | Ermal | 2010-12-06 | 1 | -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. | Ermal | 2010-10-27 | 1 | -0/+59 |
| | |||||
* | Revert "comment out line that's hanging dhclient for now" | Ermal | 2010-09-22 | 1 | -1/+1 |
| | | | | This reverts commit 53a37b66d343682700ff49d595b3ea1310ec320f. | ||||
* | comment out line that's hanging dhclient for now | Chris Buechler | 2010-09-22 | 1 | -1/+1 |
| | |||||
* | Add as a search domain the domains suggested by dhcp. | Ermal | 2010-09-16 | 1 | -1/+1 |
| | |||||
* | Fix typo. | Ermal | 2010-09-16 | 1 | -1/+1 |
| | |||||
* | Ticket #876. Actually the event to send is interface newip $ip rather ↵ | Ermal | 2010-09-15 | 1 | -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. | Ermal | 2010-09-15 | 1 | -9/+9 |
| | |||||
* | Use the new events mechanisms to dispatch events. | Ermal | 2010-09-07 | 1 | -5/+2 |
| | |||||
* | Do not use netstat to fetch default gateway interface but other faster ↵ | Ermal | 2010-06-01 | 1 | -3/+2 |
| | | | | commands to avoid problems on large interface setups. | ||||
* | Fixes #622. Add a new file status for signaling default gateway under /tmp. ↵ | Ermal | 2010-05-31 | 1 | -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. | Ermal | 2010-05-31 | 1 | -4/+4 |
| | |||||
* | Fix static route for DNS from DHCP servers. | jim-p | 2010-05-13 | 1 | -1/+1 |
| | |||||
* | Resolve problems with dns server setup when allow override is set. Also add ↵ | Ermal | 2010-03-23 | 1 | -2/+0 |
| | | | | static routes for all nameservers to be friendly with multiwan. | ||||
* | When removing a package delete its underlying FreeBSD pacakges. | Ermal Luçi | 2010-02-03 | 1 | -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çi | 2010-01-28 | 1 | -2/+2 |
| | |||||
* | Do not break rc.newwanip by putting more information than requested in the file. | Ermal Luçi | 2009-12-21 | 1 | -4/+4 |
| | |||||
* | use correct gateway IP for PPP | Chris Buechler | 2009-12-21 | 1 | -1/+1 |
| | |||||
* | Handle secondary DNS correctly for 3G | Scott Ullrich | 2009-10-26 | 1 | -2/+2 |
| | |||||
* | Switch over to handling DNS from ppp.linkup allowing mulitple 3G cards to ↵ | Scott Ullrich | 2009-10-26 | 1 | -0/+16 |
| | | | | coexist on the same box | ||||
* | Add ppp endpoints IP as gateway | Scott Ullrich | 2009-10-26 | 1 | -1/+1 |
| | |||||
* | Add and use ppp-script | Scott Ullrich | 2009-10-26 | 1 | -0/+3 |
| | |||||
* | Remove ftp-proxy/pftpx/ftpsesame references we handle all of this in kernel ↵ | Ermal Luçi | 2009-03-16 | 1 | -3/+0 |
| | | | | now.(yay!) | ||||
* | Correctly set old wan ip | Scott Ullrich | 2008-11-09 | 1 | -3/+4 |
| | |||||
* | Set /tmp/rc.newwanip_oldip | Scott Ullrich | 2008-11-09 | 1 | -0/+1 |
| | |||||
* | Remove bogus commands that adds a route to the new address pointing to dhcp. | Ermal Luçi | 2008-08-12 | 1 | -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 #1260 | Scott Ullrich | 2007-02-23 | 1 | -20/+27 |
| | |||||
* | Nuke old and unused code which was commented out. | Scott Ullrich | 2007-02-20 | 1 | -8/+0 |
| | |||||
* | Bring back hostname option since it is not leading to the short write errors | Scott Ullrich | 2007-02-20 | 1 | -9/+9 |
| | |||||
* | Sprinkle debugging statements throughout to try and obtain a read of where ↵ | Scott Ullrich | 2007-02-20 | 1 | -6/+23 |
| | | | | the dhclient process is going south. |