[RTEMS Project] #1405: dhcp request includes host name option even if hostname is zero length.
RTEMS trac
trac at rtems.org
Thu Dec 15 16:51:36 UTC 2022
#1405: dhcp request includes host name option even if hostname is zero length.
----------------------------+----------------------------
Reporter: Tim Cussins | Owner: Needs Funding
Type: defect | Status: assigned
Priority: normal | Milestone: 4.9.5
Component: network/legacy | Version: 4.9
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: |
----------------------------+----------------------------
Changes (by Joel Sherrill):
* owner: Joel Sherrill => Needs Funding
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.
--
Comment:
Reassigning legacy stack issues to Needs Funding.
--
Ticket URL: <http://devel.rtems.org/ticket/1405#comment:7>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list