summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcp/common/dispatch.c
AgeCommit message (Collapse)Author
2004-04-28It is a big pleasure for me to remove this highe pile of gunk from the tree.Henning Brauer
dhclient, dhcrelay and dhcpd have been factored out and cleaned up big time, dhcpd and dhcrelay chroot itself, drop privileges and lock their bpf descriptors after applyiing read/write filters now, and this pile of ISC code with it's lovely char ServerName; /* Name of Server */ constructs is obsolete. theo ok, I owe you some beers for this pleasure
2004-01-26no more SIOCGIFCONF any more here eitherHenning Brauer
ok deraadt@
2004-01-11listen to the routing socket. if anyone messes with our interface byTheo de Raadt
taking it down, or deleting or adding an address, then we attempt to cleanup and exit. ok vincent mcbride, wow from hin
2003-01-30when an interface is no longer valid, remove it from the protocol listTed Unangst
ok deraadt@ millert@
2002-03-052nd part to make dhcpd work on sparc64:Jason Wright
remove use of SIOCGIFCONF and use getifaddrs()/freeifaddrs() instead
2001-10-08force alignment, makes dhcp work on alpha'sEric Jackson
from netbsd. deraadt@ Ok.
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-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-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-07-21Deal 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-02-09I need to get rid of local stuff of my tree. Here is an oldNiklas Hallqvist
patch to deal with machines with many interfaces, myself, I have 256 loopbacks on my laptop.
1998-08-18ISC dhcp, needs security audit for sureTheo de Raadt