Re: [Detnet] [Pals] [mpls] draft-decraene-mpls-slid-encoded-entropy-label-id (was RE: Please review the PALS/MPLS/DetNet Joint Session minutes)

Greg Mirsky <gregimirsky@gmail.com> Fri, 01 April 2022 21:29 UTC

Return-Path: <gregimirsky@gmail.com>
X-Original-To: detnet@ietfa.amsl.com
Delivered-To: detnet@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A54B53A0D35; Fri, 1 Apr 2022 14:29:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.007
X-Spam-Level:
X-Spam-Status: No, score=-7.007 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-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=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 xvzu0bQ70CoR; Fri, 1 Apr 2022 14:29:08 -0700 (PDT)
Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) (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 623C03A0D02; Fri, 1 Apr 2022 14:29:08 -0700 (PDT)
Received: by mail-lf1-x130.google.com with SMTP id bq24so7174106lfb.5; Fri, 01 Apr 2022 14:29:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WzbPWdP7FOg1tRvX1mSG/cr2Pdk/+bzc1UcVt0WcMu0=; b=cRh3q63SLGFWx2E7B6Z/8sEBUnkARwth6UTXRLC/N8mu36XjYv5EHx752BCK3zuKOr ZhPr7xuSAJldr9a6A7CXAGcHGjtmrgkvPTND8DtWuir6j1RKycNmlPPHz1L4Ndvh9xLO MKCnxlRN8+3q7UZQ6Vn3nLsuEnsnsbelaFTpgib1MaY/nMPKP2gEYtwZSyDfR96gfgRu R5ctiRUDMTlS89LCjK/HSO4z2tPqcJW3M/oNFARLXgXCXS7xZ8y3yMkZZouz5l/q3ps/ 0JqElITI0v/pPN/wgVN19URki2n9q2RiIsLqp4rtyWeal8rZk7aftZEq9mFH7R5P1x/L TVyg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WzbPWdP7FOg1tRvX1mSG/cr2Pdk/+bzc1UcVt0WcMu0=; b=AatxuJOUyK//QH0AJ8e5B+uM9tEEAD+u6XGOYtbFu3J6xYC8xS9Uuqd0O68bL2NXBN sOBJbWXH01SecUvbDOFK0zPI/JtszOayg3N3yZgIG8njmnaI06htLUdVae47NEhkcZxk 8w0JkcT+9QrXi9VEPuuuvtsskd6KSngjmatqdGO0poEtnbEsn0feQgryDg1bNhm6YYVy Pl37JYgkl0iY/9tTiPt8wr+2I0VFROr+BifFwuTijEqWPz5AuqxrIyIbp7zuPq6ivFIV fRN6ki83cL3+gh2TknNnU2my/kkG5r6zvF+1jbQ19PzFDlxw97XmiCbNOwfpXt+1kZt+ G0bg==
X-Gm-Message-State: AOAM532bGWvQvoGGo8U4Z2I3UsCoxPlAO7nDMTk7WgmVYekQbSDom6od Tn+Y/2FCafsA2gIAhiAOUKhxo0TVUCXOj7YoeAM=
X-Google-Smtp-Source: ABdhPJz/I9ve7t56LgyhEjUoqWuPxiKKw1olHJ31RZvLaTwTj+nvpU6rIQ7JTJUhj6ECdmNCQGboazsSYmsZ1N4rwQA=
X-Received: by 2002:a05:6512:2082:b0:443:4236:5f57 with SMTP id t2-20020a056512208200b0044342365f57mr15004915lfr.335.1648848545789; Fri, 01 Apr 2022 14:29:05 -0700 (PDT)
MIME-Version: 1.0
References: <14219_1648628199_624411E7_14219_65_1_c11c63ca0c7649a1ba55d96c03910cd5@orange.com> <DCC3C232-0C45-4541-BDD5-0EF51333F41E@tony.li> <22915_1648659581_62448C7D_22915_418_1_8ef3862f86024a26952e0b183e921360@orange.com> <B33092F8-5417-4E66-9616-A1FD17485B2A@juniper.net> <AM0PR07MB4497D16A36BCAF86C0906457831F9@AM0PR07MB4497.eurprd07.prod.outlook.com> <CO1PR05MB8088A3BB0625E31EA00A3825C71F9@CO1PR05MB8088.namprd05.prod.outlook.com> <AM0PR07MB4497F92905C22CE50453A9F483E19@AM0PR07MB4497.eurprd07.prod.outlook.com> <CA+RyBmWUtX4F_=ntNQw2utpzQdSUq7cY6em-_DF2wgQupveDnA@mail.gmail.com> <FC6C0F13-FFCA-40DD-8297-7753F603C736@tony.li> <CA+RyBmWwYU+pj0df0sp3VZbZkDCKp6VBscoDBcr961MXL4QAQg@mail.gmail.com> <19358_1648829204_62472314_19358_232_4_0c520f449a884e91921cbe826ef8ad14@orange.com> <CA+RyBmVVz=Drv0bbWpTdkxG2DLzGa+sTM1vOnKafp1hMHbAOEQ@mail.gmail.com> <BY3PR05MB8081D02D84508FA437DAC97FC7E09@BY3PR05MB8081.namprd05.prod.outlook.com>
In-Reply-To: <BY3PR05MB8081D02D84508FA437DAC97FC7E09@BY3PR05MB8081.namprd05.prod.outlook.com>
From: Greg Mirsky <gregimirsky@gmail.com>
Date: Fri, 01 Apr 2022 14:28:53 -0700
Message-ID: <CA+RyBmUCPgFV3qSePeoMD3ZAHyud2P4LuHi0K8zNF__j8m1aXg@mail.gmail.com>
To: John E Drake <jdrake@juniper.net>
Cc: Bruno Decraene <bruno.decraene@orange.com>, mpls <mpls@ietf.org>, detnet WG <detnet@ietf.org>, Tony Li <tony.li@tony.li>, "pals@ietf.org" <pals@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000dc3bc905db9e77cd"
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet/h_TshKAOCRqakfQIsaj4AU4UjsI>
Subject: Re: [Detnet] [Pals] [mpls] draft-decraene-mpls-slid-encoded-entropy-label-id (was RE: Please review the PALS/MPLS/DetNet Joint Session minutes)
X-BeenThere: detnet@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Discussions on Deterministic Networking BoF and Proposed WG <detnet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/detnet>, <mailto:detnet-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/detnet/>
List-Post: <mailto:detnet@ietf.org>
List-Help: <mailto:detnet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/detnet>, <mailto:detnet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Apr 2022 21:29:15 -0000

Hi John,
indeed, if ELI is at the top of the stack, then it must be removed along
with EL. In my reading of RFC 8662 I did not find a reference to how EL's
TTL is handled. I think that "a SPRING router: MUST be entropy label
capable and, as a consequence, MUST apply the data-plane procedures defined
in [RFC6790]" helps with the imposition of ELI,EL but seems lacks
sufficient clarity in case of the transit SPRING router disposing of
ELI,EL, particularly in regard of EL's TTL handling. WDYT?

Regards,
Greg

On Fri, Apr 1, 2022 at 1:57 PM John E Drake <jdrake@juniper.net> wrote:

> Greg,
>
>
>
> I pointed this out on the list last June and Bruno and Sasha basically
> called me a twit.  However, the fact remains that RFC 8662 does not
> describe how to get rid of an ELI/EL that is about to rise to the top of
> stack.
>
>
>
> The correct answer is that the node which will pop the forwarding label at
> the top of stack which will expose the ELI/EL must remove the ELI/EL from
> the stack.  Apparently, this is blindingly obvious to the informed reader.
>
>
>
> Yours Irrespectively,
>
>
>
> John
>
>
>
>
>
> Juniper Business Use Only
>
> *From:* Pals <pals-bounces@ietf.org> *On Behalf Of * Greg Mirsky
> *Sent:* Friday, April 1, 2022 4:38 PM
> *To:* Bruno Decraene <bruno.decraene@orange.com>
> *Cc:* mpls <mpls@ietf.org>; detnet WG <detnet@ietf.org>; Tony Li <
> tony.li@tony.li>; pals@ietf.org
> *Subject:* Re: [Pals] [mpls]
> draft-decraene-mpls-slid-encoded-entropy-label-id (was RE: Please review
> the PALS/MPLS/DetNet Joint Session minutes)
>
>
>
> *[External Email. Be cautious of content]*
>
>
>
> Hi Bruno,
>
> thank you for pointing me to the text in Section 4.1. I agree that for the
> case described in RFC 6790, i.e., a single ELI, EL in the stack, that text
> sets clear requirements for disposing of ELI,EL. What I wanted to bring to
> the discussion is how a transit node does that in the SR-MPLS scenario (RFC
> 8662
> <https://urldefense.com/v3/__https:/datatracker.ietf.org/doc/html/rfc8662__;!!NEt6yMaO-gk!TlHg2NIqz8tuFJm-BGu4GUaE6em2PA4SyD5ryXBVvckZ8ca_EDq4xk-NA2fzyJ8$>).
> I think that there's no text in RFC 8662 that establishes equivalency
> between a transit node disposing of ELI,EL if ELI is at the top of the
> stack and the LER per RFC 6790. That might cause different interpretations
> resulting in different handling. How practically we can collect information
> about deployed solutions?
>
>
>
> Regards,
>
> Greg
>
>
>
> On Fri, Apr 1, 2022 at 9:06 AM <bruno.decraene@orange.com> wrote:
>
> Greg,
>
>
>
> > *From:*  Greg Mirsky
>
> > I agree that the wording in RFC 6790 is open to interpretation. It is
> quite possible that a more pedantic developer would put a check for the
> zero value of the EL TTL field
>
>
>
> RFC 6790 says
>
> « 4.1 <https://urldefense.com/v3/__https:/datatracker.ietf.org/doc/html/rfc6790*section-4.1__;Iw!!NEt6yMaO-gk!TlHg2NIqz8tuFJm-BGu4GUaE6em2PA4SyD5ryXBVvckZ8ca_EDq4xk-NUbPRgzM$>.  Egress LSR »
>
> […]
>
> “The EL's TTL MUST be ignored.”
>
> https://datatracker.ietf.org/doc/html/rfc6790#section-4.1
> <https://urldefense.com/v3/__https:/datatracker.ietf.org/doc/html/rfc6790*section-4.1__;Iw!!NEt6yMaO-gk!TlHg2NIqz8tuFJm-BGu4GUaE6em2PA4SyD5ryXBVvckZ8ca_EDq4xk-NUbPRgzM$>
>
>
>
>
>
> To me, that does not read like open to interpretation.
>
>
>
> > And I'm surprised that the authors of the draft claim precisely the
> opposite
>
>
>
> Are you now feeling better about the authors?
>
>
>
> --Bruno
>
>
>
>
>
> Orange Restricted
>
> *From:* mpls <mpls-bounces@ietf.org> *On Behalf Of *Greg Mirsky
> *Sent:* Thursday, March 31, 2022 6:00 PM
> *To:* Tony Li <tony.li@tony.li>
> *Cc:* mpls <mpls@ietf.org>; detnet WG <detnet@ietf.org>; pals@ietf.org
> *Subject:* Re: [mpls] [Pals]
> draft-decraene-mpls-slid-encoded-entropy-label-id (was RE: Please review
> the PALS/MPLS/DetNet Joint Session minutes)
>
>
>
> I agree that the wording in RFC 6790 is open to interpretation. It is
> quite possible that a more pedantic developer would put a check for the
> zero value of the EL TTL field "to ensure that it is not used inadvertently
> for forwarding". Is it possible to check all existing implementations that
> support ELI/EL? And I'm surprised that the authors of the draft claim
> precisely the opposite:
>
>    Hence essentially the TTL field of the EL behaves as a reserved field
>
>    which must be set to zero when sent and ignored when received.
>
>
>
> Regards,
>
> Greg
>
>
>
> On Thu, Mar 31, 2022 at 8:43 AM Tony Li <tony.li@tony.li> wrote:
>
>
>
> Gentlebeings,
>
>
>
> On Mar 31, 2022, at 8:29 AM, Greg Mirsky <gregimirsky@gmail.com> wrote:
>
>
>
> my interpretation of bullet 4 in Section 4.2 RFC 6790 "The TTL for the EL
> MUST be zero to ensure that it is not used inadvertently for forwarding"
> leads me to believe that any other than zero value in the EL TTL field is
> invalid per RFC 6790. Consequently, that packet MUST be dropped. If that is
> not breaking the existing network, please help me understand what is it.
>
>
>
>
>
> Normally, we write clauses that describe such fields as “must be
> transmitted as zero and ignored upon receipt” just to avoid such ambiguity.
> It is unfortunate that RFC 6790 did not utilize this phrase. As it stands,
> it has certainly specified that the TTL field must be transmitted as zero.
> Yes, that implies that any other value is invalid. However, that does not
> guarantee that implementations will check.  In fact, the Law of Lethargy
> (people will do the least amount of work possible) suggests that most
> implementations will not check and will simply ignore the TTL field
> completely.
>
>
>
> However, this is not a guarantee. Any design that attempts to reuse this
> TTL field does run a non-zero risk of being impacted by designs that do
> check and reject such entries.
>
>
>
> IMHO, this by itself is not a serious risk, but risk evaluation is always
> subjective.
>
>
>
> Designs should always acknowledge and articulate the risks that they
> undertake. It is then up to the collective wisdom of the group to weigh and
> evaluate the risks, benefits, and tradeoffs when making a decision.
>
>
>
> Regards,
>
> Tony
>
>
>
> _________________________________________________________________________________________________________________________
>
>
>
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
>
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
>
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
>
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
>
>
>
> This message and its attachments may contain confidential or privileged information that may be protected by law;
>
> they should not be distributed, used or copied without authorisation.
>
> If you have received this email in error, please notify the sender and delete this message and its attachments.
>
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
>
> Thank you.
>
>