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

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to