[kea-dev] Proposed design for DHCP4o6 in Kea
Francis Dupont
fdupont at isc.org
Fri Aug 21 10:36:33 UTC 2015
Another important point: ISC DHCP uses datagram (UDP) sockets so
messages are atomically sent and *received*. The command socket is
a stream which BTW makes the whole feature a bit sensitive to partial
commands (e.g., either the parser can block waiting a missing closing
brace, or the parser fails if a command is fragmented at the transport
level).
Regards
Francis Dupont <fdupont at isc.org>
PS: I had a long time ago a nasty bug with exactly this issue: an Unix
socket which was a SOCK_STREAM when it must be in fact a SOCK_DGRAM.
So I can confirm it can become a critical point and it is pretty hard
to debug...
More information about the kea-dev
mailing list