Re: [mpls] [Technical Errata Reported] RFC3031 (6240)

Adrian Farrel <adrian@olddog.co.uk> Thu, 30 July 2020 22:10 UTC

Return-Path: <adrian@olddog.co.uk>
X-Original-To: mpls@ietfa.amsl.com
Delivered-To: mpls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 95D4A3A0BF0 for <mpls@ietfa.amsl.com>; Thu, 30 Jul 2020 15:10:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.917
X-Spam-Level:
X-Spam-Status: No, score=-1.917 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 jv9QgP_Pok9u for <mpls@ietfa.amsl.com>; Thu, 30 Jul 2020 15:10:21 -0700 (PDT)
Received: from mta8.iomartmail.com (mta8.iomartmail.com [62.128.193.158]) (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 27A253A0BD4 for <mpls@ietf.org>; Thu, 30 Jul 2020 15:10:20 -0700 (PDT)
Received: from vs1.iomartmail.com (vs1.iomartmail.com [10.12.10.121]) by mta8.iomartmail.com (8.14.4/8.14.4) with ESMTP id 06UMA6Qd029414; Thu, 30 Jul 2020 23:10:06 +0100
Received: from vs1.iomartmail.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 553852203A; Thu, 30 Jul 2020 23:10:06 +0100 (BST)
Received: from asmtp2.iomartmail.com (unknown [10.12.10.249]) by vs1.iomartmail.com (Postfix) with ESMTPS id 3F38A2203C; Thu, 30 Jul 2020 23:10:06 +0100 (BST)
Received: from LAPTOPK7AS653V ([84.51.134.26]) (authenticated bits=0) by asmtp2.iomartmail.com (8.14.4/8.14.4) with ESMTP id 06UM9whX013761 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 30 Jul 2020 23:10:05 +0100
Reply-To: adrian@olddog.co.uk
From: Adrian Farrel <adrian@olddog.co.uk>
To: 'Stewart Bryant' <stewart.bryant@gmail.com>, erosen@cisco.com, arun@force10networks.com, rcallon@juniper.net, "'BRUNGARD, DEBORAH A'" <db3546@att.com>, 'Alvaro Retana' <aretana.ietf@gmail.com>, 'Martin Vigoureux' <martin.vigoureux@nokia.com>, 'loa Andersson' <loa@pi.nu>, n.leymann@telekom.de, 'Tarek Saad' <tsaad.net@gmail.com>, jsharma@ciena.com, 'mpls' <mpls@ietf.org>
References: <20200727105210.2D087F40755@rfc-editor.org> <D08CE9EE-32FC-4C35-938F-F5F000AC84B5@gmail.com>
In-Reply-To: <D08CE9EE-32FC-4C35-938F-F5F000AC84B5@gmail.com>
Date: Thu, 30 Jul 2020 23:09:52 +0100
Organization: Old Dog Consulting
Message-ID: <003301d666be$2dcda6c0$8968f440$@olddog.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQLZ7CYLubXC4o8YWkOMLcHihaYx4wLP1RnlpwMcMPA=
Content-Language: en-gb
X-Originating-IP: 84.51.134.26
X-Thinkmail-Auth: adrian@olddog.co.uk
X-TM-AS-GCONF: 00
X-TM-AS-Product-Ver: IMSVA-9.0.0.1623-8.2.0.1013-25574.001
X-TM-AS-Result: No--26.302-10.0-31-10
X-imss-scan-details: No--26.302-10.0-31-10
X-TMASE-Version: IMSVA-9.0.0.1623-8.2.1013-25574.001
X-TMASE-Result: 10--26.302000-10.000000
X-TMASE-MatchedRID: Ync95tbzDRnxIbpQ8BhdbPCkDKmV2gs5qb3/o5s+OcNWtjflsIhD8GHI JDHlV2tiDDBXXAm2sLaBv6+b+rhZvBA2kxuARasNNrV1Ir7i+KUjRU9fPlAgXS62hjZS0WoYMkS dXlI4Qj+g1j27gOXeT6JtVtFk5vb4q9Jr5muzMrEHmSrS4bV22RmyTBaqiJvcRuZoYw1VgQSXLq gY8WI0iDGNOWwsl1tF6fqTVvWccuTCvGwqhr+p7YvqrlGw2G/kAGqL073hbdWFk128d3aZ0KAss uKVAEQ3HPtvkYBn+dvDpu5IUrv+ZEPIUO20h2j88eSmTJSmEv15VKhuUi/rYgOXcOYuFxg8HEKE ygixNPV8RqqeF55FRLLE8nSC4ViYPPoJUXE2kSbQfyKEYQc1R+DTYjejIZTwy8MMEWeOYyWXidr 9etFZ1kAB9oZ2WQwlx7LIB6wkvG1dInhzedP5B8K1Ib9JAALxx9FJ3drdRM2+d8e9SCCBEnLpjZ OzqCLFuQMIY+AZpLfjHO5MDCwumnD1AgDzNq7tUFJbPlmBv8MX2zxRNhh61cuSXx71bvSLRtns0 UtB6mxTgq0L1BcFC/fYx5EY7aRjmnXnnL4AEhozxdO2BTO206OSgZnCaMw2DO+DX+rUwfYf6+yb jmQqN0DmgH3L67N+ZCX/q1YlZm2DbYFEA1i9IlN7BS4nAhYVNNBFtVEGTH29ny4Gg4WzL6xBkvy qVwltiKf5Nsd475FdEyzx91EY1aadrHaWX7kyx/Stmah0FpZkbdIIs/tC0psoi2XrUn/Jsuf7RW bvUtwFdbsG+ieXxwtuKBGekqUpPjKoPgsq7cA=
X-TMASE-SNAP-Result: 1.821001.0001-0-1-12:0,22:0,33:0,34:0-0
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/LkG43X_k1zmX1WRYlsEHXw_Bbv0>
Subject: Re: [mpls] [Technical Errata Reported] RFC3031 (6240)
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mpls>, <mailto:mpls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mpls/>
List-Post: <mailto:mpls@ietf.org>
List-Help: <mailto:mpls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mpls>, <mailto:mpls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 30 Jul 2020 22:10:25 -0000

Except, of course, that the operation on an unlabelled packet is "push one or more labels".

The lawyer in me (who has not been fed this week) thinks that is it possible to stretch bullet c) to cover the case of an unlabelled packet by saying that if there is no label then replacing it with another no label is simple.

I tell the lawyer that it's a stretch, and he replies that he's only a lawyer.

Best,
Adrian

-----Original Message-----
From: mpls <mpls-bounces@ietf.org> On Behalf Of Stewart Bryant
Sent: 28 July 2020 09:03
To: erosen@cisco.com; arun@force10networks.com; rcallon@juniper.net; BRUNGARD, DEBORAH A <db3546@att.com>; Alvaro Retana <aretana.ietf@gmail.com>; Martin Vigoureux <martin.vigoureux@nokia.com>; loa Andersson <loa@pi.nu>; n.leymann@telekom.de; Tarek Saad <tsaad.net@gmail.com>; jsharma@ciena.com; mpls <mpls@ietf.org>
Subject: Re: [mpls] [Technical Errata Reported] RFC3031 (6240)

As the reporter notes, RFC3031 does not provide a complete description of the procedure to use when labelling an unlabelled  packet at ingress.

However, as far as I am aware this has not caused any interoperability issues in the 20 years since its publication.

In any case the text      "d) push a new label on an unlabeled packet” should be      "d) push a first label on an unlabeled packet”

In both the old and new text 

> This may still be a labeled packet, or it
>   may be the native IP packet.

Whilst technically correct through the use of “may” does not tell the full story since the remnant may be a PW packet and we did not update RFC3031 when we published the PW series.

We could safety accept the errata, but I am worried that it is only part of the set of changes needed to cover the case.

In many ways, given the existence proof that people are able to correctly implement MPLS I am inclined to leave the document alone and note this for consideration during an update.

Stewart 


> On 27 Jul 2020, at 11:52, RFC Errata System <rfc-editor@rfc-editor.org> wrote:
> 
> The following errata report has been submitted for RFC3031,
> "Multiprotocol Label Switching Architecture".
> 
> --------------------------------------
> You may review the report below and at:
> https://www.rfc-editor.org/errata/eid6240
> 
> --------------------------------------
> Type: Technical
> Reported by: Jitendra Kumar Sharma <jsharma@ciena.com>
> 
> Section: 3.10
> 
> Original Text
> -------------
> 3.10. The Next Hop Label Forwarding Entry (NHLFE)
> 
>   The "Next Hop Label Forwarding Entry" (NHLFE) is used when forwarding
>   a labeled packet.  It contains the following information:
> 
>   1. the packet's next hop
> 
>   2. the operation to perform on the packet's label stack; this is one
>      of the following operations:
> 
>      a) replace the label at the top of the label stack with a
>         specified new label
> 
>      b) pop the label stack
> 
>      c) replace the label at the top of the label stack with a
>         specified new label, and then push one or more specified new
>         labels onto the label stack.
> 
>   It may also contain:
> 
>      d) the data link encapsulation to use when transmitting the packet
> 
>      e) the way to encode the label stack when transmitting the packet
> 
>      f) any other information needed in order to properly dispose of
>         the packet.
> 
>   Note that at a given LSR, the packet's "next hop" might be that LSR
>   itself.  In this case, the LSR would need to pop the top level label,
>   and then "forward" the resulting packet to itself.  It would then
>   make another forwarding decision, based on what remains after the
>   label stacked is popped.  This may still be a labeled packet, or it
>   may be the native IP packet.
> 
>   This implies that in some cases the LSR may need to operate on the IP
>   header in order to forward the packet.
> 
>   If the packet's "next hop" is the current LSR, then the label stack
>   operation MUST be to "pop the stack".
> 
> Corrected Text
> --------------
> 3.10. The Next Hop Label Forwarding Entry (NHLFE)
> 
>   The "Next Hop Label Forwarding Entry" (NHLFE) is used when forwarding
>   a labeled packet on an LSR or an unlabeled packet on an Ingress MPLS router. It 
>   contains the following information:
> 
>   1. the packet's next hop
> 
>   2. the operation to perform on the packet's label stack; this is one
>      of the following operations:
> 
>      a) replace the label at the top of the label stack with a
>         specified new label
> 
>      b) pop the label stack
> 
>      c) replace the label at the top of the label stack with a
>         specified new label, and then push one or more specified new
>         labels onto the label stack.
> 
>      d) push a new label on an unlabeled packet
> 
> 
>   It may also contain:
> 
>      e) the data link encapsulation to use when transmitting the packet
> 
>      f) the way to encode the label stack when transmitting the packet
> 
>      g) any other information needed in order to properly dispose of
>         the packet.
> 
>   Note that at a given LSR, the packet's "next hop" might be that LSR
>   itself.  In this case, the LSR would need to pop the top level label,
>   and then "forward" the resulting packet to itself.  It would then
>   make another forwarding decision, based on what remains after the
>   label stacked is popped.  This may still be a labeled packet, or it
>   may be the native IP packet.
> 
>   This implies that in some cases the LSR may need to operate on the IP
>   header in order to forward the packet.
> 
>   If the packet's "next hop" is the current LSR, then the label stack
>   operation MUST be to "pop the stack".
> 
> Notes
> -----
> Section 3.10 defines NHLFE, and it sounds from the definition that this piece of information is used by an MPLS router only when packet is already labeled. Now, when section 3.12 (FTN) defines the relationship between FEC and NHLFE, the definition of NHLFE in section 3.10 does not align with FTN definition.
> 
> Instructions:
> -------------
> This erratum is currently posted as "Reported". If necessary, please
> use "Reply All" to discuss whether it should be verified or
> rejected. When a decision is reached, the verifying party  
> can log in to change the status and edit the report, if necessary. 
> 
> --------------------------------------
> RFC3031 (draft-ietf-mpls-arch-06)
> --------------------------------------
> Title               : Multiprotocol Label Switching Architecture
> Publication Date    : January 2001
> Author(s)           : E. Rosen, A. Viswanathan, R. Callon
> Category            : PROPOSED STANDARD
> Source              : Multiprotocol Label Switching
> Area                : Routing
> Stream              : IETF
> Verifying Party     : IESG
> 
> _______________________________________________
> mpls mailing list
> mpls@ietf.org
> https://www.ietf.org/mailman/listinfo/mpls

_______________________________________________
mpls mailing list
mpls@ietf.org
https://www.ietf.org/mailman/listinfo/mpls