buglwIP - A Lightweight TCP/IP stack - Bugs: bug #56695, Multicast socket options missing...

 
 

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

bug #56695: Multicast socket options missing for IPv6

Submitter:  Daniel Pauli <dapaulid>
Submitted:  Tue 30 Jul 2019 11:37:45 AM UTC
Votes: 50
 
Category:  IPv6 Severity:  3 - Normal
Item Group:  Feature Request Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
lwIP version:  git head

Thu 25 Nov 2021 09:34:11 PM UTC, comment #5: 

I have added a patch that implements the requested options. In addition, these options as well as their IPv4 counterparts are now also supported on RAW sockets.

So the patch implements:
o IP_MULTICAST_TTL for RAW IPv4 sockets
o IP_MULTICAST_IF for RAW IPv4 sockets
o IP_MULTICAST_LOOP for RAW IPv4 sockets
o IPV6_MULTICAST_HOPS for UDP and RAW IPv6 sockets according to RFC3493 section 5.2
o IPV6_MULTICAST_IF for UDP and RAW IPv6 sockets according to RFC3493 section 5.2
o IPV6_MULTICAST_LOOP for UDP and RAW IPv6 sockets according to RFC3493 section 5.2


(file #52343)

Eric Koldeweij <eric_koldeweij>
Wed 13 Nov 2019 07:19:47 PM UTC, comment #4: 

+1 for requesting these options be exposed in the sockets API in addition to core. We've got threaded apps that are using the sockets API and my understanding is that there is not a thread-safe workaround to use the core API in this case.

Sam Kearney <skearney>
Thu 01 Aug 2019 06:45:17 PM UTC, comment #3: 

Right. Someone needs to clean up those patches into smaller ones that are more easily reviewable... I'd do it if I found the time, but I failed to do that in the last months... :-(

Simon Goldschmidt <goldsimon>
Group administrator
Tue 30 Jul 2019 01:55:14 PM UTC, comment #2: 

You're right, after some more searching I found this patch: https://savannah.nongnu.org/patch/?func=detailitem&item_id=9257

From my understanding, core support is implemented, but the options are not yet available in the socket API.

Daniel Pauli <dapaulid>
Tue 30 Jul 2019 01:21:17 PM UTC, comment #1: 

Isn't this a duplicate? I think we already have a bug, task or patch for this.

Simon Goldschmidt <goldsimon>
Group administrator
Tue 30 Jul 2019 11:37:45 AM UTC, original submission:  

The following socket options related to multicast for IPv6 seem to be missing:

IPV6_MULTICAST_LOOP
IPV6_MULTICAST_HOPS
IPV6_MULTICAST_IF

(see http://man7.org/linux/man-pages/man7/ipv6.7.html)

These options are used by the open62541 library for implementing OPC UA PubSub (see https://open62541.org/).

Daniel Pauli <dapaulid>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #52343:  lwip_sockopt.patch added by eric_koldeweij (25KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by eric_koldeweij (Updated the item)
  • -email is unavailable- added by skearney (Voted in favor of this item)
  • -email is unavailable- added by skearney (Posted a comment)
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by dapaulid (Submitted the item)
  •  

    There are 50 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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-11-25 eric_koldeweij Attached File- Added lwip_sockopt.patch, #52343
    2020-01-03 skearney Carbon-Copy- Added skearney

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code