snoop misdecodes DHCPv6 DHCPV6_DUID_LL identifiers
I'm participating in the comcast business class ipv6 trial.
the dhcpv6 server in the router they gave me sends a server identifier that snoop decodes as:
DHCPv6: Option Code = 2 (Server Identifier)
DHCPv6: DUID Type = 3 (Link-layer Address)
DHCPv6: Hardware Type = 1 (Amateur Radio AX.25)
DHCPv6: Link Layer Address = 20:e5:2a:b8:0e:67
AX.25? wait.. what?
the bug appears to be in cmd/cmd-inet/usr.sbin/snoop/snoop_dhcpv6.c::show_options() - it's passing "type" to arp_htype, when the correct value to pass appears to be "val16".
Updated by Electric Monk about 6 years ago
Author: David Höppner <firstname.lastname@example.org> 4587 snoop misdecodes DHCPv6 DHCPV6_DUID_LL identifiers Reviewed by: Sebastien Roy <email@example.com> Reviewed by: Marcel Telka <firstname.lastname@example.org> Reviewed by: Dan McDonald <email@example.com> Approved by: Robert Mustacchi <firstname.lastname@example.org>