lwIP - A Lightweight TCP/IP stack - Bugs: bug #43028, IP_MULTICAST_TTL affects unicast...
You are not allowed to post comments on this tracker with your current authentication level.
bug #43028: IP_MULTICAST_TTL affects unicast datagrams
Submitter: | Joel Cunningham <jcunningham> | ||
Submitted: | Tue 19 Aug 2014 07:59:55 PM UTC | ||
Category: | UDP | Severity: | 3 - Normal |
Item Group: | Faulty Behaviour | Status: | Fixed |
Privacy: | Public | Assigned to: | goldsimon |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | 1.4.1 |
Wed 25 Feb 2015 08:59:41 PM UTC, comment #4: |
Simon Goldschmidt <goldsimon> |
Fri 05 Dec 2014 03:00:22 PM UTC, comment #3: In attached patch, I have added a multicast TTL field to the UDP PCB. I chose this because it follows the same path of implementation as IP_MULTICAST_IF and can be conditionally compiled.
|
Joel Cunningham <jcunningham> |
Tue 26 Aug 2014 06:50:49 PM UTC, comment #2: I'm not all that familiar with how often new members get added to the pcb, but is it out of the question to add another u8_t for mcast_ttl guarded by #if LWIP_IGMP. Then when sending datagrams, use the appropriate TTL depending on unicast or multicast destination address
|
Joel Cunningham <jcunningham> |
Wed 20 Aug 2014 07:49:55 PM UTC, comment #1: The report seems correct, but do you have an idea of how to fix? We don't have more than one place to store TTL, so this is a bug I'm tempted to accept for staying lightweight... |
Simon Goldschmidt <goldsimon> |
Tue 19 Aug 2014 07:59:55 PM UTC, original submission:
When setting the IP_MULTICAST_TTL socket option via setsockopt(), all transmitted datagrams from that socket now use the TTL value specified in the setsockopt() call regardless of whether the destination of the datagram is unicast or multicast. My understanding of the socket option is that it should only affect datagrams sent (on that socket) to a multicast group.
|
Joel Cunningham <jcunningham> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2015-02-25 | goldsimon | Status | None | Fixed | |
Assigned to | None | goldsimon | |||
Open/Closed | Open | Closed | |||
2014-12-05 | jcunningham | Attached File | - | Added CORRECT-Fix-IP_MULTICAST_TTL-socket-option.patch, #32602 | |
2014-12-05 | jcunningham | Attached File | - | Added mcast-ip-ttl.patch, #32601 |
Powered by Savane 3.13-d3ae.
Corresponding source code
Fixed, thanks for the patch.