buglwIP - A Lightweight TCP/IP stack - Bugs: bug #38714, Missing option and client address...

 
 

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

bug #38714: Missing option and client address in DHCPRELEASE message

Submitted by:  Florent Matignon <fmatignon>
Submitted on:  Fri 12 Apr 2013 09:51:39 AM UTC  
 
Category: DHCPSeverity: 3 - Normal
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: git head

Fri 20 Mar 2015 08:04:12 PM UTC, comment #2:

Fixed, thanks for reporting.

Additionally, the RELEASE message was sent to 0.0.0.0 because the server address was cleared before sending...

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Wed 24 Apr 2013 07:25:24 PM UTC, comment #1:

I wonder why this didn't seem to be a problem, yet. Maybe because "RELEASE" isn't used often? Anyway, here are two lines to support the requested change (from RFC2131):

"If the client used a 'client identifier' when it obtained the lease, it MUST use the same 'client identifier' in the DHCPRELEASE message."

"The client identifies the lease to be released with its 'client identifier', or 'chaddr' and network address in the DHCPRELEASE message."

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Fri 12 Apr 2013 09:51:39 AM UTC, original submission:

According to RFC 2131 "4.4 DHCP client behavior", DHCPRELEASE messages should set ciaddr field to the client's network address and have the Server identifier option field set to the server address (Table 5: Fields and options used by DHCP clients).

lwip actually set the ciaddr field to 0 and the Server identifier option field is missing.

Florent Matignon <fmatignon>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by goldsimon (Posted a comment)
  • -unavailable- added by fmatignon (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 20 Mar 2015 08:04:12 PM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1