Re: Modifiable Destination Options

Tom Herbert <tom@herbertland.com> Sat, 15 September 2018 15:58 UTC

Return-Path: <tom@herbertland.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 DE689130DC4 for <ipv6@ietfa.amsl.com>; Sat, 15 Sep 2018 08:58:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=herbertland-com.20150623.gappssmtp.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 PuNXaku0O5_z for <ipv6@ietfa.amsl.com>; Sat, 15 Sep 2018 08:58:36 -0700 (PDT)
Received: from mail-qk1-x742.google.com (mail-qk1-x742.google.com [IPv6:2607:f8b0:4864:20::742]) (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 572EB129619 for <ipv6@ietf.org>; Sat, 15 Sep 2018 08:58:36 -0700 (PDT)
Received: by mail-qk1-x742.google.com with SMTP id f62-v6so6857912qke.2 for <ipv6@ietf.org>; Sat, 15 Sep 2018 08:58:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=herbertland-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Nb/KVfAXv4aRVZQYokQ3R9TmtdZwfz7xaCUEydFg8Ws=; b=0umXN5AChSqddvKyZ/inH15hyMQ0niCCGNgvINrxPhmtaBUTbpxR0Tl7MekahE8TEG iddCmqjbEOLh0KfXQGrkzlDDFpk0tIIm/+Fdk6MCMbox9lLLh6GF/Exlf+LVLVbboFkO 03GFj/maiu5L76qRHz3Og1n8jyCEOReWGpWfJF+P6ful4l0S3C0GqLPufrzNwwBcq0hD 3HqHn/UcJ3tEbCGTXvfUtPSD499k+NBQpvdhZnqLv1ArdSw1DenqpuWidP2aHT2wO82I Ky7LdiY6tH6stX8EcCmgP9UrgEfnKi1j5YyzHvD5X3FuPblC8Udxexy7u2uxA2Yrrrv2 E01A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Nb/KVfAXv4aRVZQYokQ3R9TmtdZwfz7xaCUEydFg8Ws=; b=UMw67ylAmSqIcIuaIw4CtDE6uRpXlg6jQYeM8bcDjmQTgxop+lCs5oLTO2LXpoNMG3 SFDKS+QXmVuRrgQZKa+rLc1wNlSuZ7+6aAKT21JL9ezkhFaUPt/WEod2/ptWmS+FDkLs NOVisCHtHK6tlvbHpCfYsgMup5gno7PPCE3rEgW1fs3JJcQtY97KlcqSFV2O7hU+Q6b2 0Zd1/8I76WWcFeRlP96Naxk0QKnsXHtgcyX0WixjbBYY6gFgxuoYMJHXX+iaJWa3RLpP cjvysZSvvedjxfILLr/mZQ+XKowkf0wd1fuRvSlTxGMc7Og/s/Tc7beiloqhkQm9/F1M NNSQ==
X-Gm-Message-State: APzg51APf+yDKLNqIjG6DYYLFITLNgDHsOYX9GQiO/p4Y8LHfciWCczC gslFAtMLNjdTy5yqFJYR4jHUpbVqS7bmPMtWqNNKMA==
X-Google-Smtp-Source: ANB0VdZXVqn8BPrFwxqHb0Z/tUID6CC1ZSJNS3HO+MZTiQ0l/esFe200BX2zAh0KVsnOPOH3VgqwJhJmwdTDwkGVolA=
X-Received: by 2002:a37:4fcd:: with SMTP id d196-v6mr12190327qkb.323.1537027115184; Sat, 15 Sep 2018 08:58:35 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:ac8:2a94:0:0:0:0:0 with HTTP; Sat, 15 Sep 2018 08:58:34 -0700 (PDT)
In-Reply-To: <16253F7987E4F346823E305D08F9115A99AEA8F5@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> <16253F7987E4F346823E305D08F9115A99AEA8C4@nkgeml514-mbs.china.huawei.com> <cd3c1602-79d4-f7a5-9e54-18582f0c5128@gmail.com> <16253F7987E4F346823E305D08F9115A99AEA8F5@nkgeml514-mbs.china.huawei.com>
From: Tom Herbert <tom@herbertland.com>
Date: Sat, 15 Sep 2018 08:58:34 -0700
Message-ID: <CALx6S37LFcV7C2ucqEzhfas==_gv1SFxgEdBi7aZjxdAVX1_8A@mail.gmail.com>
Subject: Re: Modifiable Destination Options
To: Xiejingrong <xiejingrong@huawei.com>
Cc: Brian E Carpenter <brian.e.carpenter@gmail.com>, "ipv6@ietf.org" <ipv6@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/GpoNIUVSICAZx_UNiKjJdW4NJwk>
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 15:58:39 -0000

On Fri, Sep 14, 2018 at 8:58 PM, Xiejingrong <xiejingrong@huawei.com> wrote:
>
> OK. The HBH is ignored by default. So you seems not opposed to the word of "deprecated" ;-)
>
Jingrong,

Deprecation is not the intent. The change was an acknowledgement that
many implementations do not conform, and will likely never conform, to
the requirements. Relaxing the requirements in this way best preserves
the utility of HBH, as opposed to other ad hoc behaviors of network
devices that render them completely useless such as arbitrarily
dropping packets with HBH.

Tom

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