buglwIP - A Lightweight TCP/IP stack - Bugs: bug #25576, DHCP may set ciaddr to invalid...

 
 

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

bug #25576: DHCP may set ciaddr to invalid address

Submitted by:  Jakob Stoklund Olesen <stoklund>
Submitted on:  Fri 13 Feb 2009 10:01:38 AM UTC  
 
Category: IPv4Severity: 3 - Normal
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: CVS Head

Fri 01 May 2009 12:16:02 PM UTC, comment #1:

Already fixed when integrating patch #6721 (dhcp.c v1.93)

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Fri 13 Feb 2009 10:01:38 AM UTC, original submission:

dhcp_create_request sets ciaddr to netif->if_addr.addr. When using AutoIP, ciaddr may thus contain the AutoIP addr and not 0.0.0.0 as the current code assumes.

According to RFC 2131 ciaddr MUST NOT be set unless in the BOUND, RENEWING, or REBINDING state.

My DHCP server does not reply to requests with a wrong ciaddr field, so once an AutoIP address has been chosen DHCP no longer works.

Patch #6721 fixes this bug.

Jakob Stoklund Olesen <stoklund>
Project Member

 

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 stoklund (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 01 May 2009 12:16:02 PM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1