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 over 6 years ago
Author: David Höppner <email@example.com> 4587 snoop misdecodes DHCPv6 DHCPV6_DUID_LL identifiers Reviewed by: Sebastien Roy <firstname.lastname@example.org> Reviewed by: Marcel Telka <email@example.com> Reviewed by: Dan McDonald <firstname.lastname@example.org> Approved by: Robert Mustacchi <email@example.com>