Re: [Technical Errata Reported] RFC5880 (7240)

Reshad Rahman <reshad@yahoo.com> Fri, 17 February 2023 16:57 UTC

Return-Path: <reshad@yahoo.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 04FDEC14CEFA for <rtg-bfd@ietfa.amsl.com>; Fri, 17 Feb 2023 08:57:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.093
X-Spam-Level:
X-Spam-Status: No, score=-2.093 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, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hD9GG5NYU-SZ for <rtg-bfd@ietfa.amsl.com>; Fri, 17 Feb 2023 08:57:18 -0800 (PST)
Received: from sonic319-26.consmr.mail.bf2.yahoo.com (sonic319-26.consmr.mail.bf2.yahoo.com [74.6.131.81]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 344A8C14CEF9 for <rtg-bfd@ietf.org>; Fri, 17 Feb 2023 08:57:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1676653037; bh=I6kd7YjhsBHqb/5mCLQO+o9xC9p2POiSanFUZ45mc04=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject:Reply-To; b=RuDkujz2QKDQUlVZe1EKi55bp/O0RnzI56RmDXBw0AKler13a4PdThrZOg6STyPaD+iiSKL1cBRPaCCS+vvN4dTUcsnOAMpbd7+MkAMkLScPMaofrxomOCYc6jjIvtcrMGq9Fol2YbD1+0oFwN1I9QraTCCCoqymK2YDJVy7aLMYOEi6aYS6iTn2KbBWyj04y95fDJoby+hnuR1WlVv5mXn8O9k72sOLFE5uOeWQ8TmQcie6FfaQdqfyw6pf6sM0fJc2oh94IZUHpy52XYAGMzErRL2Lv2Qt4HScs72gIpcdTwIt9Oi9pcaCakz8DZ96q9Iib2xPwKL3IoLxknFbiQ==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1676653037; bh=p7oizNKae3X7wJRLA7sFxUqBCqgrB2/+icDyaLTmd1c=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=s6H3LSknv4qEvrUl/qRnIb4Wy9QI9q+rCYXwPpQMLLbgyP5SZQOOIptKSvtP/+fmdI3jPO/8MxCeFZImLT4cOPtbKrBEZNE0pCLBB0JYEi8UokfmEt4uv9X/U41gM8LEhculOO0npNJMPG5CrqJJbHp06AXSOzecsNZEQVovUlTeSWRGVTOzfcblIXUtJakCYyGRV9v2NsRZXOfYM4w5s3juss6ErqMg+ud8sguxtpfsZHDOYme3YfNXD3KkE+ykWUQo3+7S3FrgK7ZkoZQkeSEfdbPCZs2kYTbwAOcxcNyxhVaY0UMujybw+WTfPX+rfs9rUOzZn0JqIKfPRfc3sw==
X-YMail-OSG: tQNF1OgVM1nKSsENFcwqErSzSB1Iv6dVUzgQunuvdwx9ZjkUTVbxmrg0eRSHBqL mlG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rqWmbJawN6Ljwryfqy9CbnPrJxYEl.VfumIGKL2X4.7.hr.Vp4kicKvpy6 mN2pYVRpyqCjgiYmeZLfepGfElhvSEQuPVXw8CfaAC5mPDQ2iFgzc63U9sZNFwNNkqVZuEEizZ7R 1sURbqbVvRA--
X-Sonic-MF: <reshad@yahoo.com>
Received: from sonic.gate.mail.ne1.yahoo.com by sonic319.consmr.mail.bf2.yahoo.com with HTTP; Fri, 17 Feb 2023 16:57:17 +0000
Date: Fri, 17 Feb 2023 16:47:10 +0000
From: Reshad Rahman <reshad@yahoo.com>
Reply-To: Reshad Rahman <reshad@yahoo.com>
To: Dave Katz <dkatz@juniper.net>, John Scudder <jgs@juniper.net>
Cc: Gļebs Ivanovskis <glebs=40mikrotik.com@dmarc.ietf.org>, John Scudder <jgs=40juniper.net@dmarc.ietf.org>, BFD WG <rtg-bfd@ietf.org>, Jeff Haas <jhaas@juniper.net>, James Guichard <james.n.guichard@futurewei.com>, Dave Ward <dward@packetfabric.com>, Andrew Alston <andrew-ietf@liquid.tech>
Message-ID: <1724793752.1746968.1676652430474@mail.yahoo.com>
In-Reply-To: <B25C1CDC-3E05-48EC-A15E-E24D7C7C640D@juniper.net>
References: <20221106092717.8864310D74@rfcpa.amsl.com> <A89A4B51-3E68-436C-A2B0-03A030608CB9@juniper.net> <e0b5cdbb-ae89-36d2-773e-313c8ca78d3d@mikrotik.com> <B918945D-DF5D-419E-B7B9-F8E3297B61A4@juniper.net> <C52B3B8A-3941-4FE1-9083-4300B5F7A426@juniper.net> <B25C1CDC-3E05-48EC-A15E-E24D7C7C640D@juniper.net>
Subject: Re: [Technical Errata Reported] RFC5880 (7240)
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_1746967_969310290.1676652430470"
X-Mailer: WebService/1.1.21183 YMailNorrin
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-bfd/Ji-1nlEmswGULvVG7Q7totHYrAY>
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.39
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: Fri, 17 Feb 2023 16:57:22 -0000

 Having the diag field as breadcrumb has been extremely useful indeed. But both ends can store last diag field sent/received, we don't have to keep sending the diag field after the failure has cleared. It seems odd to be sending a diag field which happened e.g. a year ago.
Also the text in 6.8.1 says "The diagnostic code specifying the reason for the most recent change in the local session state.". To me that means resetting bfd.LocalDiag to 0 when the state changes to Up.
AFAIK IOS-XR and JunOS reset LocalDiag. It'd be good to hear from other implementations.
Disclaimer: I have no idea what the intention was when the document was written.
Regards,Reshad (no hat).
    On Friday, February 17, 2023, 11:08:43 AM EST, John Scudder <jgs@juniper.net> wrote:  
 
 Hm, OK. So this is now sounding more like a “hold for document update” erratum which is our vehicle for saying “the spec could have been clearer, here is some improved text, maybe use this if you do a bis”.

I can verify it as HFDU with an updated description — if we have some agreed-upon text.

—John

> On Feb 13, 2023, at 4:52 PM, Dave Katz <dkatz@juniper.net> wrote:
> 
> The intent of the diag field is to leave a breadcrumb behind about what caused the last session failure, so that humans and/or fault analysis can try to guess what happened.  If the session comes back quickly, overwriting the diag on the transition to UP will wipe out that information.
> 
> So I actually am changing my mind on this and would oppose the change.  The erratum, to the extent that it exists is actually in the description of the field, which should say (in effect) “the reason for the most recent change in the local session state except for going Up because we know why we did that”, or something.  But the normative text is sprinkled throughout where the spec calls out when to set the local diag value (which is always copied to the protocol packet) and that does not need to change.
> 
> Thanks for making me think twice, er three times, or something.
> 
> —Dave
> 
>> On Feb 13, 2023, at 6:06 AM, John Scudder <jgs@juniper.net> wrote:
>> 
>> I guess it hinges on whether the reinitialization happens when you transition out of Down, or into Up. As the erratum is written now it’s when you transition into Up, which appears to make sense, and applies whether the transition is from Down or from Init. But I’ll wait a little longer for any further discussion before verifying the erratum. 
>> 
>> —John
>> 
>>> On Feb 13, 2023, at 4:37 AM, Gļebs Ivanovskis <glebs=40mikrotik.com@dmarc.ietf.org> wrote:
>>> 
>>> 
>>> Hi!
>>> 
>>> Wouldn't it make sense to re-initialize bfd.LocalDiag when transitioning to Init state as well?
>>> 
>>> Section 6.8.6 describes a case when bfd.SessionState goes from Down to Init:
>>> 
>>>          If bfd.SessionState is Down
>>>              If received State is Down
>>>                  Set bfd.SessionState to Init
>>> 
>>> Best regards,
>>> Glebs
>>> 
>>> 
>>> On 08.02.23 19:58, John Scudder wrote:
>>>> Hi Everyone,
>>>> 
>>>> I plan to verify this in the near future (let’s say, Monday Feb 13) unless anyone objects. 
>>>> 
>>>> Thanks,
>>>> 
>>>> —John
>>>> 
>>>> 
>>>>> On Nov 6, 2022, at 4:27 AM, RFC Errata System <rfc-editor@rfc-editor.org>
>>>>> wrote:
>>>>> 
>>>>> The following errata report has been submitted for RFC5880,
>>>>> "Bidirectional Forwarding Detection (BFD)".
>>>>> 
>>>>> --------------------------------------
>>>>> You may review the report below and at:
>>>>> 
>>>>> https://urldefense.com/v3/__https://www.rfc-editor.org/errata/eid7240__;!!NEt6yMaO-gk!DSW_aH2n7cYViXw08rr41mmdkcad5rzUky6aMWE1XW-uhZqqdIELlYuLQ20Sw8Z1cTiyiqHvd7VyqUJIsm_Lmg$
>>>>> 
>>>>> 
>>>>> --------------------------------------
>>>>> Type: Technical
>>>>> Reported by: Jeffrey Haas 
>>>>> <jhaas@juniper.net>
>>>>> 
>>>>> 
>>>>> Section: 6.8.1
>>>>> 
>>>>> Original Text
>>>>> -------------
>>>>>  bfd.LocalDiag
>>>>> 
>>>>>    The diagnostic code specifying the reason for the most recent
>>>>>    change in the local session state.  This MUST be initialized to
>>>>>    zero (No Diagnostic).
>>>>> 
>>>>> Corrected Text
>>>>> --------------
>>>>> [Proposed text]
>>>>> 
>>>>>  bfd.LocalDiag
>>>>> 
>>>>>    The diagnostic code specifying the reason for the most recent
>>>>>    change in the local session state.  This MUST be initialized to
>>>>>    zero (No Diagnostic).  It MUST also be re-initialized to zero
>>>>>    (No Diagnostic) when the local session state transitions to Up.
>>>>> 
>>>>> Notes
>>>>> -----
>>>>> RFC 5880 at various points calls out setting the value of bfd.LocalDiag as part of state transitions.  The text defining the feature calls for it to be initialized to zero.  However, it doesn't define under what conditions it should be re-initialized to zero.
>>>>> 
>>>>> One possible place where it may be reinitialized is when the session transitions back to Up, indicating that prior issues may have been cleared.
>>>>> 
>>>>> 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.
>>>>> 
>>>>> --------------------------------------
>>>>> RFC5880 (draft-ietf-bfd-base-11)
>>>>> --------------------------------------
>>>>> Title              : Bidirectional Forwarding Detection (BFD)
>>>>> Publication Date    : June 2010
>>>>> Author(s)          : D. Katz, D. Ward
>>>>> Category            : PROPOSED STANDARD
>>>>> Source              : Bidirectional Forwarding Detection
>>>>> Area                : Routing
>>>>> Stream              : IETF
>>>>> Verifying Party    : IESG
>>>>> 
>> 
>