Re: [Technical Errata Reported] RFC5880 (7240)

Dave Katz <dkatz@juniper.net> Mon, 13 February 2023 21:52 UTC

Return-Path: <dkatz@juniper.net>
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 3D846C15257D for <rtg-bfd@ietfa.amsl.com>; Mon, 13 Feb 2023 13:52:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, 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=juniper.net header.b="ECphA5Ic"; dkim=pass (1024-bit key) header.d=juniper.net header.b="IVbOiLDc"
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 kC9iU0IiMiA9 for <rtg-bfd@ietfa.amsl.com>; Mon, 13 Feb 2023 13:52:33 -0800 (PST)
Received: from mx0a-00273201.pphosted.com (mx0a-00273201.pphosted.com [208.84.65.16]) (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 16B63C14CF12 for <rtg-bfd@ietf.org>; Mon, 13 Feb 2023 13:52:28 -0800 (PST)
Received: from pps.filterd (m0108159.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31DD66Jq010142; Mon, 13 Feb 2023 13:52:26 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=PPS1017; bh=Aerr1xdt2jc0x81JEX+keIfzN1G8ekiYTfHRwKcRREE=; b=ECphA5IcJeJyW+nRZZRCrrhx85ebTWLXgZaowyCmW39soxL4liHdEOykvYOZ5gcU+eUc BUew6/mwLQpQG1tvAtZ0TAAQap9O8zQk19c0m7JBE8cXAsSWKL52H6vzhOYE4zuvza6q GQbHvqDm10FnlhdB8SgmjbNA9FKswdRUJg9EmxhF2rBY5oHprdrBvaLJbXNN1YYJI2wJ TSbRHe+7CUNMp8XyugbFSFq7oKN+693Z20JIflzSpVofrx5DzKN+EV7RdP8pje9TgJxn G6rjFQ6cKWN7UBhhRRTEIIFJ7Ej+/J7j0oqLzI7KsAArVozLlDri+sV/AhIsohwgbKBp cw==
Received: from dm4pr02cu001-vft-obe.outbound.protection.outlook.com (mail-centralusazlp17012021.outbound.protection.outlook.com [40.93.13.21]) by mx0a-00273201.pphosted.com (PPS) with ESMTPS id 3nqj5bh34n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Feb 2023 13:52:25 -0800
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kBZ6qxyp9gcuyPkBW+FujKrtH8oaPiKzF7BeWNIl1Gg7wQfxvKaifDH1JI5VB82RXfwtIayoaTmxSMck0rjlP2tvl12NcWEZGC7YlBS9NcMFRbdfELDaQOjWMpj/rCKX5WhOD1Bf0XrFW7XkeuEZ/p2NaO+EI51OVD2Xc86dvtUrz0bJ0K+3bmtuVjCDk866s8GqClT4MxRpROCFw5664Z3LyFkzvX0XbezgQ2aV2+y7b/9ZanGUMM1D07UnjxeM+gGprCCOYzdq05r4zbfPI15VUCeeFoybKsKKUWLhvBqeJATqlvRlOzs9LWUiEXEcX7uiEk4Id+P2wrXBXdSBSA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Aerr1xdt2jc0x81JEX+keIfzN1G8ekiYTfHRwKcRREE=; b=Y0IBo8DspFyGqNwTt3yKPZiUa+RuZzOWO0AfEwz3i+BOuwRr+uyb/l0qD1yFi869nhtG9dQYTTXQh06kS4CceRERP2rt3G48vin2QEH9RVi2xwWqc7qIl3LZrXKtUYOPIS4w6AKpMVuNnr8fDkqUOlMI3vAFYzfFqF6/LvVfjh8QcJD7BrerDRCTmRxUof238MYczXbRUHJQzGsEST3oRtqO+H/t+ls1asaiPww65Hf0Rsaa7fMZRCRXsy91rCT3UaAreGTJ9Vh1MdaHRhXumvqPP+LZFQRxVmX70G1kUZ7CgYHsWHff+1YHQmzSXDMdcL8VrLfh6Iyscw+C6cwhvA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=juniper.net; dmarc=pass action=none header.from=juniper.net; dkim=pass header.d=juniper.net; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Aerr1xdt2jc0x81JEX+keIfzN1G8ekiYTfHRwKcRREE=; b=IVbOiLDcgGA0Ps0+BPd1PXTJt/QLtE6TEQWCuabEbR/2Mtukm4drxwhnC8C83ZjXAJV9Uu3VKYR00Lvm1coJP5JDQnaroyr/RCfuaB6X9zgeL91eqW7ZOeKraSRV+ygl+lsXI44wVNdN7wRSQ+PHF6rB6mZNUvbf8/vVBiXyxx4=
Received: from CO6PR05MB7601.namprd05.prod.outlook.com (2603:10b6:5:353::14) by BN7PR05MB6274.namprd05.prod.outlook.com (2603:10b6:408:d::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.22; Mon, 13 Feb 2023 21:52:13 +0000
Received: from CO6PR05MB7601.namprd05.prod.outlook.com ([fe80::8448:798b:f7b0:aa4b]) by CO6PR05MB7601.namprd05.prod.outlook.com ([fe80::8448:798b:f7b0:aa4b%8]) with mapi id 15.20.6086.024; Mon, 13 Feb 2023 21:52:13 +0000
From: Dave Katz <dkatz@juniper.net>
To: 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>, Reshad Rahman <reshad@yahoo.com>, Andrew Alston <andrew-ietf@liquid.tech>
Subject: Re: [Technical Errata Reported] RFC5880 (7240)
Thread-Topic: [Technical Errata Reported] RFC5880 (7240)
Thread-Index: AQHY8cH66OMZWeVgHES4dc6PGQOWBq7F6n8AgAdPn4CAAEr4gIAAaNyA
Date: Mon, 13 Feb 2023 21:52:13 +0000
Message-ID: <CCB8EB02-1C94-45E2-AF08-271197438D23@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>
In-Reply-To: <B918945D-DF5D-419E-B7B9-F8E3297B61A4@juniper.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-mailer: Apple Mail (2.3696.120.41.1.1)
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: CO6PR05MB7601:EE_|BN7PR05MB6274:EE_
x-ms-office365-filtering-correlation-id: 8feae3c9-679b-4dd8-ff7d-08db0e0c90bf
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: lKmMs2p2Frgc97qYXXwH+g90KAxdgX8jxrBA9+opLtYWOq+4wfW0GN13liiD7hmFVm88JXyOkYYC4v/t1fRtilV1QvCDQZapnaILh/5NttiOcRJA7nywPhl3NwJZY7p1v6BMlpyp706Crzeq6njDDPo0gfyNcXgBb9YF8+GbRCiFtDQt3YooaybERXsjclmbht9oOor5My9aV8BBe0B373RnqS12srgoVdaLoEwulfhOg4ig147JVqjt8o5RX870iVSqKUfDVFoseD2wj/myxK4X4BwB3SCerGmvVUWpxa5MT9iiIpP5+BC5aX0iwvfEF8q6KQxFO92ZoLYVVApd18TXfPbv5WvDy3Zg0JKGTdHeShuj7Bmyada3ysNxdDRCMH4gh+I9JLOPpZz6DyQ39MHB+MG2CZYMYHDdBEos7rGzu6dzETlXb41fQC/EdadMTSmzk0iPlIJd279ogVSxC4f1UR28RqBVn8lkg462MRYxoLFxmqlBQIcau1AJdT8wlYKFG4Zr7D5aAMUofX7QWFaN1I6bW8ppUcS8NSuXENz9kgbImSPq3WNw11BcmRqbxY/zfhH//zkKrI0sVNU4wLkCsRFjay5CmxwjU/Hv35CSOdS37LKS4DM40vvIYB6BSGQogctc6qT4aPYfonz31ERJZCRKGi8QjJ2IjNF2RV3F5k7pRNCEzIMCmpd2y/RlYY/6qUCRHN4FWMEcaaKPe+BuWzeQStZQOG/Iwe0vCSzP2nTXYpFJPnn8LEoq+B5QH4M2NebhmP0evW8y/RNrpA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR05MB7601.namprd05.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(376002)(366004)(346002)(396003)(136003)(39860400002)(451199018)(66574015)(91956017)(66446008)(4326008)(76116006)(64756008)(8676002)(66946007)(37006003)(66556008)(54906003)(316002)(41300700001)(66476007)(6636002)(83380400001)(53546011)(6506007)(186003)(26005)(38070700005)(33656002)(36756003)(8936002)(71200400001)(6862004)(6512007)(86362001)(478600001)(5660300002)(122000001)(38100700002)(2906002)(6486002)(966005)(2616005)(45980500001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: egoUyoocm2YqRg0IputLhW2I4HrXqfx6Z9BS/c1bUL1VLTYTsDp7rvKE+DqDTjCzyZEUvQ7jB206eRPlG6ffWgcdX6ubVXbFRMaz4a2h2Jr3wXYBlsA5B7mtDFfn4JzWay7eeoNG6kqqVe4qPhPLyrJJ/VBlY3Js5rPVE9fZbE9XcskCzui6vGzrUSFtAIr3I359gz67Q08e2aEz7mLxgxVKQal4RLFjjGU0m8Ymp2OomjvZKzJqG8RGS5ml3Lv+iUCupWlM3pMCtZorAzwrFoGtWA6x8kScafRvu4oBOsopUt9bVik+ecC9YPy4GEmmyB3wuRVzwyNYdLLfAloX8AoRxrWsTPMIXFbJ6Asuu62sXVGpYsWtef7CLIZNK9aQOG6qVC6a9wv8DkAzvFSnQXGnSu2SrEkAvVQ2G/qMQQBQ6D9HbMrID7g2DJnYE+SwH7evlRfV2kKXPjC2sI5Wua/dLG9YZpqZLcYhaOpLRUg2exUbsh0XAsU/otIuWD8yoY0ArT6fgkozTn/e6OMan6iBGhJbVhkLPH1oZ7O/sfcXAuSk4dBcCSkRSXBVjFFLzy70gVn+KnlBRYwFzCyAAIXKZJodG+23T82Y2Z6kP2K+0j8ERsYAs90upFH7YLkqj+PbrJanfLCInastThWCgz7jWJlN9C/wdQA1E+wPM6I8uGIcbKxPrMDQ8uAyx1UpNvBwhOTuceZPMcHoPSEt7D+7MEIscd0N3/UVdl9HCCZNMo43Y3YBKDw5l0EGjmJlXoGKIrRzeCE13/3Esmfoj/lVbJdk6tx4oIMtINa5yEyKren309dnq/HJXryjvGeKM0kqmfyS8evmkF19zTP8oJZqEWH8IZRJf3QriOiE8dk4Bl1xjoLhj1+ANKc+pEw0xTDZGmHRZSDx723duoEC/UpIYJNqdtW9vhukEbCeDHFokQGm6v0Dkf3qc+pe58enYR1UM1fkGUXNsVN6T77fC/VbYEpww6er8Zp9aHewMgcnrvDC/PB4bLHSKv2lQZNkOQ9g0olwC3Vr8JyGfAWiPUmLVZ+MIVnqOefn57C+OALqAvJPbKBb0UmAItAp3tXDvp+PNsnqscd80Z8mgU7SnTJ9wp/UZxxcqEfFD+pzF/7ZrddvS2XxbqDDdWlQhh8JTtHxz/GtaRcfMHTk/VE88mNdfPJNpAZxrgBrJjV7CbRprmTDAqR7hZiTltcJ3RpU/d9apZe9bHTzugf/WRSFUxAcdZFH1IT4Kz7Ldwup+FlqbuyvHOqRzXMBJCVmNAgfmGr8SJDzs2PR8VtwamHkyj5RxmeK1ekgB6lIJqjXgcTY0+MpUZ0JPbMiEukzXidyhMRLp6g04sFdfJTeWQgxoEHPCwKdzajVVMxdYLQDUpWgYvYgd2YQO27QCHf8jROboT4Ap8EtafHmV5+GRyPZH8qfOkuLjYx6g8LO3hs91HiLLj5g8zYAybGQ52CTPITzlDHFkJbfHQB00Ghxm3Kig4/e5/b2wXpufnIfi4qesVOwsQ2dod3oukYqxG5gWlKEtPzdkCcSXgVp92UntACA/o9OeVTKI2sIxsQX2tQxSCeeCan9q+4fxCkePNRw6FdD
Content-Type: text/plain; charset="utf-8"
Content-ID: <E39F7684FF03C74F89E3C1573244520E@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: CO6PR05MB7601.namprd05.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 8feae3c9-679b-4dd8-ff7d-08db0e0c90bf
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Feb 2023 21:52:13.3643 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: mdhH0g0wZyRC7l6SwgtGy6pu6jTPSFie4RWwO9WJBvdNY6XfeHJKsHXp85r5XTYg2Y8QKeLk/vtGiv5eFaHWog==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR05MB6274
X-Proofpoint-ORIG-GUID: 7NyryIKRJq9lPZgYlJmEtqKPQdzK4eNJ
X-Proofpoint-GUID: 7NyryIKRJq9lPZgYlJmEtqKPQdzK4eNJ
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22 definitions=2023-02-13_12,2023-02-13_01,2023-02-09_01
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 spamscore=0 adultscore=0 clxscore=1015 lowpriorityscore=0 malwarescore=0 mlxlogscore=999 priorityscore=1501 phishscore=0 suspectscore=0 impostorscore=0 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302130189
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-bfd/x6rOvkjqQPg8n-xJFcY6WG_DvaQ>
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: Mon, 13 Feb 2023 21:52:37 -0000

Note that there are also cases where the diag field is manipulated while remaining in UP state (so you can signal concatenated path failures upstream and downstream) so the current field description is a little sloppy.  But a field description is not a normative requirement…

—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
>>>> 
>