[Dnsmasq-discuss] string dhcp options

Buck Horn buckhorn at weibsvolk.org
Tue Jun 11 11:51:02 UTC 2024


Hi Matthias,

as far as RFCs are concerned, your observation seems valid.

RFC 951 section 3 (Packet Format) requires the boot file name (as
provided by option dhcp-boot) to be a null terminated string.

RFC 2132 section 9.4 ff.(TFTP server name and Bootfile name) define the
respective parameters as a string of characters.

RFC 2132 section 2 (BOOTP Extension/DHCP Option Field Format) allows
usage of null terminated strings and further obligates clients to be
able to deal with strings regardless if they are null terminated or not.

Kind regards,

     Buck





More information about the Dnsmasq-discuss mailing list