lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #25576] DHCP may set ciaddr to invalid address


From: Jakob Stoklund Olesen
Subject: [lwip-devel] [bug #25576] DHCP may set ciaddr to invalid address
Date: Fri, 13 Feb 2009 10:01:40 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009020911 Ubuntu/8.10 (intrepid) Firefox/3.0.6

URL:
  <http://savannah.nongnu.org/bugs/?25576>

                 Summary: DHCP may set ciaddr to invalid address
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: stoklund
            Submitted on: Fri 13 Feb 2009 11:01:38 AM CET
                Category: IPv4
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: CVS Head

    _______________________________________________________

Details:

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.





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?25576>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]