Bug 2352860

Summary: socat 1.8.0.0 Fedora 41/42 ipv6-join-group does nothing
Product: [Fedora] Fedora Reporter: H.Janssen <hmmsjan>
Component: socatAssignee: Paul Wouters <paul.wouters>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 42CC: fhrdina, mosvald, paul.wouters
Target Milestone: ---Keywords: Desktop
Target Release: ---Flags: fedora-admin-xmlrpc: mirror+
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: socat-1.8.0.3-1.fc43 socat-1.8.0.3-1.fc42 socat-1.8.0.3-1.fc41 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-08-06 13:16:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.