Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid reseting firewall hostname by WAN DHCP. It should fix #3746 | Renato Botelho | 2014-07-07 | 1 | -2/+3 |
| | |||||
* | Fix #3700 and other syntax issues: | Renato Botelho | 2014-06-10 | 1 | -15/+15 |
| | | | | | | | | | - Remove -G parameter from pfctl since it doesn't exist anymore - Initialize $old_router - Fix sh syntax on variable assign, it couldn't have space before = - Simplify logic - Avoid flush states twice, if it was done on IP change, don't do it again if router also has changed | ||||
* | Remove unused ppp-script | Ermal | 2014-03-28 | 1 | -19/+0 |
| | |||||
* | Whitespace fixes | Ermal | 2013-08-01 | 1 | -4/+4 |
| | |||||
* | Set the interface as first here to properly be able to identify it after in ↵ | Ermal | 2013-08-01 | 1 | -0/+1 |
| | | | | php code. Ticket #2495 | ||||
* | Tune up a bit dhclient-script and call the kill state command only once its ↵ | Ermal | 2013-03-07 | 1 | -1/+1 |
| | | | | enough | ||||
* | Ticket #1629 Another round of fixes related to state clearing | Ermal | 2013-02-12 | 1 | -4/+2 |
| | |||||
* | Use the better -Fs modifies to pf to kill the states by interface. Also kill ↵ | Ermal | 2013-01-31 | 1 | -0/+1 |
| | | | | both sides on an interface when -k needs to be used | ||||
* | pfctl -b is gone just use std tools of pfctl | Ermal | 2013-01-30 | 1 | -1/+1 |
| | |||||
* | The ISC client was far worse then the WIDE client was, back to plan A | smos | 2013-01-05 | 1 | -244/+0 |
| | | | | | | | | | | Revert "Merge changes required for using the ISC dhclient in pfSense with prefix delegation. This should hopefully be a bit more reliable in the long run." This reverts commit 651018775c78e38045966825b920b641a0302b43. Conflicts: etc/inc/interfaces.inc | ||||
* | 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 |