buglwIP - A Lightweight TCP/IP stack - Bugs: bug #67011, Reuses client_id if it was used to...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #67011: Reuses client_id if it was used to obtain lease

Submitter:  zmw <zmw12306>
Submitted:  Fri 11 Apr 2025 03:44:31 AM UTC
   
 
Category:  DHCP Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
lwIP version:  git head

Fri 11 Apr 2025 03:44:31 AM UTC, original submission:  

The client may relinquish its lease by sending a DHCPRELEASE message.
It identifies the lease using:
Either 'client identifier' or
'chaddr' and assigned IP address.
If the client used a 'client identifier' when it obtained the lease,
it MUST reuse the same 'client identifier' in the DHCPRELEASE.

However, the code dhcp_release_and_stop:
 - No code adds DHCP_OPTION_CLIENT_ID to the RELEASE message
 - lwIP does not check whether the client used a client identifier when the lease was acquired.
 - lwIP does not reuse any client identifier in the RELEASE message.

zmw <zmw12306>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by zmw12306 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.15-e6e5.
    Corresponding source code