[Top][All Lists]

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

[lwip-devel] [bug #53301] UDP Broadcast reception not interface-specific

From: Michael Steinberg
Subject: [lwip-devel] [bug #53301] UDP Broadcast reception not interface-specific
Date: Thu, 8 Mar 2018 03:28:31 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0


                 Summary: UDP Broadcast reception not interface-specific
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: michsteinb
            Submitted on: Thu 08 Mar 2018 08:28:30 AM UTC
                Category: UDP
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
            lwIP version: 2.0.3



Following setup (using RAW API):
2 Interfaces bound to IP1 and IP2 respectively.
2 UDP PCBs bound to IP1 and IP2 respectively (same port), but not "connected";
broadcast option set for both.

The PCB created last receives all broadcasts on the configured port, even
though they may have arrived on the interface with the matching IP of the
other PCB.

Depending on the design/specification this might be a bug or a limitation.

Possible relief:
Priorize PCBs bound to a specific IP address over ones bound to ipaddrany when
determining the destination PCB upon UDP broadcast reception and have them
match the configured interface address.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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