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:24 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 E5BAF3A2011; Mon, 4 Apr 2022 03:24:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level:
X-Spam-Status: No, score=-2.104 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, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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 lCrsyFzJdxZG; Mon, 4 Apr 2022 03:24:45 -0700 (PDT)
Received: from relais-inet.orange.com (relais-inet.orange.com [80.12.70.36]) (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 3265B3A1B53; Mon, 4 Apr 2022 03:24:43 -0700 (PDT)
Received: from opfednr06.francetelecom.fr (unknown [xx.xx.xx.70]) (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 opfednr22.francetelecom.fr (ESMTP service) with ESMTPS id 4KX6Ms5kBlz10Gs; Mon, 4 Apr 2022 12:24:41 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orange.com; s=ORANGE001; t=1649067881; bh=YlFm7wu/JBDbLpigTzvAwPiqps3F8QZr/Rop62GBPo8=; h=From:To:Subject:Date:Message-ID:Content-Type:MIME-Version; b=pW/7U98ytfu7uQ4jhklO6KcQTos3Ax44zFQ7/0Jxljs38pG6la68KC3g5nnEMQoD9 hEoySD1rqxMnTTs2NWqQMjYND8zDPzFl2fwWTNzsaOmW836WvxCw4v02tZWuFcFlbl Jt+ta7Vi0TFcr45y00s2ImagQTwR0BlkDntHjPzhBxGR6pwsWo41HrUjlVZfkAoDuk 466zJbV29CrmTpQsvIOS9tuoSUgoyFmVPHGepajUhRrHZ6lhBOQH9xY18e7CzytdFV TLGzzsm7p3PpxSN+gNew6TSAulYzfNsUmXHaBDf/MqL1xMvLFb2inGj9Wd5o+/ro/I 426xmonHU9/Iw==
From: bruno.decraene@orange.com
To: Greg Mirsky <gregimirsky@gmail.com>
CC: mpls <mpls@ietf.org>, detnet WG <detnet@ietf.org>, "pals@ietf.org" <pals@ietf.org>, Tony Li <tony.li@tony.li>
Thread-Topic: [mpls] [Pals] draft-decraene-mpls-slid-encoded-entropy-label-id (was RE: Please review the PALS/MPLS/DetNet Joint Session minutes)
Thread-Index: AQHYRghPdyCcWZMXlkSTytWLS79NPKzfjfNA
Date: Mon, 04 Apr 2022 10:24:41 +0000
Message-ID: <29061_1649067881_624AC769_29061_205_1_e1e4f154e3bd4d8a928b569b613ab2e2@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>
In-Reply-To: <CA+RyBmVVz=Drv0bbWpTdkxG2DLzGa+sTM1vOnKafp1hMHbAOEQ@mail.gmail.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:24:39Z; 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=e578d5ac-36cb-483c-8c41-babb901de3db; MSIP_Label_f47c794b-e3ab-43f0-9e0f-29fc3e503192_ContentBits=2
x-originating-ip: [10.115.26.50]
Content-Type: multipart/alternative; boundary="_000_e1e4f154e3bd4d8a928b569b613ab2e2orangecom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/pals/kPo-qowBbTh9sejD8XllNgd04R8>
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:24:52 -0000

Hi Greg,

Please see inline [Bruno]



Orange Restricted
From: Greg Mirsky <gregimirsky@gmail.com>
Sent: Friday, April 1, 2022 10:38 PM
To: DECRAENE Bruno INNOV/NET <bruno.decraene@orange.com>
Cc: mpls <mpls@ietf.org>; detnet WG <detnet@ietf.org>; pals@ietf.org; Tony Li <tony.li@tony.li>
Subject: Re: [mpls] [Pals] draft-decraene-mpls-slid-encoded-entropy-label-id (was RE: Please review the PALS/MPLS/DetNet Joint Session minutes)

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.
[Bruno] Good. Thank you.

What I wanted to bring to the discussion is how a transit node does that in the SR-MPLS scenario (RFC 8662<https://datatracker.ietf.org/doc/html/rfc8662>).
[Bruno] The SR-MPLS scenario is just a scenario of MPLS LSP hierarchy (with a different name). When we have a hierarchy of LSPs, the MPLS architecture defines the term Ingress, Transit, Egress on a per LSP basis https://datatracker.ietf.org/doc/html/rfc3031#section-3.15
So in you example there are two cases for LSP/segment level m ("m" refers to RFC3031 section 3.15):
- if the LSR is swapping (or PHP) the top label, this LSR is a transit LSR for that LSP.
- if the LSR is the end of the LSP (i.e. the originator of the FEC), this LSR is an Egress for that LSP.
In both cases, RFC 6790 applies on that LSP.

Regards,
--Bruno


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://datatracker.ietf.org/doc/html/rfc6790#section-4.1>.  Egress LSR >
[...]

"The EL's TTL MUST be ignored."
https://datatracker.ietf.org/doc/html/rfc6790#section-4.1


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.