From: Ignacy Gawedzki <ig@lri.fr>
To: linux-kernel@vger.kernel.org
Cc: USAGI users <usagi-users@linux-ipv6.org>
Subject: IPv6 multicast in 2.4.25 broken?
Date: Wed, 24 Mar 2004 19:52:43 +0100 [thread overview]
Message-ID: <20040324185243.GB27409@zenon.mine.nu> (raw)
Hi,
It seems that simple multicast support in IPv6 has ceased working
starting at kernel version 2.4.25-pre4. More specifically, receiving
multicast packets (those with destination address ff05::1 or ff02::1) is
broken (read: sending is okay). The same binary run on kernels 2.4.24
and earlier works with no problem.
I tried as many combinations of USAGI patches and kernel versions as I
could, but cannot figure the exact source of the problem. I did not
inspect the diffs with enough attention, though.
Another funny thing is that the changelog for version 2.4.25-pre4
doesn't mention any change to IPv6 code.
Did anyone have similar experience and or suggestions?
I have not subscribed to the linux-kernel list, because of its high
traffic, so please CC me the replies.
Thanks,
Ignacy
PS: The detailed way in which I prepare the socket is the following:
Open a UDP socket in IPv6 protocol family.
Bind it to network interface using SO_BINDTODEVICE.
Set the multicast network interface using IPV6_MULTICAST_IF.
Bind it to the network interface's address (which is set manually to
fec0::1).
Set the multicast hops with IPV6_MULTICAST_HOPS to 1.
Set the multicast membership to ff02::1 (or ff05::1) using
IPV6_ADD_MEMBERSHIP.
Unset the multicast loop using IPV6_MULTICAST_LOOP.
Note: the same socket is used to send and receive multicast packets.
--
To err is human, to moo bovine.
next reply other threads:[~2004-03-24 18:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-24 18:52 Ignacy Gawedzki [this message]
[not found] ` <OFE1BE522F.02DB03E7-ON88256E67.00767AD5-88256E67.0077576D@us.ibm.com>
2004-03-31 8:40 ` (usagi-users 02870) " Ignacy Gawedzki
[not found] ` <20040331220129.d245fc9%hibi665@oki.com>
2004-03-31 15:57 ` (usagi-users 02872) " Ignacy Gawedzki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040324185243.GB27409@zenon.mine.nu \
--to=ig@lri.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=usagi-users@linux-ipv6.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®