Re: Robustness principle and multicast source address

Alexandre Petrescu <alexandre.petrescu@gmail.com> Fri, 30 November 2018 15:08 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 483EC1271FF for <ipv6@ietfa.amsl.com>; Fri, 30 Nov 2018 07:08:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.632
X-Spam-Level:
X-Spam-Status: No, score=-1.632 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_MED=-2.3, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=0.001] autolearn=no 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 LHcH3WHzXLd0 for <ipv6@ietfa.amsl.com>; Fri, 30 Nov 2018 07:08:12 -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 B71BD128BCC for <ipv6@ietf.org>; Fri, 30 Nov 2018 07:08:11 -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 wAUF89V9017400; Fri, 30 Nov 2018 16:08:09 +0100
Received: from pisaure.intra.cea.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 4D8C72058DF; Fri, 30 Nov 2018 16:08:09 +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 3F107200C00; Fri, 30 Nov 2018 16:08:09 +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 wAUF89du020095; Fri, 30 Nov 2018 16:08:09 +0100
Subject: Re: Robustness principle and multicast source address
To: Mark Smith <markzzzsmith@gmail.com>
Cc: 6man WG <ipv6@ietf.org>
References: <CAFU7BAQH-vYkpk0cuhdvTZFEQXKx4DnDzVObN7xY84CWBTQbPg@mail.gmail.com> <CAO42Z2zapn43gnjD_SLFt+q7ZiqykFT9gEyhandSpCgo7-TN_w@mail.gmail.com> <7d0a4288-c3e5-f9cf-c257-5225754b675e@gmail.com> <CAO42Z2zVv6D_3BnSdOLLEiM+FHWP8Q3753vDxfK2-Re7OQbXxA@mail.gmail.com>
From: Alexandre Petrescu <alexandre.petrescu@gmail.com>
Message-ID: <81069644-a6b8-dc56-ec72-1ff81acb6589@gmail.com>
Date: Fri, 30 Nov 2018 16:08:09 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.2
MIME-Version: 1.0
In-Reply-To: <CAO42Z2zVv6D_3BnSdOLLEiM+FHWP8Q3753vDxfK2-Re7OQbXxA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: fr
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/6vrv37nO4TIp8SgZEQSxPP0A47M>
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 15:08:14 -0000


Le 30/11/2018 à 13:37, Mark Smith a écrit :
> 
> 
> On Fri., 30 Nov. 2018, 22:05 Alexandre Petrescu 
> <alexandre.petrescu@gmail.com <mailto:alexandre.petrescu@gmail.com> wrote:
> 
> 
>     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
>     <mailto: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.
> 
> 
> So the above is about a multi-source, multi-part packet, that is at some 
> point and at some place combined into a single packet, rather than a 
> single packet originated by an unimportant and unspecified source.
> 
> (For unidirectional communication, the source address is optional, in 
> the sense that because there will be no reply, the actual source 
> device's address is not essential, although it may 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::"
> 
> 
> 
> ::0, the unspecified address, is the source address you're looking for.

Sounds better indeed.

But it does not map in a corresponding MAC address :-(

Alex

> 
> 
>     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 <mailto:ipv6@ietf.org>
>      >> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>      >> --------------------------------------------------------------------
>      > --------------------------------------------------------------------
>      > IETF IPv6 working group mailing list
>      > ipv6@ietf.org <mailto:ipv6@ietf.org>
>      > Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>      > --------------------------------------------------------------------
>      >
> 
>     --------------------------------------------------------------------
>     IETF IPv6 working group mailing list
>     ipv6@ietf.org <mailto:ipv6@ietf.org>
>     Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>     --------------------------------------------------------------------
>