Re: [spring] PHP - Deep Listening

Brian E Carpenter <brian.e.carpenter@gmail.com> Mon, 09 December 2019 19:57 UTC

Return-Path: <brian.e.carpenter@gmail.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 9DC5512018B for <spring@ietfa.amsl.com>; Mon, 9 Dec 2019 11:57:09 -0800 (PST)
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_HELO_NONE=0.001, SPF_PASS=-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 w-n5y0lNuxWv for <spring@ietfa.amsl.com>; Mon, 9 Dec 2019 11:57:07 -0800 (PST)
Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) (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 AA97612012C for <spring@ietf.org>; Mon, 9 Dec 2019 11:57:07 -0800 (PST)
Received: by mail-pl1-x634.google.com with SMTP id x13so6226110plr.9 for <spring@ietf.org>; Mon, 09 Dec 2019 11:57:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Cy3bomoralWNBuCvgKCxIYZi2/OrJj83nY8u3KVD+7Q=; b=oFRorcjBoRAckp1dLSPdqswkkQ1KX+iVUwadFqkfFPO5f2GJyrPS4z7KTQ2kr0LRMY 6ZyLTGuCT7BasVPjuQBVHbo/0CDKKqdNrsLNYK1BGIqqwUD6y5SA75jk5cLjX+SUeG8r w5khftivZF1lzaK0Hh6sw9iiZwre0tPDzPSsDzCQk5b20ceg09xKbY1kOPtkLGYAgRN/ +wLC1oxyXLxf/MhGJcgP8OK7cbr26mY8GYEq1Q0sLkHq4KhOIkj4YilDVGM593qx3uoh cLYwp6ID8omhE52x7/FPR3IRZaedMYSOnNiu27mZ9F0/kT4F9p0NYpkQ8fecHCIYCz2j BFUw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Cy3bomoralWNBuCvgKCxIYZi2/OrJj83nY8u3KVD+7Q=; b=aRlIMBX5TKw76CRrzBqyR9ckTgVXytlUrBgHpZgOuFVGHDszSF/JmpflJR4uj/Od1e It+vcKY5BtuJDhRBvhUjQRNzmVuemctSKHtAEdbX7sa8K8UufbLPeX1/0smeH+GMe7I4 lHlI8oGQBYMpkpJtwLxYHMeFgf9zMbMiJzefCfSDaNb0APCiGxNt5qpyJ89YB81UJ1AB iEEy9IkJO4KBOmD58rpl0bm7i0J6r3afbDypOtw7Pp6T2eGyJVDsQCa1qRmPpWgfOYWT CXA+dYMVIaJXp3U8ENrm62v/EMBvLr+qf5QWnYXQc1+KufIiX4aTIU1dicyYXLcXgHZp UG+g==
X-Gm-Message-State: APjAAAV/glL/QoKPz7DCRjDLUA+q3mNJ0IhAyV0A1yj2pBvbVIq9QNiL 97T17zBU9J8h9RuHh4OHB9Z8/2pP
X-Google-Smtp-Source: APXvYqw1PVr0qBoYG1HQTRv5kwgfz7Rxk1gt0Lta3dwWDtIO/G93bAVZ/Y3c1sqPJXeUMaXmO+ROiA==
X-Received: by 2002:a17:902:7083:: with SMTP id z3mr32284599plk.215.1575921426974; Mon, 09 Dec 2019 11:57:06 -0800 (PST)
Received: from [192.168.178.30] (228.147.69.111.dynamic.snap.net.nz. [111.69.147.228]) by smtp.gmail.com with ESMTPSA id i9sm262380pfd.166.2019.12.09.11.57.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Dec 2019 11:57:06 -0800 (PST)
To: "li_zhenqiang@hotmail.com" <li_zhenqiang@hotmail.com>, Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>, Suresh Krishnan <Suresh@kaloom.com>, "spring@ietf.org" <spring@ietf.org>
Cc: Andrew Alston <Andrew.Alston@liquidtelecom.com>, Bob Hinden <bob.hinden@gmail.com>, Ole Troan <otroan@employees.org>, Sander Steffann <sander@steffann.nl>, Fernando Gont <fgont@si6networks.com>
References: <BN7PR05MB5699332DB006C82F51553C5EAE5E0@BN7PR05MB5699.namprd05.prod.outlook.com> <HK0PR03MB406657439DE8C20CDAE862D3FC580@HK0PR03MB4066.apcprd03.prod.outlook.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <741f9da7-5abf-2798-04cb-45ce3f14704b@gmail.com>
Date: Tue, 10 Dec 2019 08:57:02 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
MIME-Version: 1.0
In-Reply-To: <HK0PR03MB406657439DE8C20CDAE862D3FC580@HK0PR03MB4066.apcprd03.prod.outlook.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/spring/Y7XKvgshM8ces-HbkT2uQa37a_w>
Subject: Re: [spring] PHP - Deep Listening
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: Mon, 09 Dec 2019 19:57:10 -0000

As I have already said, in:

> S14.1. If (updated SL == 0) {
> S14.2.     Pop the SRH

neither "updated SL" nor "Pop the SRH" is well defined in the text, so we simply cannot tell whether RFC8200 is violated.

Regards
   Brian

On 09-Dec-19 20:52, li_zhenqiang@hotmail.com wrote:
> Hi Suresh, Ron and all,
> 
> Ron is trying to correct the behaviors for PSP although it should be accepted or not is still under discussion. According to the text in draft-ietf-spring-srv6-network-programming-05, the behaviors for  PSP are as follows, Next Header update and Payload Length update are not mentioned.
> 
> S12. Decrement Hop Limit by 1
> S13. Decrement Segments Left by 1
> S14. Update IPv6 DA with Segment List[Segments Left]
> S14.1. If (updated SL == 0) {
> S14.2.     Pop the SRH
> S14.3. }
> S15. Resubmit the packet to the egress IPv6 FIB lookup and transmission to the new destination
> 
> I pointed out this in https://mailarchive.ietf.org/arch/msg/spring/o7uJ5BiHY9WKhwL69PwbSVrzw-Q and our dear editor Pablo admitted NH should be updated. However, I don't know why the text in version 5 is not updated accordingly till it goes to WGLC. Comments should be accommodated in the document not merely noted in the list. 
> 
> Best Regards,
> Zhenqiang Li
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> li_zhenqiang@hotmail.com
> 
>      
>     *From:* Ron Bonica <mailto:rbonica=40juniper.net@dmarc.ietf.org>
>     *Date:* 2019-12-07 20:09
>     *To:* Suresh Krishnan <mailto:Suresh@kaloom.com>; SPRING WG <mailto:spring@ietf.org>
>     *CC:* Andrew Alston <mailto:Andrew.Alston@liquidtelecom.com>; Bob Hinden <mailto:bob.hinden@gmail.com>; Ole Troan <mailto:otroan@employees.org>; Sander Steffann <mailto:sander@steffann.nl>; Fernando Gont <mailto:fgont@si6networks.com>; Brian E Carpenter <mailto:brian.e.carpenter@gmail.com>
>     *Subject:* [spring] PHP - Deep Listening (was: RE: Separating issues)
> 
>     Suresh,
> 
>      
> 
>     Fair enough. Let’s review PHP, with open minds, and see if the motivation merits the proposed behavior….
> 
>      
> 
>     Assume that an SRv6 node receives the following packet:
> 
>      
> 
>       * IPv6 header. Destination Address == LOCATOR:0x0002 (0x0002 indicates that this is and end with PSP)
>       * IPv6 header. Next Header == Routing Header
>       * Routing header. Routing Type  == SRH
>       * Routing header. Segments Left == 1
> 
>      
> 
>     According to the NP draft, the nodes should:
> 
>      
> 
>       * Copy SID[0] to IPv6 header. Destination Address
>       * Update IPv6 header. Next Header
>       * Update IPv6 header, Payload Length
>       * Remove the Routing Header
> 
>      
> 
>     Now that we understand how PHP works, we can compare PHP to a more orthodox alternative. That is, to decrement Segments Left (to 0) and forward the packet without PHP. Downstream nodes SHOULD ignore the SRH, because Segments Left is equal to 0.
> 
>      
> 
>     The following are possible benefits of PHP:
> 
>      
> 
>       * To save bandwidth on the final segment
>       * To optimize for ASIC some particular ASIC on the destination node, possibly mitigating the effect of a very large SRH
>       * Others?
> 
>      
> 
>     Do either of these motivations merit the variation from the more orthodox IPv6 processing?
> 
>      
> 
>                                                                     Ron
> 
>      
> 
>      
> 
>      
> 
>     Juniper Business Use Only
> 
>     *From:* Suresh Krishnan <Suresh@kaloom.com>
>     *Sent:* Saturday, December 7, 2019 2:14 AM
>     *To:* 6man <6man@ietf.org>; SPRING WG <spring@ietf.org>
>     *Cc:* Brian E Carpenter <brian.e.carpenter@gmail.com>; Andrew Alston <Andrew.Alston@liquidtelecom.com>; Ole Troan <otroan@employees.org>; Ron Bonica <rbonica@juniper.net>; int-ads@ietf.org; rtg-ads <rtg-ads@ietf.org>; Bob Hinden <bob.hinden@gmail.com>; Fernando Gont <fgont@si6networks.com>
>     *Subject:* Separating issues (was Re: [spring] We don't seem to be following our processes (Re: Network Programming - Penultimate Segment Popping))
> 
>      
> 
>     (Apologies up front. I am about to get on a 10 hr flight and will be unable to respond for at least that period)
> 
>      
> 
>     Hi all,
> 
>       Picking the last message in the thread to reply to. It looks to me that there are at least two different (but related) issues being discussed here
> 
>      
> 
>     a) Spring SRv6 NP behavior (related to the WGLC of that draft)
> 
>     b) The Header insertion drafts and how to deal with them
> 
>      
> 
>     I really think that 
> 
>      
> 
>     a) should preferably stay in the spring ML and a pointer to the discussion sent to the 6man mailing list would be in order
> 
>     b) should preferably stay in the 6man ML
> 
>      
> 
>     I think the communities for the two drafts are different and I think the discussions can be more focused if the issues are addressed by the relevant wgs. As to what happens if the spring draft hits the IESG and contains text in violation of RFC8200, I had already sent my thoughts about this back in September
> 
>      
> 
>     https://mailarchive.ietf.org/arch/msg/spring/uA-WxxgBJeMu65SkrKCTL5BJMcU <https://urldefense.com/v3/__https:/mailarchive.ietf.org/arch/msg/spring/uA-WxxgBJeMu65SkrKCTL5BJMcU__;!8WoA6RjC81c!VVaoO_crkvFgYmFJ0jxbrktSCLgt3HBTWrc-PPq5J1uMrJpL9oObm6RakvUsS3u0$>
> 
>      
> 
>     with the relevant text 
> 
>      
> 
>     "If a draft violates RFC8200 and it hits the IESG for evaluation, I will certainly hold a DISCUSS position until the violations are fixed.”
> 
>      
> 
>     *In my view*, the authors of the SRv6 NP draft have made an effort to address these violations by removing the header insertion from the draft. We can continue discussing whether penultimate hop popping constitutes a violation on the spring mailing list (I intend to respond to Fernando’a mail there).
> 
>      
> 
>     Thanks
> 
>     Suresh
> 
>      
> 
>         On Dec 7, 2019, at 11:07 AM, Fernando Gont <fgont@si6networks.com <mailto:fgont@si6networks.com>> wrote:
> 
>          
> 
>         On 6/12/19 23:47, Brian E Carpenter wrote:
> 
>             Again, comment at the end...
>             On 07-Dec-19 14:37, Fernando Gont wrote:
> 
>                 On 6/12/19 22:15, Brian E Carpenter wrote:
>                 [...]
> 
>                      
> 
>                         and if such a thing is required, an update to RFC8200 should be done.
> 
> 
>                     Why does that follow? Alternatively, draft-ietf-spring-srv6-network-programming could acknowledge that it deviates from RFC8200.
> 
> 
>                 You can deviate from s "should", not from a "must". This is an outright
>                 violation of a spec, rather than a mere "deviation".
> 
> 
>                     Whether that's acceptable would be a question for the IETF Last Call rather than any single WG.
> 
> 
>                 I would expect that a WG cannot ship a document that is violating an
>                 existing spec, where the wg shipping the document is not in a position
>                 of making decisions regarding the spec being violated.
> 
>                 That would be like a waste of energy and time for all.
> 
> 
> 
>                     At the moment, the draft only mentions RFC8200 in a context that discusses neither insertion nor removal of extension headers, which is beside the point. Like draft-voyer, if it describes a violation of RFC8200, shouldn't that be explicit in the text?
> 
>                     There's a lot of jargon in draft-ietf-spring-srv6-network-programming. I can't tell from the jargon whether "insert" means "insert on the fly" and whether "Pop the SRH" means "delete on the fly". Should those terms be clarified before the draft advances?
> 
> 
>                 Well, if it's not clear to you, it would seem to me that the simple
>                 answer would be "yes".
> 
> 
>             But if "insert" refers to the encapsulating node at the SR domain ingress, it's no problem, and if "pop" simply means doing normal routing header processing, it's no problem. It simply isn't clear in the text, at least not clear to me.
> 
> 
>         The fact that a folk that has been deeply involved with IPv6 cannot
>         unequivocally tell what they talking about should be an indication with
>         respect to how ready the document is to be shipped.
> 
>         (pop when you are the destination but SL!=0 is essentially 'in the
>         network removal')
> 
>         THanks,
>         -- 
>         Fernando Gont
>         SI6 Networks
>         e-mail: fgont@si6networks.com <mailto:fgont@si6networks.com>
>         PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492
> 
> 
>      
>