[RTEMS Project] #1405: dhcp request includes host name option even if hostname is zero length.

RTEMS trac trac at rtems.org
Sat Nov 22 13:35:39 UTC 2014


#1405: dhcp request includes host name option even if hostname is zero length.
------------------------+---------------------
 Reporter:  timcussins  |       Owner:  norume
     Type:  defect      |      Status:  new
 Priority:  normal      |   Milestone:  4.9.5
Component:  networking  |     Version:  4.9
 Severity:  normal      |  Resolution:
 Keywords:              |
------------------------+---------------------
Changes (by gedare):

 * milestone:  4.10 => 4.9.5


Old description:

> DHCP requests add the hostname option in dhcp_request_req() - this is
> cool, except that the dhcp spec requires that this option has a length >=
> 1 char.
>
> http://www.networksorcery.com/enp/rfc/rfc2132.txt
>
> 3.14. Host Name Option
>
> <snip>
> The code for this option is 12, and its minimum length is 1.
> </snip>
>
> At present, the hostname is added regardless. This appears to trigger a
> bug in a specific Netgear router that causes it's dhcp process to lock
> up.

New description:

 DHCP requests add the hostname option in dhcp_request_req() - this is
 cool, except that the dhcp spec requires that this option has a length >=
 1 char.
 http://www.networksorcery.com/enp/rfc/rfc2132.txt
 3.14. Host Name Option
 <snip>
 The code for this option is 12, and its minimum length is 1.
 </snip>
 At present, the hostname is added regardless. This appears to trigger a
 bug in a specific Netgear router that causes it's dhcp process to lock up.

--

--
Ticket URL: <http://devel.rtems.org/ticket/1405#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list