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

bruno.decraene@orange.com Mon, 04 April 2022 10:09 UTC

Return-Path: <bruno.decraene@orange.com>
X-Original-To: pals@ietfa.amsl.com
Delivered-To: pals@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 43E2F3A1B3A; Mon, 4 Apr 2022 03:09:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.008
X-Spam-Level:
X-Spam-Status: No, score=-7.008 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, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=orange.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 NhvyxpaV29qc; Mon, 4 Apr 2022 03:09:34 -0700 (PDT)
Received: from relais-inet.orange.com (relais-inet.orange.com [80.12.70.35]) (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 836FC3A2005; Mon, 4 Apr 2022 03:09:33 -0700 (PDT)
Received: from opfednr01.francetelecom.fr (unknown [xx.xx.xx.65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by opfednr24.francetelecom.fr (ESMTP service) with ESMTPS id 4KX62M4bnfz20Pq; Mon, 4 Apr 2022 12:09:31 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orange.com; s=ORANGE001; t=1649066971; bh=i5Pphjx+dtoAwP20uPUtvJSxr+BGl1wY6EhLTaRn6MQ=; h=From:To:Subject:Date:Message-ID:Content-Type:MIME-Version; b=oQpWLkmUwjki4czwNMC7e2b8CK4QNaW5ZAbkNOr8PKnBj+jUix8308uISWl4hi3bF lSxoi7qBrPh8zj13kGB0rI3Uorn7IxdXTZUu2ZjPi7SQIc911QOpgll/VynEKO3mvY ER74nOyCMyz6atgmPsMc5q3CAly+Tfs+BZiTnx8J3risTjR3S7m/W1Dee929k4cJiu 9655qj161dl3yjH9vSpBoqovWdfQmIyitvGrngPTcLtSoVKcVUzgGhpzSPfoQkgAiq xmc2+pxhUl8Ets2oEF1pDJ8WskbXOcVqnFV+BRFDyfSPt9UV2qNVLxZsZ8dtRe+KjH ZZKOT6aaXA+VA==
From: bruno.decraene@orange.com
To: John E Drake <jdrake@juniper.net>, Greg Mirsky <gregimirsky@gmail.com>
CC: mpls <mpls@ietf.org>, detnet WG <detnet@ietf.org>, Tony Li <tony.li@tony.li>, "pals@ietf.org" <pals@ietf.org>
Thread-Topic: [Pals] [mpls] draft-decraene-mpls-slid-encoded-entropy-label-id (was RE: Please review the PALS/MPLS/DetNet Joint Session minutes)
Thread-Index: AQHYRgsSVlD12PjCk0yZTCFABaTajazfiePQ
Date: Mon, 04 Apr 2022 10:09:31 +0000
Message-ID: <924_1649066971_624AC3DB_924_458_1_bb8a8b1349dc4ec39ba2b306f9674fbc@orange.com>
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>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_f47c794b-e3ab-43f0-9e0f-29fc3e503192_Enabled=true; MSIP_Label_f47c794b-e3ab-43f0-9e0f-29fc3e503192_SetDate=2022-04-04T10:09:29Z; MSIP_Label_f47c794b-e3ab-43f0-9e0f-29fc3e503192_Method=Standard; MSIP_Label_f47c794b-e3ab-43f0-9e0f-29fc3e503192_Name=Orange_restricted_external.2; MSIP_Label_f47c794b-e3ab-43f0-9e0f-29fc3e503192_SiteId=90c7a20a-f34b-40bf-bc48-b9253b6f5d20; MSIP_Label_f47c794b-e3ab-43f0-9e0f-29fc3e503192_ActionId=13f0dd9c-bc7d-41a5-93d8-615eeffaa686; MSIP_Label_f47c794b-e3ab-43f0-9e0f-29fc3e503192_ContentBits=2
x-originating-ip: [10.115.26.50]
Content-Type: multipart/alternative; boundary="_000_bb8a8b1349dc4ec39ba2b306f9674fbcorangecom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/pals/iKgyw0QrxWz-E7K537uEjfxcMiM>
Subject: Re: [Pals] [mpls] draft-decraene-mpls-slid-encoded-entropy-label-id (was RE: Please review the PALS/MPLS/DetNet Joint Session minutes)
X-BeenThere: pals@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Pseudowire And LDP-enabled Services dicussion list." <pals.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pals>, <mailto:pals-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pals/>
List-Post: <mailto:pals@ietf.org>
List-Help: <mailto:pals-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pals>, <mailto:pals-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 04 Apr 2022 10:09:41 -0000

John,

Please see inline [Bruno]



Orange Restricted
From: John E Drake <jdrake@juniper.net>
Sent: Friday, April 1, 2022 10:57 PM
To: Greg Mirsky <gregimirsky@gmail.com>; DECRAENE Bruno INNOV/NET <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)

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.

[Bruno] This is specified in RFC 6790.
>From what I read, you seem to read "Egress" as the egress of the last LSP/label of the label stack. This is indeed one point of view, especially from a VPN point of view. However, RFC 6790 (and RFC 3031) defines Egress as the Egress of a LSP. Cf https://datatracker.ietf.org/doc/html/rfc3031#section-3.15



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.
[Bruno] No, this is not the correct answer when PHP is enabled. The correct answer is specified in RFC 6790: the Egress of the LSP must remove the ELI/EL from the stack. (with PHP enabled the PH "will pop the forwarding label at the top of stack which will expose the ELI/EL" but must not remove the ELI/EL from the stack. To begin with, this PH may not be 6790 capable)

--Bruno

Yours Irrespectively,

John



Juniper Business Use Only
From: Pals <pals-bounces@ietf.org<mailto:pals-bounces@ietf.org>> On Behalf Of Greg Mirsky
Sent: Friday, April 1, 2022 4:38 PM
To: Bruno Decraene <bruno.decraene@orange.com<mailto:bruno.decraene@orange.com>>
Cc: mpls <mpls@ietf.org<mailto:mpls@ietf.org>>; detnet WG <detnet@ietf.org<mailto:detnet@ietf.org>>; Tony Li <tony.li@tony.li<mailto:tony.li@tony.li>>; pals@ietf.org<mailto: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<mailto: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<mailto:mpls-bounces@ietf.org>> On Behalf Of Greg Mirsky
Sent: Thursday, March 31, 2022 6:00 PM
To: Tony Li <tony.li@tony.li<mailto:tony.li@tony.li>>
Cc: mpls <mpls@ietf.org<mailto:mpls@ietf.org>>; detnet WG <detnet@ietf.org<mailto:detnet@ietf.org>>; pals@ietf.org<mailto: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<mailto:tony.li@tony.li>> wrote:

Gentlebeings,

On Mar 31, 2022, at 8:29 AM, Greg Mirsky <gregimirsky@gmail.com<mailto: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.

_________________________________________________________________________________________________________________________

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.