Re: Robustness principle and multicast source address

Alexandre Petrescu <alexandre.petrescu@gmail.com> Fri, 30 November 2018 11:05 UTC

Return-Path: <alexandre.petrescu@gmail.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7C222130DC6 for <ipv6@ietfa.amsl.com>; Fri, 30 Nov 2018 03:05:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.632
X-Spam-Level:
X-Spam-Status: No, score=-2.632 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_MED=-2.3, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4kh9GkB4MZgx for <ipv6@ietfa.amsl.com>; Fri, 30 Nov 2018 03:05:30 -0800 (PST)
Received: from sainfoin-smtp-out.extra.cea.fr (sainfoin-smtp-out.extra.cea.fr [132.167.192.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0379F12D4EC for <ipv6@ietf.org>; Fri, 30 Nov 2018 03:05:29 -0800 (PST)
Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by sainfoin-sys.extra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id wAUB5SBk017116 for <ipv6@ietf.org>; Fri, 30 Nov 2018 12:05:28 +0100
Received: from pisaure.intra.cea.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 27846203A15 for <ipv6@ietf.org>; Fri, 30 Nov 2018 12:05:28 +0100 (CET)
Received: from muguet1-smtp-out.intra.cea.fr (muguet1-smtp-out.intra.cea.fr [132.166.192.12]) by pisaure.intra.cea.fr (Postfix) with ESMTP id 1D78B20396B for <ipv6@ietf.org>; Fri, 30 Nov 2018 12:05:28 +0100 (CET)
Received: from [10.8.34.184] (is227335.intra.cea.fr [10.8.34.184]) by muguet1-sys.intra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id wAUB5Rr6006138 for <ipv6@ietf.org>; Fri, 30 Nov 2018 12:05:27 +0100
Subject: Re: Robustness principle and multicast source address
To: ipv6@ietf.org
References: <CAFU7BAQH-vYkpk0cuhdvTZFEQXKx4DnDzVObN7xY84CWBTQbPg@mail.gmail.com> <CAO42Z2zapn43gnjD_SLFt+q7ZiqykFT9gEyhandSpCgo7-TN_w@mail.gmail.com>
From: Alexandre Petrescu <alexandre.petrescu@gmail.com>
Message-ID: <7d0a4288-c3e5-f9cf-c257-5225754b675e@gmail.com>
Date: Fri, 30 Nov 2018 12:05:26 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1
MIME-Version: 1.0
In-Reply-To: <CAO42Z2zapn43gnjD_SLFt+q7ZiqykFT9gEyhandSpCgo7-TN_w@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: fr
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/qaW2UjWclZAuzjzHSBmfcNWHrHM>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 30 Nov 2018 11:05:32 -0000

Le 20/11/2018 à 02:45, Mark Smith a écrit :
> Hi Jen,
>
> On Thu, 15 Nov 2018 at 17:32, Jen Linkova <furry13@gmail.com> wrote:
>> The section 2.7 of RFC4921 says:
>>
>> Multicast addresses must not be used as source addresses in IPv6
>> packets or appear in any Routing header.
>>
>> (https://tools.ietf.org/html/rfc4291#section-2.7)
>>
>> Does it mean that any packets with multicast source MUST be dropped by
>> the receiver? Or shall Postel's Law still apply?
>>
> I'd be saying MUST, and silently.
>
> A multicast source address fundamentally doesn't really make sense. A
> multicast address represents a group of addresses, so a multicast
> address in a single packet's source address field suggests the single
> packet somehow has multiple sources, which suggests multiple devices
> built parts of the single packet. IPv6 doesn't support multi-source
> multi-part single packets! (Has any protocol?)


Not yet, but why not.

This idea of a packet coming from we dont know where and sent to many 
others could be useful.

I routinely look at packets without caring where they come from.

Many routers forward packets without carying where they come from.

So instead of being useless, maybe call it useless.  That could be a 
specific address, like "usel:ess::"

In vehicular networking the broadcast of PoI has this kind of absence of 
precision: when one receives a PoI one just learns that in that area 
(dont know precisely where, no src) there is an important point like a 
gas station.

Alex

>
> Source addresses are also commonly used as destination addresses for
> responses, so a multicast source address where a unicast address
> should be can mean a link layer flooded multicast instead of unicast
> response. (For IPv4, RFC1122 specifies that received, link-layer
> broadcast IPv4 packets that do not have an IPv4 broadcast or multicast
> address should be silently ignored, mitigating this scenario.)
>
> With old enough Ethernet switch firmware that supports translational
> bridging, the I/G bit in the Ethernet source address field actually
> means there is a source route information field, following the
> destination address
> (https://www.cisco.com/c/en/us/support/docs/ibm-technologies/token-ring/24501-trb-rif.html).
> If there isn't, the switch might drop the packet, which some server
> colleagues of mine found out when they tried to use the Linux IPtables
> ClusterIP extension, as it tries to use "multicast" source Ethernet
> addresses.
>
>
>> In particular (practical question...): shall an NA packet from the
>> multicast source be dropped (if one applies the NA validation rules
>> from https://tools.ietf.org/html/rfc4861#section-7.1.2 such packet
>> would be still a valid advertisement...)
>>
> This draft did specify some more stringent NA source address
> validation, as well as other validation e.g. Source Link Layer Address
> option does not contain a multicast link layer address.
>
> "Security Assessment of Neighbor Discovery (ND) for IPv6"
> https://tools.ietf.org/html/draft-ietf-opsec-ipv6-nd-security-00
>
>
>
>
> Regards,
> Mark.
>
>> --
>> SY, Jen Linkova aka Furry
>>
>> --------------------------------------------------------------------
>> IETF IPv6 working group mailing list
>> ipv6@ietf.org
>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>> --------------------------------------------------------------------
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>