[Dnsmasq-discuss] string dhcp options

Matthias Lay matthias.lay at securepoint.de
Tue Jun 11 10:46:40 UTC 2024


Hi,

I noticed there is a ending zero in dhcp options replys. Just wanted to
check if this is intended.

my test was


dhcp-option=tag:2,option:66,"fake2quoted"

the reply to a request looks like that in tcpdump

 TFTP (66), length 12: "fake2quoted^@"

it includes an \x00 at the end of the string and in the length of the
option. Looks suspicious to me.

Dnsmasq version 2.90  Copyright (c) 2000-2024 Simon Kelley
Compile time options: IPv6 GNU-getopt no-DBus no-UBus no-i18n no-IDN
DHCP DHCPv6 no-Lua TFTP no-conntrack ipset no-nftset auth no-cryptohash
no-DNSSEC loop-detect inotify dumpfile


Greetz Matze



More information about the Dnsmasq-discuss mailing list