BIND 10 #3340: DHO_HOST_NAME is defined as a string option, b10-dhcp4 treats it as a custom option

BIND 10 Development do-not-reply at isc.org
Wed Feb 19 14:37:35 UTC 2014


#3340: DHO_HOST_NAME is defined as a string option, b10-dhcp4 treats it as a
custom option
-------------------------------------+-------------------------------------
            Reporter:  tmark         |                        Owner:
                Type:  defect        |  UnAssigned
            Priority:  high          |                       Status:
           Component:  dhcp-ddns     |  reviewing
            Keywords:                |                    Milestone:  DHCP-
           Sensitive:  0             |  Kea0.9-alpha
         Sub-Project:  DHCP          |                   Resolution:
Estimated Difficulty:  16            |                 CVSS Scoring:
         Total Hours:  3             |              Defect Severity:  N/A
                                     |  Feature Depending on Ticket:
                                     |          Add Hours to Ticket:  3
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
Changes (by tmark):

 * hours:  2 => 3
 * owner:  tmark => UnAssigned
 * status:  assigned => reviewing
 * totalhours:  0 => 3


Comment:

 Dhcpv4Srv now handles DHO_HOST_NAME as an !OptionString.
 Tested this change by creating and sending a request packet via Scapy:

 {{{
 t = IP(src="0.0.0.0",dst="192.168.1.2")
 t /= UDP(sport=67,dport=67)/BOOTP(chaddr=hw, giaddr="0.0.0.0", xid=1)
 options = [("message-type","request"), ("domain", "boo.com"), ("hostname",
 "toms"), "end"]
 t /=DHCP(options = options)
 send(t, iface="bge0")
 }}}

-- 
Ticket URL: <http://bind10.isc.org/ticket/3340#comment:3>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list