Age | Commit message (Collapse) | Author |
|
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
|
|
ok deraadt@
|
|
taking it down, or deleting or adding an address, then we attempt to
cleanup and exit. ok vincent mcbride, wow from hin
|
|
ok deraadt@ millert@
|
|
remove use of SIOCGIFCONF and use getifaddrs()/freeifaddrs() instead
|
|
from netbsd.
deraadt@ Ok.
|
|
we only care about stuff associated with an interface.
|
|
but appears to work better than what's been in-tree before for dealing with
stupid dhcp servers.
|
|
roll a function for writing out pidfile's instead of rolling it for each
program.
be careful with a few more buffers
|
|
- 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.
|
|
patch to deal with machines with many interfaces, myself, I have 256 loopbacks
on my laptop.
|
|
|