Re: [Technical Errata Reported] RFC5884 (5085)

Thomas Nadeau <tnadeau@lucidvision.com> Tue, 15 August 2017 15:22 UTC

Return-Path: <tnadeau@lucidvision.com>
X-Original-To: rtg-bfd@ietfa.amsl.com
Delivered-To: rtg-bfd@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 46C5E1321EB for <rtg-bfd@ietfa.amsl.com>; Tue, 15 Aug 2017 08:22:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=lucidvision.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 7QZ67GwiYHfR for <rtg-bfd@ietfa.amsl.com>; Tue, 15 Aug 2017 08:22:19 -0700 (PDT)
Received: from lucidvision.com (lucidab1.miniserver.com [78.31.106.147]) (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 602EE1321CB for <rtg-bfd@ietf.org>; Tue, 15 Aug 2017 08:22:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lucidvision.com; s=default; t=1502810405; bh=xS/Eev8bUvIWctA7IiW8MROuwzNMqDyszeKX91GKpCI=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=s7AV9cS6C18xTFePFR50N5z4vXrNDrCQGVR252YqYGJ1K3JI/2xUoCu0A9FoyEJV/ Syh9LbRsj5+CnTFIMpqywatYTPjXaD+IYKCK4zNKP1y1iNCvse2kHMf33tur12143s 8HncunFwKiIYjGWqBsm+bjfzFdxTGfJdEA6fiKtE=
X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=50.255.148.181;
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Subject: Re: [Technical Errata Reported] RFC5884 (5085)
From: Thomas Nadeau <tnadeau@lucidvision.com>
In-Reply-To: <FCABC3F4-90AD-417A-A124-A243E2A865B1@juniper.net>
Date: Tue, 15 Aug 2017 11:22:01 -0400
Cc: Jeffrey Haas <jhaas@pfrc.org>, "rtg-bfd@ietf.org" <rtg-bfd@ietf.org>, "swallow.ietf@gmail.com" <swallow.ietf@gmail.com>, "akatlas@gmail.com" <akatlas@gmail.com>, "db3546@att.com" <db3546@att.com>, "aretana@cisco.com" <aretana@cisco.com>, "rrahman@cisco.com" <rrahman@cisco.com>, Balaji Rajagopalan <balajir@juniper.net>
Content-Transfer-Encoding: quoted-printable
Message-Id: <D12657AF-1F27-491F-92CC-276302EECADF@lucidvision.com>
References: <20170811053550.27303B81263@rfc-editor.org> <20170811173930.GJ24942@pfrc.org> <FCABC3F4-90AD-417A-A124-A243E2A865B1@juniper.net>
To: kompella kireeti <kireeti@juniper.net>
X-Mailer: Apple Mail (2.3273)
X-Authenticated-User: tnadeau@lucidvision.com
X-Info: aspam skipped due to (g_smite_skip_relay)
X-Encryption: SSL encrypted
X-MyRbl: Color=Yellow Age=0 Spam=0 Notspam=2 Stars=0 Good=0 Friend=0 Surbl=0 Catch=0 r=0 ip=50.255.148.181
X-IP-stats: Notspam Incoming Last 0, First 823, in=6370, out=0, spam=0 Known=true ip=50.255.148.181
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-bfd/mgsVC6KSZ0pKVTdCWj7agbhqfrs>
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-bfd>, <mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtg-bfd/>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>, <mailto:rtg-bfd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Aug 2017 15:22:21 -0000

> On Aug 15, 2017:11:20 AM, at 11:20 AM, Kireeti Kompella <kireeti@juniper.net> wrote:
> 
> As a co-author, I can say that the intent was that the LSP ping reply be sent, but the BFD discriminator be optional.  Not sending an LSP ping reply could lead to the LSP being torn down.
> 
> The basic idea here is to use LSP ping to bootstrap a bfd session.  But the semantics of LSP ping don't change; not sending a reply indicates that the LSP is down. 
> 
> Kireeti

	That is exactly my recollection of how we designed (and implemented) this too.

	—Tom


> 
>> On Aug 11, 2017, at 10:39, Jeffrey Haas <jhaas@pfrc.org> wrote:
>> 
>> [Note that I have adjusted the addresses in the headers to try to catch the
>> RFC authors' current accounts.]
>> 
>> 
>> The 5884 interop issue keeps bubbling up.  Balaji submitted an errata, which
>> provides us with a good place to start technical discussion.
>> 
>> Please note I also spent some time off-list discussing this errata with
>> Balaji.
>> 
>> 
>>> On Thu, Aug 10, 2017 at 10:35:50PM -0700, RFC Errata System wrote:
>>> Section: 6
>>> 
>>> Original Text
>>> -------------
>>> The egress LSR MAY respond with an LSP Ping Echo
>>> reply message that carries the local discriminator assigned by it for
>>> the BFD session.
>>> 
>>> Corrected Text
>>> --------------
>>> The egress LSR MUST respond with an LSP Ping Echo reply message that
>>> MAY carry the local discriminator assigned by it for the BFD session.
>>> 
>>> 
>>> Notes
>>> -----
>>> It is not clear from the original text which of the following is optional:
>>> -  The egress MUST send a reply, but the discriminator in the reply is optional
>>> -  The reply itself is optional
>>> 
>>> Technically, the reply cannot be optional, because the egress needs to report LSP-Ping verification status to the ingress.
>>> 
>>> The proposed text recommends to include BFD discriminator in the reply. This was the intent of the original text.
>> 
>> My opinion follows:
>> 
>> In section 6 - 
>> 
>> :    On receipt of the LSP Ping Echo request message, the egress LSR MUST
>> :    send a BFD Control packet to the ingress LSR, if the validation of
>> :    the FEC in the LSP Ping Echo request message succeeds.  This BFD
>> :    Control packet MUST set the Your Discriminator field to the
>> :    discriminator received from the ingress LSR in the LSP Ping Echo
>> :    request message.  The egress LSR MAY respond with an LSP Ping Echo
>> :    reply message that carries the local discriminator assigned by it for
>> :    the BFD session.  The local discriminator assigned by the egress LSR
>> :    MUST be used as the My Discriminator field in the BFD session packets
>> :    sent by the egress LSR.
>> 
>> In the text above, I consider it quite clear that the receipt of the BFD
>> packet contains sufficient state to bring up the BFD session.  The receipt
>> of the same Discriminator in the LSP Ping Echo Reply is optional.
>> 
>> This makes sense partially because the reply may be dropped and we want the
>> BFD session to come up as fast as possible.
>> 
>> The point of contention appears to be what to do if we *never* get such
>> replies.  It's worth pointing out additional text in RFC 5884, section 3.2.
>> 
>> :    Hence, BFD is used in conjunction with LSP Ping for MPLS LSP fault
>> :    detection:
>> : 
>> :       i) LSP Ping is used for bootstrapping the BFD session as described
>> :          later in this document.
>> : 
>> :      ii) BFD is used to exchange fault detection (i.e., BFD session)
>> :          packets at the required detection interval.
>> : 
>> :     iii) LSP Ping is used to periodically verify the control plane
>> :          against the data plane by ensuring that the LSP is mapped to
>> :          the same FEC, at the egress, as the ingress.
>> 
>> iii above reminds us that the LSP may be torn down because LSP Ping fails.
>> Thus, it seems problematic that we do not get a reply ever.
>> 
>> However, with the BFD session in the Up state, we have information proving
>> that the LSP is up.  Thus we have contradictory intent.
>> 
>> ---
>> 
>> My opinion is that the MAY in the RFC 5884 procedures is intended to have
>> the BFD session come up by the most expedient means.  I do not believe the
>> likely intent was to say "don't send Echo Reply".  Among other things, that
>> seems contrary to the intent of the general LSP Ping procedures.
>> 
>> Having given my personal observations, we now get to the business of the
>> Working Group: Debating intent and related text.  
>> 
>> -- Jeff