Ticket #10 (closed defect: fixed)

Opened 2 years ago

Last modified 9 months ago

Incorrect DHCP Types list

Reported by: Mike-scapy@nzbox.com Assigned to: pbi
Priority: minor Milestone: mainstream
Component: Scapy Version: 1.0.4
Keywords: DHCP Cc:

Description

Scapy Line 6598     # Revision 1.0.4.83   reads

DHCPTypes = {
		1: "discover",
		2: "offer",
		3: "decline",
		4: "ack",
		5: "nak",
		6: "release",
		7: "inform"
		}

but it should be

DHCPTypes = {
		1: "discover",
		2: "offer",
		3: "request",
		4: "decline",
		5: "ack",
		6: "nak",
		7: "release",
		8: "inform"
		}


Ref the source
 http://www.iana.org/assignments/bootp-dhcp-parameters

see below Line 200
Value   Message Type   	        Reference
-----   ------------   	        ---------
    1   DHCPDISCOVER   	        [RFC2132]
    2   DHCPOFFER               [RFC2132]
    3   DHCPREQUEST             [RFC2132]
    4   DHCPDECLINE             [RFC2132]
    5   DHCPACK                 [RFC2132]
    6   DHCPNAK                 [RFC2132]
    7   DHCPRELEASE             [RFC2132]
    8   DHCPINFORM              [RFC2132]
    9   DHCPFORCERENEW          [RFC3203]
   10   DHCPLEASEQUERY          [RFC4388]
   11   DHCPLEASEUNASSIGNED     [RFC4388]
   12   DHCPLEASEUNKNOWN        [RFC4388]
   13   DHCPLEASEACTIVE         [RFC4388]

Attachments

Change History

10/06/06 17:35:05 changed by pbi

  • status changed from new to closed.
  • resolution set to fixed.

fixed.


Add/Change #10 (Incorrect DHCP Types list)




Change Properties
Action