Re: [spring] SRH scratch space (was Re: Question about SRv6 Insert function)

"Xiejingrong (Jingrong)" <xiejingrong@huawei.com> Wed, 11 December 2019 02:03 UTC

Return-Path: <xiejingrong@huawei.com>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 92F84120059; Tue, 10 Dec 2019 18:03:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 GmL9XLP0GY8N; Tue, 10 Dec 2019 18:03:11 -0800 (PST)
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 90A4112008C; Tue, 10 Dec 2019 18:03:11 -0800 (PST)
Received: from lhreml705-cah.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id 2FC66A6EACF6ABCF4737; Wed, 11 Dec 2019 02:03:10 +0000 (GMT)
Received: from NKGEML414-HUB.china.huawei.com (10.98.56.75) by lhreml705-cah.china.huawei.com (10.201.108.46) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 11 Dec 2019 02:03:09 +0000
Received: from NKGEML514-MBX.china.huawei.com ([fe80::40a8:f0d:c0f3:2ca5]) by nkgeml414-hub.china.huawei.com ([10.98.56.75]) with mapi id 14.03.0439.000; Wed, 11 Dec 2019 10:02:58 +0800
From: "Xiejingrong (Jingrong)" <xiejingrong@huawei.com>
To: Bob Hinden <bob.hinden@gmail.com>, Robert Raszuk <robert@raszuk.net>
CC: "spring@ietf.org" <spring@ietf.org>, "6man@ietf.org" <6man@ietf.org>
Thread-Topic: [spring] SRH scratch space (was Re: Question about SRv6 Insert function)
Thread-Index: AQHVr5Xub/8HoMVg5kCX30uD56H5DqezSL8AgAAERwCAAAJVgIAAEboAgAAFkgCAAC/MAIAAl0+g
Date: Wed, 11 Dec 2019 02:02:57 +0000
Message-ID: <16253F7987E4F346823E305D08F9115AABAEB20E@nkgeml514-mbx.china.huawei.com>
References: <HK0PR03MB3970C6DCC635E7CD802D65FDFCBD0@HK0PR03MB3970.apcprd03.prod.outlook.com> <BYAPR05MB54636A2332FED916A26A6F14AEBD0@BYAPR05MB5463.namprd05.prod.outlook.com> <3e31873a-278a-2154-0e71-4d820bba323d@gont.com.ar> <4012D854-2F10-4476-951D-FFFE73C5083C@gmail.com> <cb2f56f8-acdc-d68d-0878-9609cb3d7b1b@gont.com.ar> <28214_1567694772_5D711FB4_28214_238_1_53C29892C857584299CBF5D05346208A48BFA9F3@OPEXCAUBM43.corporate.adroot.infra.ftgroup> <129bbb32-0f14-b799-430c-8f76fb6b1279@gont.com.ar> <1824_1575998223_5DEFD30F_1824_112_1_53C29892C857584299CBF5D05346208A48D24EBD@OPEXCAUBM43.corporate.adroot.infra.ftgroup> <4384c08a-65f5-dbfb-85c7-8365feba9662@gmail.com> <CAOj+MME1+JXth8m4U_E5R6VLvurVR_y_DQvOBy7JmGxHZp7T=Q@mail.gmail.com> <CAMGpriV8BFjOed_-QJYEZc_BANvEuc1hRgYjSdaVUYygVzPj+Q@mail.gmail.com> <CAOj+MMHCA+=9zv_UJAF3gC6R1TWKb6LQJxaGsrRa0N7Amdxrww@mail.gmail.com> <CAMGpriWbz3Gf2UcNDigRVo8gEssdaL6HnH2_6Ln050gQFbFDYQ@mail.gmail.com> <CAOj+MMGuParGLAA9_2n1zihGjJsKHr+NOK3EXP3j87ibXqmhmQ@mail.gmail.com> <93EAADC7-A4C4-4690-9DEB-27A1F44F4B56@gmail.com> <CAOj+MMFUxiaMcxz93CPGS0N3-rHHPnAytNdoUUSXu-xbT7Uygw@mail.gmail.com> <C9492B56-2AE6-48F7-AC24-29E6D5F224C5@gmail.com>
In-Reply-To: <C9492B56-2AE6-48F7-AC24-29E6D5F224C5@gmail.com>
Accept-Language: en-US, zh-CN
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/spring/gX5D9VCZcZDCSdZCK2h-p2KGX60>
Subject: Re: [spring] SRH scratch space (was Re: Question about SRv6 Insert function)
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Dec 2019 02:03:13 -0000

Thanks Bob for sharing your opinion.
I fully agree with that, and I either don’t have any problem if an intermediate node decides to parse extension headers and modified one based on the definition of the specific EH.

Regards,
Jingrong

-----Original Message-----
From: ipv6 [mailto:ipv6-bounces@ietf.org] On Behalf Of Bob Hinden
Sent: Wednesday, December 11, 2019 8:57 AM
To: Robert Raszuk <robert@raszuk.net>
Cc: spring@ietf.org; 6man@ietf.org; Bob Hinden <bob.hinden@gmail.com>
Subject: Re: [spring] SRH scratch space (was Re: Question about SRv6 Insert function)

Robert,

> On Dec 10, 2019, at 2:05 PM, Robert Raszuk <robert@raszuk.net> wrote:
> 
> 
> > Other EH’s allow for different forms of modification, for example SRH allows for TLV modification, see Section 2.1.
> 
> Section 2.1 talks about segment endpoint and that is where IPv6 outer header destination address matches the node address doing the modification.


I think it is clear that the intent is that destination options are only modified by the destination, that’s how destination options, routing header, etc., etc. work.   The Hop-by-Hop option extension header can be modified by any node as defined by a specific option.


> If you stating that it can be modified by any via node - that's pretty cool.
> 
> Regarding Hop-by-Hop - of course.

The same option format is used for destination and hop-by-hop option extension headers.  The option text definition about changing en route doesn’t make any distinction between destination and hop-by-hop options.  Personally, I don’t have a big problem if an intermediate node decides to parse extension headers and modified one based on the definition of the specific EH.

I am not sure why that is very useful, but I don’t think it would break anything.   Unlike inserting or deleting.

Bob


> For Destination Options to allow to define fields which can be modified by non outer IPv6 destination network elements - good to know.

> 
> Thx,
> R.
> 
> 
> On Tue, Dec 10, 2019 at 10:45 PM Bob Hinden <bob.hinden@gmail.com> wrote:
> Robert,
> 
> > On Dec 10, 2019, at 12:42 PM, Robert Raszuk <robert@raszuk.net> wrote:
> >
> >
> > The issue is that RFC8200 forbids even modification to any EH unless the node is a destination node in top most IPv6 header.
> 
> I don’t think that is true.   The options in the Hop-by-Hop Options header and the Destination Options Header allow the definition of options that support modifications.   See Section 4.2, specifically:
> 
>    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.  When an Authentication header is present
>    in the packet, for any option whose data may change en route, its
>    entire Option Data field must be treated as zero-valued octets when
>    computing or verifying the packet's authenticating value.
> 
>        0 - Option Data does not change en route
>        1 - Option Data may change en route
> 
> Other EH’s allow for different forms of modification, for example SRH allows for TLV modification, see Section 2.1.
> 
> Bob
>