summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2000-07-21 00:33:53 +0000
committerbeck <beck@openbsd.org>2000-07-21 00:33:53 +0000
commit6f2840a99cbca5ec1471c2615c6023e2ab572dea (patch)
tree1c1c8d47424ea97e0658bb089893a03819edb547 /lib
parentCAST-128 keys are 40-128 bits long (not 40-160) (diff)
downloadwireguard-openbsd-6f2840a99cbca5ec1471c2615c6023e2ab572dea.tar.xz
wireguard-openbsd-6f2840a99cbca5ec1471c2615c6023e2ab572dea.zip
Deal with a bunch of dhcp issues, ok fries@:
- 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.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions