plan9fox/sys
cinap_lenrek 52b773d635 ip/dhcpd: reject bogus requests, handle multiple ether= attributes in ndb, cleanup
unless relay agent (gaddr) is specified, dhcp requests need to
taget a local ip address on the incoming interface or broadcast.

clients might have multiple ethernet interfaces, so we need to
check if any of the ether= attributes in ndb matches. this is
done by passing lookupip() the attribute name and a expected
value and if a match is found, set Info.indb = 1.

remove tohex(), use encodefmt instead. avoid dynamcic allocation.

include interface device in log messages.
2018-08-26 18:36:35 +02:00
..
doc
games/lib
include ape: an implemenation of getitimer setitimer 2018-07-01 18:48:12 -04:00
lib /sys/lib/dist/ndb/common: synchronize root servers and link to root hints source 2018-06-25 22:58:52 +00:00
man mothra(1): fix formatting 2018-08-21 23:09:35 +09:30
src ip/dhcpd: reject bogus requests, handle multiple ether= attributes in ndb, cleanup 2018-08-26 18:36:35 +02:00