Project

General

Profile

Bug #4587

snoop misdecodes DHCPv6 DHCPV6_DUID_LL identifiers

Added by Bill Sommerfeld over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
networking
Start date:
2014-02-10
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

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".

History

#1

Updated by Robert Mustacchi over 6 years ago

  • Subject changed from snoop misdecodes DHCPv6 DHCPV6_DUID_LL identifiers. to snoop misdecodes DHCPv6 DHCPV6_DUID_LL identifiers
#2

Updated by Robert Mustacchi over 6 years ago

  • Assignee set to David Höppner
  • % Done changed from 0 to 100
  • Tags deleted (needs-triage)
#3

Updated by Electric Monk over 6 years ago

git commit 484ad3ba6a529a2471a98577d59d8ed49c7dd2c7

Author: David Höppner <0xffea@gmail.com>

4587 snoop misdecodes DHCPv6 DHCPV6_DUID_LL identifiers
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>
Reviewed by: Marcel Telka <marcel@telka.sk>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Robert Mustacchi <rm@joyent.com>

#4

Updated by David Höppner over 6 years ago

  • Status changed from New to Closed

Also available in: Atom PDF