Bug 2352860 - socat 1.8.0.0 Fedora 41/42 ipv6-join-group does nothing
Summary: socat 1.8.0.0 Fedora 41/42 ipv6-join-group does nothing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: socat
Version: 42
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Paul Wouters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-17 07:40 UTC by H.Janssen
Modified: 2025-08-22 02:11 UTC (History)
3 users (show)

Fixed In Version: socat-1.8.0.3-1.fc43 socat-1.8.0.3-1.fc42 socat-1.8.0.3-1.fc41
Clone Of:
Environment:
Last Closed: 2025-08-06 13:16:21 UTC
Type: ---
Embargoed:
fedora-admin-xmlrpc: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-1517 0 None None None 2025-03-17 07:40:58 UTC

Description H.Janssen 2025-03-17 07:40:35 UTC
In The actual Fedora 42 1.8.0.0 version, ipv6-join-group does nothing.
This is fixed in 1.8.0.3 upstream and works.


Reproducible: Always

Steps to Reproduce:
1.socat -dddd  UDP6-RECVFROM:51820,ipv6-join-group=[ff02::102]:bridge0,fork EXEC:hostname
2.Expect ff02:102 in "ip -6 maddr show"
3.
Actual Results:  
Nothing, the -dddd option shows that ipv6-join-group is interpreted but does nothing. 

Expected Results:  
With 1.8.0.3:

ip -6 maddr | grep -B 1 ff02::102
5:	bridge0
	inet6 ff02::102

Also MLD is seen with wireshark and multicast works. 

Building in F41 and F42 is no problem, only some tests fail
Failed tests in 1.8.0.3 Fedora 41:
 
FAILED:  219 304 453 492 504 590 591 592 593

Remarkable is: 
test 216 UDP6MULTICAST_UNIDIR: UDP/IPv6 multicast... IPv6 multicasting does not work

but in this test the interface where the multicast should go to is not specified,
which is as far I know required. Adding interface removes the problem.

Comment 1 H.Janssen 2025-03-17 08:16:58 UTC
diff test.sh test1.sh
8758c8758
< elif ! echo |$SOCAT -u -t 0.1 - UDP6-SENDTO:[ff02::1]:12002 >/dev/null 2>&1; then
---
> elif ! echo |$SOCAT -u -t 0.1 - UDP6-SENDTO:[ff02::1]:12002,so-bindtodevice=$MCINTERFACE >/dev/null 2>&1; then
8771c8771
< CMD2="$TRACE $SOCAT -u $opts - UDP6-SENDTO:[ff02::2]:$ts1p"
---
> CMD2="$TRACE $SOCAT -u $opts - UDP6-SENDTO:[ff02::2]:$ts1p,so-bindtodevice=$if1"

Changed into test1.sh, and after opening port in firewall:

test 216 UDP6MULTICAST_UNIDIR: UDP/IPv6 multicast... OK

Comment 2 Fedora Update System 2025-08-06 12:24:55 UTC
FEDORA-2025-0d54679581 (socat-1.8.0.3-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-0d54679581

Comment 3 Fedora Update System 2025-08-06 13:16:21 UTC
FEDORA-2025-0d54679581 (socat-1.8.0.3-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2025-08-06 16:27:10 UTC
FEDORA-2025-33885cfff8 (socat-1.8.0.3-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-33885cfff8

Comment 5 Fedora Update System 2025-08-06 16:28:31 UTC
FEDORA-2025-4f0d6d3522 (socat-1.8.0.3-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-4f0d6d3522

Comment 6 Fedora Update System 2025-08-07 01:30:45 UTC
FEDORA-2025-33885cfff8 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-33885cfff8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-33885cfff8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2025-08-07 02:10:58 UTC
FEDORA-2025-4f0d6d3522 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-4f0d6d3522`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-4f0d6d3522

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2025-08-22 02:08:31 UTC
FEDORA-2025-33885cfff8 (socat-1.8.0.3-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2025-08-22 02:11:23 UTC
FEDORA-2025-4f0d6d3522 (socat-1.8.0.3-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.