lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #52704] DHCP and bad OFFER


From: Dirk Ziegelmeier
Subject: [lwip-devel] [bug #52704] DHCP and bad OFFER
Date: Wed, 20 Dec 2017 04:08:46 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0

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

                 Summary: DHCP and bad OFFER
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: dziegel
            Submitted on: Wed 20 Dec 2017 09:08:44 AM UTC
                Category: DHCP
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
            lwIP version: 2.0.3

    _______________________________________________________

Details:

Hello,
 
DHCP implementation seems to have minor bug. If DHCP server sends OFFER
without Server Identifier-field, LwIP stops sending DISCOVER messages (one
fieldbus conformance tester does this).
 
I didn't check RFC what actually should be done in this case, but I think that
it should  at least continue sending DISCOVERY messages.

In code before dhcp.c: dhcp_handle_offer() is called,  DHCP timer is stopped
(dhcp->request_timeout = 0;), then
dhcp_handle_offer() just prints error if it rejects the OFFER.

We are still using 1.4.1 but master seems to have identical code for
dhcp_handle_offer().

br,
Esa Hill




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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