Bug 13443 - Scope 1 in multicast addresses in IPV6 should be node local
Summary: Scope 1 in multicast addresses in IPV6 should be node local
Status: CLOSED OBSOLETE
Alias: None
Product: Networking
Classification: Unclassified
Component: IPV6 (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Hideaki YOSHIFUJI
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-03 16:06 UTC by Aviad Yehezkel
Modified: 2012-06-08 11:34 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.27
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Aviad Yehezkel 2009-06-03 16:06:28 UTC
I think scope 1 in multicast addresses in IPV6 should be node local (according to all the documentation + rfc I found on the web) and therefore pkt's with such destination address should not go on the wire.
When I try to send a udp pkt with sock_dgram to such ipv6 address with scope 1 I see the pkt is going on the wire and I can catch it on the other side by joining this multicast address.
Comment 1 Andrew Morton 2009-06-03 21:40:33 UTC
(switched to email.  Please respond via emailed reply-to-all, not via the
bugzilla web interface).

On Wed, 3 Jun 2009 16:06:29 GMT
bugzilla-daemon@bugzilla.kernel.org wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=13443
> 
>            Summary: Scope 1 in multicast addresses in IPV6 should be node
>                     local
>            Product: Networking
>            Version: 2.5
>     Kernel Version: 2.6.27
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: IPV6
>         AssignedTo: yoshfuji@linux-ipv6.org
>         ReportedBy: aviad.yehezkel5@gmail.com
>         Regression: No
> 
> 
> I think scope 1 in multicast addresses in IPV6 should be node local
> (according
> to all the documentation + rfc I found on the web) and therefore pkt's with
> such destination address should not go on the wire.
> When I try to send a udp pkt with sock_dgram to such ipv6 address with scope
> 1
> I see the pkt is going on the wire and I can catch it on the other side by
> joining this multicast address.
Comment 2 David S. Miller 2009-06-04 04:37:26 UTC
From: Andrew Morton <akpm@linux-foundation.org>
Date: Wed, 3 Jun 2009 14:40:31 -0700

>> I think scope 1 in multicast addresses in IPV6 should be node local
>> (according
>> to all the documentation + rfc I found on the web) and therefore pkt's with
>> such destination address should not go on the wire.
>> When I try to send a udp pkt with sock_dgram to such ipv6 address with scope
>> 1
>> I see the pkt is going on the wire and I can catch it on the other side by
>> joining this multicast address.

It looks like we need an addr_type and device check in ip6_output().

But in my opinion this is a pretty bogus requirement.  It's so easy
for things like netfilter, the packet scheduler classifier, or
other entities to get the packet to be rewritten from loopback
to an externally visible interface.

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