Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
|
|
which creates a nice denial of service when people use static addresses
in the dhcp range. - instead abandon the address only for the default lease
time so that it may be re-used afterwards. Tested and committed with
aaron and jason while drinking beer and wearing balloons on my head
in the bar at the USENIX party.
|
|
patch to deal with machines with many interfaces, myself, I have 256 loopbacks
on my laptop.
|
|
|
|
|
|
|
|
|
|
|