Re: [spring] How CRH support SFC/Segment Endpoint option?

"Joel M. Halpern" <jmh@joelhalpern.com> Sun, 24 May 2020 23:53 UTC

Return-Path: <jmh@joelhalpern.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 963033A0E16; Sun, 24 May 2020 16:53:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=joelhalpern.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 N6kKJS0m3cAo; Sun, 24 May 2020 16:53:24 -0700 (PDT)
Received: from mailb2.tigertech.net (mailb2.tigertech.net [208.80.4.154]) (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 85D483A0E11; Sun, 24 May 2020 16:53:24 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mailb2.tigertech.net (Postfix) with ESMTP id 49VcVr2sN2z1nxfl; Sun, 24 May 2020 16:53:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelhalpern.com; s=2.tigertech; t=1590364404; bh=0JpzsvKaBp2nHTKKo5+CktqC0v0xxZoqvUj44dzMJ6w=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=CfymbuTFPHh9rupdkCfSS3pSckNdow9udZZvfCetYt+t0UERQzdmiJYE5l8rR5N7J Cze7jzHyMaayVY4uC/7QMSlM/9bN9XFq057UyWhXsZJmdpfEFqxgF6VGo/SIDPCSCs gvKDH1Kt1epxgiMIz+mJA0ZBDwP32c7OhsJIZvFo=
X-Virus-Scanned: Debian amavisd-new at b2.tigertech.net
Received: from [192.168.128.43] (209-255-163-147.ip.mcleodusa.net [209.255.163.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mailb2.tigertech.net (Postfix) with ESMTPSA id 49VcVq4jRzz1nxRY; Sun, 24 May 2020 16:53:23 -0700 (PDT)
To: James Guichard <james.n.guichard@futurewei.com>
Cc: "spring@ietf.org" <spring@ietf.org>, 6man <6man@ietf.org>
References: <C7C2E1C43D652C4E9E49FE7517C236CB02A2CD12@dggeml529-mbx.china.huawei.com> <DM6PR05MB63482CFA4D5AB938D5A4B818AEB40@DM6PR05MB6348.namprd05.prod.outlook.com> <C7C2E1C43D652C4E9E49FE7517C236CB02A37DC6@dggeml509-mbs.china.huawei.com> <DM6PR05MB63489256A7C8357BEF526EE2AEB20@DM6PR05MB6348.namprd05.prod.outlook.com> <CAOj+MMGLj9OgFCcsB21oWXbcCqHZ7B4qTvCcrK9LXuKDYVu_vQ@mail.gmail.com> <811e0a83-6dee-5d08-2293-832d0eb6708a@gmail.com> <CAOj+MMFom5p2YYM6==RhHEe3S-8e-dd9y16_At6-M55b9aPcOw@mail.gmail.com> <DM6PR13MB30663AAD8D09C09C526F7592D2B20@DM6PR13MB3066.namprd13.prod.outlook.com>
From: "Joel M. Halpern" <jmh@joelhalpern.com>
Message-ID: <fd6447a9-c9e7-18b0-8fa3-28a5b3d85e2f@joelhalpern.com>
Date: Sun, 24 May 2020 19:53:21 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0
MIME-Version: 1.0
In-Reply-To: <DM6PR13MB30663AAD8D09C09C526F7592D2B20@DM6PR13MB3066.namprd13.prod.outlook.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/gwJr5XCXjg2GHUZdsePAwP45fek>
Subject: Re: [spring] How CRH support SFC/Segment Endpoint option?
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: Sun, 24 May 2020 23:53:27 -0000

We did construct (and describe in an I-D) a version of the PSSI that 
carried multiple instructions, with marking as to which SL values 
applied to which instructions.  Tom Herbert constructed a different 
workable encoding for this functionality.  No one seemed interested.

So rather than worry about perfect equivalence with other things, we 
worried about getting what we needed to have for what was being requested.

Yours,
Joel

On 5/24/2020 7:48 PM, James Guichard wrote:
> It seems to me that RFC8200 could not be clearer when it states that 
> there is an order to how extension headers are processed (see [1]) and 
> if a DOH precedes a routing header then **every** node in the routing 
> header must process the DOH; which leads me to wonder how a service 
> chain could be supported unless only a single service is needed in a 
> chain and that service be placed as the last node in the routing header 
> so that a DOH could be added **after** the routing header and therefore 
> only be processed by the last node.
> 
> [1] RFC8200 section 4.1
> 
>        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.
> 
>        note 3: for options to be processed only by the final destination
> 
>                of the packet.
> 
> ** note 1 is for DOH preceding routing header and note 3 is for DOH 
> after routing header.
> 
> Jim
> 
> *From:* spring <spring-bounces@ietf.org> *On Behalf Of *Robert Raszuk
> *Sent:* Sunday, May 24, 2020 5:03 PM
> *To:* Brian E Carpenter <brian.e.carpenter@gmail.com>
> *Cc:* Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>; 
> spring@ietf.org; 6man <6man@ietf.org>
> *Subject:* Re: [spring] How CRH support SFC/Segment Endpoint option?
> 
> Hi Brian,
> 
> No playing with words intended at all.
> 
> But as you very well know half of the room read RFC8200 verbatim to what 
> the definition of destination node is. Clearly segment endpoint address 
> would be the "local" destination of the packet when it receives it.
> 
> It seems very clear that RFC8200 authors did not expect that packet may 
> have more then one destination in a domain :)  That seems to be a crux.
> 
> *Let's please do not restart that topic.* I asked this question as I am 
> curious for RbR - how to prevent midpoints to examine DOH if someone 
> would choose to carry VPN demux label there.
> 
> What is there in the packet when packet is received by a segment 
> endpoint (transit point) to tell - STOP ... this is not a packet for you 
> - skip DOH - but go and examine other RHs ?
> 
> Thank you,
> 
> R,
> 
> On Sun, May 24, 2020 at 10:54 PM Brian E Carpenter 
> <brian.e.carpenter@gmail.com <mailto:brian.e.carpenter@gmail.com>> wrote:
> 
>     Hi Robert,
> 
>     On 24-May-20 22:22, Robert Raszuk wrote:
>      > Hi Ron,
>      >
>      > I have one small question on the Destination Option Header you
>     keep referencing to carry for example VPN demux instructions.
>      >
>      > As DOH follows Fragment Header it is indeed inspected before CRH.
>      >
>      > So please kindly clarify what is there in the IPv6 packet header
>     which would stop each segment endpoint (during the transit over SR
>     anchors)  which destination is obviously in DA of the arriving
>     packet not to inspect DOH and not trying to execute it ?
>      >
>      > If you could please also provide reference to RFC8200 defining it..
> 
>     I think you are playing with words a bit here. 8200 says:
>     "The Destination Options header is used to carry optional information
>     that need be examined only by a packet's destination node(s)."
> 
>     That clearly means that other nodes *do not need* to examine the
>     DOH, so they can simply skip over it. Because it isn't encrypted, of
>     course they physically can examine it if they want to waste CPU
>     cycles, but they *do not need* to do so. Since they are not the
>     destination node, obviously the information in the DOH is not
>     intended for them. If it isn't obvious that they are not intended to
>     act on that information, I don't know why we bother to write RFCs at
>     all.
> 
>     Regards
>          Brian
> 
> 
> _______________________________________________
> spring mailing list
> spring@ietf.org
> https://www.ietf.org/mailman/listinfo/spring
>