Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-06-10 | Rework script using advanced coding techniques like a case statement, | Kenneth R Westerback | |
factoring out common code to functions, consistant indenting, etc. Should be no semantic changes, just much easier to read, except for ensuring that certain cable companies no longer confuse the issue by supplying name server addresses without a domain name. Either will now result in the creation of an appropriate resolv.conf Inspired by PRs #2969 from Alexander Taler and #3135 from Jan Johansson. Fixes #3135 completely according to Jan. #2969 may have another item to fix. Tested by various, including tech@'ers Jan Johansson, Uwe A. P. Wuerdinger and Jim Rees. Let the flood of enhancements begin now that it can actually be read and understood ... ok deraadt@. | |||
2003-05-29 | Don't reject non-DHCPNAK packets with a yiaddr of 0.0.0.0. There | Todd C. Miller | |
are commonly used dhcp servers (like Comcast in the US) that do this. Turns out later versions of ISC dhcp dropped this check as well. It is better to be liberal in what you accept... deraadt@ OK | |||
2003-05-08 | AUTHOR -> AUTHORS in .Sh, as per mdoc template. | Jason McIntyre | |
2003-04-08 | refer to dhclient.leases~ as the client backup file, not dhcpd.leases~ | David Krause | |
from Michael Tannenbaum <miketa@attbi.com> in PR 3184 also add missing part of the sentence ok tedu@ | |||
2003-03-31 | 3com, 3COM -> 3Com | Jason McIntyre | |
2003-03-18 | - expand DBDIR, ETCDIR, RUNDIR to the actual directories to make | Anil Madhavapeddy | |
the man pages easier to read - add dhcp(8) to SEE ALSO in dhcpd(8) - rearrange SEE ALSO in section order as well as alphabetical in dhcpd(8) ok millert@, todd@ | |||
2003-03-18 | ip address -> IP address; | Jason McIntyre | |
rtadvd.conf(5): positve -> positive; ok miod@ | |||
2003-01-23 | typos; | Jason McIntyre | |
ok millert@ | |||
2003-01-17 | seperate[d][ly] -> separate[d][ly]; alan@alanday.com | Theo de Raadt | |
2002-09-06 | socklen_t use; pvalchev ok | Theo de Raadt | |
2002-06-18 | format string audit. From: Gregory Steuck <greg@nest.cx> | Jun-ichiro itojun Hagino | |
2002-06-11 | Remove \n from warn(3). ok deraadt@ | Thomas Nordin | |
2002-06-10 | more sockaddr initializations. | Jun-ichiro itojun Hagino | |
2002-06-09 | optimize build time. based on PR 2715 | Jun-ichiro itojun Hagino | |
2002-05-30 | typo; moritz@jodeit.org | Theo de Raadt | |
2002-03-25 | make docs match reality - we don't support hooks in dhclient-script | Bob Beck | |
2002-02-28 | no, that error message was bad. | Bob Beck | |
2002-02-28 | Some new servers return the hostname as type X | Bob Beck | |
this ensures we check against the right thing and don't reject leases when we shouldn't. | |||
2001-08-28 | fix a segfault occuring in dhclient when the server specifies his name. | Matthieu Herrb | |
ok beck@ | |||
2001-08-26 | Fix typo: 'On after defining ...' -> 'After defining ...' | Kenneth R Westerback | |
2001-08-18 | be careful with snprintf/strlcpy - account for cases where they | Bob Beck | |
can return values bigger than the length specified. | |||
2001-06-24 | Old M of mine, uncovered by the recent dhcpd update: Bypass IPsec in all | Niklas Hallqvist | |
DHCP traffic. | |||
2001-06-24 | dhcp 2.0pl5 merge/cleanup/deadcode slashing. still needs more eyes on this | Bob Beck | |
but appears to work better than what's been in-tree before for dealing with stupid dhcp servers. | |||
2001-06-04 | Chop off remainder of string, so we don't get mangled options. | Angelos D. Keromytis | |
2001-02-23 | cleanup after vacationing hippies and make dhclient create the | Bob Beck | |
dhclient.leases file if it doesn't exist, so that install floppies work again, thanks Brian Kifiak <bk@rt.fm> | |||
2001-01-06 | Commit 1.6 was just plain wrong on two counts; as a result, it caused | Angelos D. Keromytis | |
dhclient to complain about options. | |||
2001-01-06 | Also protect write_client_lease() in bind_lease() | Angelos D. Keromytis | |
2001-01-06 | Lock the leases file, to protect against multiple instances of | Angelos D. Keromytis | |
dhclient running. | |||
2001-01-03 | -Wall cleanup. | Eric Jackson | |
roll a function for writing out pidfile's instead of rolling it for each program. be careful with a few more buffers | |||
2000-12-29 | If no LEASE_TIME was received from the server, use the | Angelos D. Keromytis | |
default_lease_time (12 hours); I'm not entirely certain the fallback is correct, but the RFC does not say what the client should do if no LEASE_TIME is given by the server. Closes PR 1077 | |||
2000-10-30 | accept unknown options in leases by default; beck | Theo de Raadt | |
2000-10-26 | Close pr1295 - Only a DHCPNAK bootreply should have a yiaddr of 0.0.0.0, | Bob Beck | |
this makes sure we ignore bootreplies that aren't NAK's which have a 0 yiaddr. | |||
2000-10-20 | Fix various typos; spotted by gluk@ptci.ru. | Aaron Campbell | |
2000-10-18 | this was overlooked in the last commit. ok beck@. | Todd T. Fries | |
2000-10-18 | due to over agressive quoting, various space separated variables were failing. | Todd T. Fries | |
o remove un-necessary quotes, the source of several reported problems. o remove un-necessary variable assignments (paranoia) o remove un-necessary cases (when var="", $var evaluates to nothing) Ok beck@, testing by beck@. | |||
2000-09-05 | undo security hole peter just commited | Theo de Raadt | |
2000-09-05 | Remove quotes from arguement lists to for loops. | Peter Galbavy | |
This applied to two type of dhcp option, "domain_name_servers" and "routers". This fixes the problem of seeing mutliple nameservers on one nameserver line in resolv.conf. If anyone used multiple routers, then it would fix this too. | |||
2000-08-18 | Fix obviously bad Xref | Niklas Hallqvist | |
2000-07-21 | Deal with a bunch of dhcp issues, ok fries@: | Bob Beck | |
- some minor cleanup (syscall return codes, dead code, use strlcpy, etc) - sanity check dhcp option values recieved by dhclient so that things that should look like a hostname look like a hostname, and things that should look like an ip address look like an ip address, if they don't ignore the lease offer because it's bogus. - Make the dhcp server attempt to ping an address when it recieves a RELEASE from it. If the address answers a ping, ignore the release offer. This helps make spoofing releases to liberate addresses more difficult. | |||
2000-07-03 | arp(8) invocations fixed | Niklas Hallqvist | |
2000-06-25 | safe shell quoting | Dug Song | |
2000-06-25 | pass variables to dhclient-script via a constructed environment, instead of ↵ | Dug Song | |
a temporary shell script | |||
2000-04-29 | fix spec. PR1217 | Eric Jackson | |
2000-04-20 | Document /etc/resolv.conf.tail | Angelos D. Keromytis | |
2000-04-20 | If /etc/resolv.conf.tail exists, append to newly-constructed | Angelos D. Keromytis | |
/etc/resolv.conf | |||
2000-04-12 | Trailing whitespace begone! | Aaron Campbell | |
2000-03-19 | Remove hard sentence breaks. Add $OpenBSD$ tags where appropriate. Some other | Aaron Campbell | |
cleanup along the way. | |||
2000-02-11 | Fix from jonathon.fletcher@pobox.com | Chris Cappuccio | |
Check $new_domain_name_servers not $nameserver | |||
2000-01-31 | Don't update /etc/resolv.conf if no data is returned for DNS servers | Chris Cappuccio | |
or if user removes request domain-name-servers from /etc/dhclient.conf | |||
1999-12-19 | Fix the TIMEOUT case not to dump the shell environment. | Angelos D. Keromytis | |