RE: Modifiable Destination Options

Xiejingrong <xiejingrong@huawei.com> Sat, 15 September 2018 02:57 UTC

Return-Path: <xiejingrong@huawei.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 60BB5130DE8 for <ipv6@ietfa.amsl.com>; Fri, 14 Sep 2018 19:57:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, 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 agxmdU1ElKZP for <ipv6@ietfa.amsl.com>; Fri, 14 Sep 2018 19:57:41 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (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 91105130DE5 for <ipv6@ietf.org>; Fri, 14 Sep 2018 19:57:41 -0700 (PDT)
Received: from LHREML714-CAH.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id 732B370C72FB0 for <ipv6@ietf.org>; Sat, 15 Sep 2018 03:57:37 +0100 (IST)
Received: from NKGEML414-HUB.china.huawei.com (10.98.56.75) by LHREML714-CAH.china.huawei.com (10.201.108.37) with Microsoft SMTP Server (TLS) id 14.3.399.0; Sat, 15 Sep 2018 03:57:38 +0100
Received: from NKGEML514-MBS.china.huawei.com ([169.254.3.129]) by nkgeml414-hub.china.huawei.com ([10.98.56.75]) with mapi id 14.03.0399.000; Sat, 15 Sep 2018 10:57:28 +0800
From: Xiejingrong <xiejingrong@huawei.com>
To: Tom Herbert <tom@herbertland.com>
CC: Fred Baker <fredbaker.ietf@gmail.com>, IPv6 IPv6 List <ipv6@ietf.org>, 神明達哉 <jinmei@wide.ad.jp>
Subject: RE: Modifiable Destination Options
Thread-Topic: Modifiable Destination Options
Thread-Index: AQHUDyzCtyJF2GU1mEayThLTBJ+Fi6R27zOAgABPLoCAbu1NQIAJzw4AgAEiZ9A=
Date: Sat, 15 Sep 2018 02:57:27 +0000
Message-ID: <16253F7987E4F346823E305D08F9115A99AEA8C4@nkgeml514-mbs.china.huawei.com>
References: <CALx6S36uQ7hEw51FFdhRFOeDzpXY8US3Wjeoyh+vtBiHbErkTw@mail.gmail.com> <CAJE_bqdHHPY0xR1VtWUR8hm=ff2hDD27Tj3PSGx9hcC=nWjGWg@mail.gmail.com> <E783550F-B7C9-44D5-898A-2F0D54380A47@gmail.com> <16253F7987E4F346823E305D08F9115A99AE8866@nkgeml514-mbs.china.huawei.com> <CALx6S34FYn4ga8qWJa56FFcRZL-Vk0Z53D80-_bMguzm-_j2Cw@mail.gmail.com>
In-Reply-To: <CALx6S34FYn4ga8qWJa56FFcRZL-Vk0Z53D80-_bMguzm-_j2Cw@mail.gmail.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.111.217.214]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/SgkSGtSBmB4G51ajnBp3UbjJl8I>
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: Sat, 15 Sep 2018 02:57:44 -0000

Hi Tom,

I guess the HBH had been deprecated after the RFC8200 required the default behavior to discard the HBH. Per the RFC8200:

   NOTE: While [RFC2460] required that all nodes must examine and
   process the Hop-by-Hop Options header, it is now expected that nodes
   along a packet's delivery path only examine and process the
   Hop-by-Hop Options header if explicitly configured to do so.

Again, the BIER is not a hop-by-hop behavior, because it must support to run over some form of tunnels like SRH.

Also from the security side, from the flexibility side, any IPv6 Options is defined in some preceding 'Context' is much better in my opinion. 

For BIER, such a 'Context' is the Multicast DA which defined by some control-plane or manage-plane to indicating to check What EH (DestOptHdr) and what TLVs in the EH(the-only-BIER-TLV).

For SRH, such a 'Context' is the Unicast DA which defined by some control-plane or manage-plane to indicating to check what TLV to support and how to deal with such TLV.

All such 'Context' is a local behavior, just like how the RFC8200 changed for the handling of HBH: "if explicitly configured to do so".

Jingrong


-----Original Message-----
From: Tom Herbert [mailto:tom@herbertland.com] 
Sent: Saturday, September 15, 2018 1:23 AM
To: Xiejingrong <xiejingrong@huawei.com>
Cc: Fred Baker <fredbaker.ietf@gmail.com>; IPv6 IPv6 List <ipv6@ietf.org>; 神明達哉 <jinmei@wide.ad.jp>
Subject: Re: Modifiable Destination Options

On Fri, Sep 7, 2018 at 11:54 PM, Xiejingrong <xiejingrong@huawei.com> wrote:
> Hi all,
>
> I think the Destination Options is different from HBH, though they share "The same Option Type numbering space", and have the same "Modifiable or not" bit.
>
> The draft <draft-xie-6man-bier-encapsulation> means to use such a "Modifiable Destination Options" with a Multicast Address in the IPv6 DA.
>
> My understanding about the "change en route to the packet's final 
> destination" is that,
>
> (1) For a Multicast Address in IPv6 DA, the "final destination" is the IPv6 node(s) who don't forward the packet anymore. And thus the "Modifiable Destination Options" is required.
>
> (2) If is also suitable for cases when Unicast Address in IPv6 DA and Destination Options is ahead of Routing header.
>

Hi Xiejinggrong,

I don't think it should matter whether the final destination is multicast or unicast. The final destination is at the node that is addressed in the destination address. In the case of multicast, it's simply the end nodes that receive the packets as addressed by the multicast address.

It is unclear to me if a Destination Option is appropriate for BIER.
It seems like the target of the information is intermediate routers in the path that are not explicitly addressed by the destination address (i.e. there's no routing header present that writes destination addresses en route). Should this be a Hop-by-Hop option instead?

Tom

> To quote two paragraphs of RFC8200:
>       note 1: for options to be processed by the first destination that
>               appears in the IPv6 Destination Address field plus
>               subsequent destinations listed in the Routing header.
>
>    The third-highest-order bit of the Option Type specifies whether or
>    not the Option Data of that option can change en route to the
>    packet's final destination.
>
> Thanks
> Jingrong
>
> -----Original Message-----
> From: ipv6 [mailto:ipv6-bounces@ietf.org] On Behalf Of Fred Baker
> Sent: Saturday, June 30, 2018 5:38 AM
> To: Tom Herbert <tom@herbertland.com>
> Cc: IPv6 IPv6 List <ipv6@ietf.org>; 神明達哉 <jinmei@wide.ad.jp>
> Subject: Re: Modifiable Destination Options
>
>
>
>> On Jun 29, 2018, at 9:54 AM, 神明達哉 <jinmei@wide.ad.jp> wrote:
>>
>> At Thu, 28 Jun 2018 15:09:05 -0700,
>> Tom Herbert <tom@herbertland.com> wrote:
>>
>>> I don't see that that setting this bit for a Destination Option is 
>>> prohibited. So what is the effect of setting a Destination Option 
>>> type to be modifiable en route?
>
> I thought the point of a destination option was that it was only evaluated by the system identified by the destination address? If it's being modified in flight, that sounds like it belongs in the HBH header.
>
>>> Is setting a Destination Option to be changeable en route valid? I 
>>> suppose the text that extension headers except for HBH can't be 
>>> processed in transit implies that a DO can never be modified en 
>>> route and trumps the DO changeable bit, but are there case where it 
>>> could be legitimately be changed, maybe the end host is allowed to 
>>> modify the option before delivery to the application?
>>
>> When used with a routing header?
>>
>> --
>> JINMEI, Tatuya
>>
>> --------------------------------------------------------------------
>> IETF IPv6 working group mailing list
>> ipv6@ietf.org
>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>> --------------------------------------------------------------------
>