Re: Modifiable Destination Options

Brian E Carpenter <brian.e.carpenter@gmail.com> Sat, 15 September 2018 04:25 UTC

Return-Path: <brian.e.carpenter@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 64AC9130DC6 for <ipv6@ietfa.amsl.com>; Fri, 14 Sep 2018 21:25:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 CJHBnaoC4F9M for <ipv6@ietfa.amsl.com>; Fri, 14 Sep 2018 21:25:36 -0700 (PDT)
Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1D08E12F18C for <ipv6@ietf.org>; Fri, 14 Sep 2018 21:25:36 -0700 (PDT)
Received: by mail-pl1-x631.google.com with SMTP id j8-v6so5027681pll.12 for <ipv6@ietf.org>; Fri, 14 Sep 2018 21:25:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=x890wv4sMnSVapcTPuUJ29cSjI/XiGSYC5ovRpikiKc=; b=mMh9s2HwLjGj+Gf4TyHrUQSU1M22JDrsP3H9IL09E1qajulD3MDm1UL7Is5S6znhID 5D0VHz48uJTk9Nr3lmLZdK3hssIg7Su6KlnE6mTnSH8AA+kjmVvYFiZp/2yVORQYYRbZ zBNOTD64M/T/elMN0njcl8Bn95GGhGEiYT78k5zkeTpFvJDCDJW8UyuSguvErd9jj5s/ ARYeVwW64U1Hw+gQ3mKbZEM5d0DR+B5xLTlmhv6H8jIZMrpkEQu1HyEtStW0NKT+P52Y Mep2PMhJxh90r3tdxHnpmKbSU0ghNaPF2wc4dgQctIZdYulWcAtIVuON40RNBg68HiYc peqQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=x890wv4sMnSVapcTPuUJ29cSjI/XiGSYC5ovRpikiKc=; b=hSSM5347e8tpkPflJGJl8gkaNlq/d0utD/GKXnk04I36qzZbcE17LUqNZRzClZVj70 IIbg4JPiemGTqv3yo+q8oT0df5ZY98NuCu2IbKDrF8Y7/yc2U3MXlnHlA5XZQudP3hDq S4+gFDeHnI8c+YCl/ndcSd6H28592plJ2onFRewM9NiVfDTODizZeNwUfbmmL6NxfTvL 8G31341tBo8YDBgA8nGN7O0dOTpdrlhTWzaGnLIidLFcIYhbQgFGc6bnsdsFKdNPBzV1 fp/gipZcz3nLTbnIL++geQ9vlE/SSrNBYzjYA4omOQ6x1b+xzRluMbT8SEVNKiDFMxEr rADg==
X-Gm-Message-State: APzg51CHLv4zSyooa9h2/5cKJMVMyu+kYdFKiAQ4EUSF90wOC5UwdG08 +EuWY363JpJTnFdYQjzP3/4wDotM
X-Google-Smtp-Source: ANB0VdayJ+TNng/qVNI+WeGPTArLZTyRB4CoJL7JvidmwYBUxXbwRjtLdTOv5pBgQN75YxfPVz5B7Q==
X-Received: by 2002:a17:902:8b8b:: with SMTP id ay11-v6mr14683255plb.1.1536985535263; Fri, 14 Sep 2018 21:25:35 -0700 (PDT)
Received: from [192.168.178.30] ([118.148.76.40]) by smtp.gmail.com with ESMTPSA id f13-v6sm8089706pgq.63.2018.09.14.21.25.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Sep 2018 21:25:34 -0700 (PDT)
Subject: Re: Modifiable Destination Options
To: Xiejingrong <xiejingrong@huawei.com>, "ipv6@ietf.org" <ipv6@ietf.org>
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> <16253F7987E4F346823E305D08F9115A99AEA8C4@nkgeml514-mbs.china.huawei.com> <cd3c1602-79d4-f7a5-9e54-18582f0c5128@gmail.com> <16253F7987E4F346823E305D08F9115A99AEA8F5@nkgeml514-mbs.china.huawei.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <201dbcd3-d812-5f48-5c95-28e275ee59d1@gmail.com>
Date: Sat, 15 Sep 2018 16:25:28 +1200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <16253F7987E4F346823E305D08F9115A99AEA8F5@nkgeml514-mbs.china.huawei.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/5PQweRzkPYXwhNjoNlZPUH3G4oc>
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 04:25:38 -0000

On 2018-09-15 15:58, Xiejingrong wrote:
> 
> OK. The HBH is ignored by default. So you seems not opposed to the word of "deprecated" ;-)

Well, we simply stated that it may not work as expected! That is not as strong
as deprecation. I think the ITU is more fond of formal deprecation than the IETF.

     Brian
 
> Jingrong
> 
> -----Original Message-----
> From: ipv6 [mailto:ipv6-bounces@ietf.org] On Behalf Of Brian E Carpenter
> Sent: Saturday, September 15, 2018 11:32 AM
> To: ipv6@ietf.org
> Subject: Re: Modifiable Destination Options
> 
> On 2018-09-15 14:57, Xiejingrong wrote:
>> 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.
> 
> There is no mention of *discard* there. The forwarding node simply ignores the HBH header.
> 
>     Brian
> 
>>
>> 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
>>>> --------------------------------------------------------------------
>>>
>> --------------------------------------------------------------------
>> 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
> --------------------------------------------------------------------
>