summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcp
AgeCommit message (Collapse)Author
2002-06-18fix file descriptor leak.Jun-ichiro itojun Hagino
http://marc.theaimsgroup.com/?l=openbsd-tech&m=102125850815351&w=2 From: Gregory Steuck <greg@nest.cx>
2002-06-18format string audit. From: Gregory Steuck <greg@nest.cx>Jun-ichiro itojun Hagino
2002-06-17typo. From: "R. Lewczuk" <rafal.lewczuk@pronet.pl>Jun-ichiro itojun Hagino
2002-06-17format string fix. From: Gregory Steuck <greg@nest.cx>Jun-ichiro itojun Hagino
2002-06-11Remove \n from warn(3). ok deraadt@Thomas Nordin
2002-06-10more sockaddr initializations.Jun-ichiro itojun Hagino
2002-06-09optimize build time. based on PR 2715Jun-ichiro itojun Hagino
2002-06-02clear sockaddr_in before useTheo de Raadt
2002-06-02strlcpyTheo de Raadt
2002-05-30typo; moritz@jodeit.orgTheo de Raadt
2002-05-07spelling; svs@ropnet.ruTheo de Raadt
2002-05-06syslog() paranoia; never pass in a non-const buffer w/o using "%s"Todd C. Miller
2002-03-25make docs match reality - we don't support hooks in dhclient-scriptBob Beck
2002-03-052nd part to make dhcpd work on sparc64:Jason Wright
remove use of SIOCGIFCONF and use getifaddrs()/freeifaddrs() instead
2002-02-28no, that error message was bad.Bob Beck
2002-02-28Some new servers return the hostname as type XBob Beck
this ensures we check against the right thing and don't reject leases when we shouldn't.
2002-02-17fix LP64 bug; ura@hiru.aoba.yokohama.jpTheo de Raadt
2002-02-06Don't pass long*'s to ioctl's expecting int*'s (part 1 of a 2 part fix forJason Wright
sparc64 dhcpd)
2001-10-08force alignment, makes dhcp work on alpha'sEric Jackson
from netbsd. deraadt@ Ok.
2001-10-08Link order tweak so vax crunches happily.Hugh Graham
2001-10-01change broken urlJakob Schlyter
2001-09-11sparc64 has 64 bit pointers, tooJason Wright
2001-08-28fix a segfault occuring in dhclient when the server specifies his name.Matthieu Herrb
ok beck@
2001-08-26Fix typo: 'On after defining ...' -> 'After defining ...'Kenneth R Westerback
2001-08-26Fix two typos that had the effect that ethernet addresses where always loggedMatthieu Herrb
as <null> and that hostname lookups didn't work, forcing people to use IP adresses instead of names. ok krw@
2001-08-18be careful with snprintf/strlcpy - account for cases where theyBob Beck
can return values bigger than the length specified.
2001-07-04check for nul bytes on the end of an option buffer, since windows 2000Bob Beck
erroneously puts them into hostname and the like returned by a dhcp server.
2001-07-03ENODEV -> EOPNOTSUPP to make this work. beck@ ok.Tobias Weingartner
2001-06-27don't die if IPV6 isn't there, so that this will work even withBob Beck
kernels without IPV6 support.
2001-06-25fix nasty little bug in the identifaction of dead interfaces - make sureBob Beck
we only care about stuff associated with an interface.
2001-06-24Old M of mine, uncovered by the recent dhcpd update: Bypass IPsec in allNiklas Hallqvist
DHCP traffic.
2001-06-24bye byeBob Beck
2001-06-24bye byeBob Beck
2001-06-24dhcp 2.0pl5 merge/cleanup/deadcode slashing. still needs more eyes on thisBob Beck
but appears to work better than what's been in-tree before for dealing with stupid dhcp servers.
2001-06-04Chop off remainder of string, so we don't get mangled options.Angelos D. Keromytis
2001-04-25After tree lock, undo a bullshit change that was obviously NOT tested.Theo de Raadt
Come on guys! Will you ever learn to not put radical untested shit into the source tree in the last few weeks before a release? A few of you do this time after time!
2001-04-10Allow unnatural behavior.Chris Cappuccio
Otherwise, some dhcp clients are not able to get a lease at all... ok beck@
2001-02-23cleanup after vacationing hippies and make dhclient create theBob Beck
dhclient.leases file if it doesn't exist, so that install floppies work again, thanks Brian Kifiak <bk@rt.fm>
2001-01-14Compute UDP checksum, PR 1621 (matthieu.herrb@wanadoo.fr)Angelos D. Keromytis
2001-01-06Commit 1.6 was just plain wrong on two counts; as a result, it causedAngelos D. Keromytis
dhclient to complain about options.
2001-01-06Also protect write_client_lease() in bind_lease()Angelos D. Keromytis
2001-01-06Lock the leases file, to protect against multiple instances ofAngelos 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-30setockopt(SO_REUSEPORT), so multiple dhclients work, PR 1391Angelos D. Keromytis
2000-12-29If no LEASE_TIME was received from the server, use theAngelos 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-11-10seperate -> separate, okay aaron@Niels Provos
2000-10-30accept unknown options in leases by default; beckTheo de Raadt
2000-10-26Close 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-20Fix various typos; spotted by gluk@ptci.ru.Aaron Campbell
2000-10-18this was overlooked in the last commit. ok beck@.Todd T. Fries