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 A1DC7C14CF12 for <rtg-bfd@ietfa.amsl.com>; Mon, 13 Feb 2023 13:52:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.096
X-Spam-Level:
X-Spam-Status: No, score=-7.096 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, 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="iizZsYlH"; dkim=pass (1024-bit key) header.d=juniper.net header.b="ERnTJ3hc"
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 iPVL48ql230h for <rtg-bfd@ietfa.amsl.com>; Mon, 13 Feb 2023 13:52:17 -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 6449CC14CF0D for <rtg-bfd@ietf.org>; Mon, 13 Feb 2023 13:52:17 -0800 (PST)
Received: from pps.filterd (m0108158.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31DIlTak026645; Mon, 13 Feb 2023 13:52:15 -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 : mime-version; s=PPS1017; bh=dC3CdI9Ak03J8sfATUbJwBm9Z+QJX/PkCS47hysBks0=; b=iizZsYlHt+FasJTQogBkvft4Xfgu6NUEtsoZFbNPXDUpqXJZ2D/LTzj8EsAkOg/URvIR ZGipG7VgwR6TXgPaIOItHtkCTrPWvwKRupv6pQ7MLqRqZxnxeylWFSes70w6U6jITZMI 7P2pQEaeE/WyvmJHc+ACgWzBsMyNRau7H0Bk4Z88oWzwzJr2xKVRrlTsJN8H2Vvm6BMm 1OcnrIds1dkuX1+AZxia2nGZK7AcglMEksAtkHNJwVO3wBXnY1oSGfMaYEsxJ6XlHGUd ss/IrXdspzHUEUmOppV+tO4sKD+KOaUQvXcl5rXT1+5MshRWBtFDh/dUhDm/f99hNww1 Bw==
Received: from dm4pr02cu001-vft-obe.outbound.protection.outlook.com (mail-centralusazlp17012029.outbound.protection.outlook.com [40.93.13.29]) by mx0a-00273201.pphosted.com (PPS) with ESMTPS id 3np7kvu543-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Feb 2023 13:52:14 -0800
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UKTdAljOh2FVNz42/GHHUOC68DIGYkDZoAZ6rDKd9OrPkKobzBb7OwhU5HzMKvFkB/6FPF2PdeVuiDU33cDfpXDTzdvCNk852f1APaFjbomk2u24R49WtXnZ1scTtXTrSpEZORnZMqfbX69407/Me7AIaJMHw/tztKugkjggIbbI5dgskoZyFWvKa1UXxjeP+W9t0XDhODozMfB5DiF8bVN8+NHmVKmahrck+YgYHwBwjplkQRKh2uay6qa+3h39psD9BXTRecwK8yncW+abiBS14TTMIZDSMQIffBl2sKEgaDpKcyhbnIyU2Je89tblMNuI231Ebu3ge2ajECNUvQ==
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=dC3CdI9Ak03J8sfATUbJwBm9Z+QJX/PkCS47hysBks0=; b=Lm0nqMUaGmImcoYDfORQ+kWBmXssdxD/f7eJQPv7/O1WhUg+L7IdLOSzuPMvIBmYqIek7x4L5Gu2DeNnf/RP74nd5/7deiE1aqhb66tBEHqLXMb3lCYQ/ADrNCjeY0TarMDYCmPaIoNcmCcMTDIyw6QdKL6oDoFOO2vkdhLZ0EmK4VSL+Tm+L62rxZ3JarN5oHMe4U3Lfjyh29MU5rCy2ZT33zZw4OjPyScRJKTJhTbnYmvqnyALwHNE9rucKNbCLj06f8zyYVhvbi/9o7uar4C1m8k/QH40EZnRjxfGP5Lrx0Bbc0xJ0M3k1M4jrRMoKprgWgy1Fm1F38oqLdVQaA==
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=dC3CdI9Ak03J8sfATUbJwBm9Z+QJX/PkCS47hysBks0=; b=ERnTJ3hcMvTTKaJFePp9xKyCTgtIOPsZ5oWpk1L/iPF03LIN5pVQlxi6riF07LiYhNhHwVQdQJklPyDzldPRlOtun8FFqQSWy2t5K1AkwydvFq6r3vu0c3Hl7PumntzXMCPxaYB5cSb94mtcgaQTUTN8VZA+YVjguHcdLxjCP1o=
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:10 +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:10 +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: AQHY8cH66OMZWeVgHES4dc6PGQOWBq7F6n8AgAdPn4CAAEr4gIAAaHIA
Date: Mon, 13 Feb 2023 21:52:10 +0000
Message-ID: <C52B3B8A-3941-4FE1-9083-4300B5F7A426@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: a1ef6595-2d89-4353-28fb-08db0e0c8ef6
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: A4shhCeTkGt+i4JJePaAAgonDYoDt2kTXJctqM8/A+8r9EXkkLLF84+EUYoqjU84o3Y2c13WfKJhX3PHayQrGb/atIBAuD0MQrLWbYcQBWDXKSOn7mov+tIWfaGquvBUZ0LeOINfk2cs/VlkXHWW1zhkKT+IJuefm5caiJAPFGc+jBDGD0kIZD8h+QiUuzHdn7AolrF9P6VJiK2Tp0Xw2FKzd+2m7VgRbD6Zz1bf/oQuaQzQoFGiWDfhEGzDYnvj2BBh3S0iJ17kgDdYM/+cj//wQ7pEytzfWkwTzPhFkfisAGHYy7c7TdGZrk67Zsodt1F9yHyebizatc9EI3j6gES1ZLddY68Tm+29QsIv7hjbsoR6XLL1v05aV+1JPkZm+o+PHEbdEDuyO1kjqn67x+TfOL6Ap++atWOyg9sOC9YPM/xomeCkr3SJdOeAtRArJAiRaOHrQvKlleZHCzg4kQ4jsxm8NbNU9UH/fHYE0tcX0tiTT1xzyHjphpluJP3axMKjpaUDwJhmR9s8wmQ0rV0RJ7rskoR1/YhJWRV5WMt4sovzTEByENm7G6STXe3KVKtFCvxF7I3BxU6fqrAQfrMf8GJLPDfVVHiHzfQXShvyNIcHfNECefTEF8y4mXhhgEQav2eH6Tup0poRzJf5CXu8ep0LZGq94AQn1IVKMYXcHdQ0p63FOuNdV7gEsMEbeRUVCHGc/vXLBfsu6hL4S+ZxammzzxzlGq8y9UZXwti0LHa7vm7dx5/SxQ08Dmn6hw2GHQsBYwW5MP15+qQpqw==
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)(166002)(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: B9L3H5YJagJVhecxxjSU479NLCyeDLTo7Oj4abrS+LvATUvpIW+AG5suBeF1Al5yegCQJtBC+jL6n/ZTlwQ4w6xFtdjI59l6dDH9szS79UmitMvgP1RTHQSq3D3iXYNL6eFCs2Hm4bSAdUnV83jXKAL4VE8zuQ/OVs180+eBIDyZXqWGeq1/wMwhZBaRooaHf0za9csPKoFCGtujyIz4ZEtyxGmhAUEH+64c0gVs4tn381k5N39PK/tDDL4K/r6dCdjBxoYXPHreb2W6VcsQ9QKMJi0nIhF3QQ9WqkXpaCLspida2tL7mPdtvXCx2Z02BhSzuIw9tlunQXoH9gAIubdgj6n5lUnR8hvpouy7g/cOuUw75p8TCfoKR/lSArURfJBXt9u9/xueJlvLjJGEgfM7iCx4d0DbXHxD2+DOU3WCZif/C4jZfWNnUZlb2/7UGwamVIp+YVbzVeCinuuwCyuT5QD+c3cEKPEUfUZZurzO6IhSGh9051qJ7Zs/PRZdRIkBJjX0TM2EOd/eAb8rBs4S4Sv0vpFZ4PaeIqrl934RbjJYiy86EBqpCO2EpEZpS15s57vWwXeMLCs67TdSwW89KFupHcOHnxWeJW5SoqD1aCm6tlfxEWwJevkv397PFf3lfvtJvf6ki2D8h57TGcJbBgG0Zwrdk7kTxTHkfJopJUBsJLx+7gyCyNMvgFfliEPJ1Jw+P6DKiiLL1z666mfBu1OLetM4FDyRJjFAVyiJDQlLrSa3MmEh1wHMlGAkTToVQDqcz/ny5A1XTlgzAGLEAtF2Z7sal4C3zUm4QoXCPdDgaWTs6wtMDEUcv/6n7YYs8n4ffVSgdMfYPznm2+BkknvurkpXfP/7/heoVrHlkZxXHrAJdHFNVDh/IKyFVflk4fy6pmFQAA1ECtJW276Ks32C4clGElFcLaRRjt8LfF+D8xluCMD74B+qGwLbav7mPybfWqSguRzlMhZWlaCXwE1GlNdxrBt1Idyh74SyYSN5idMuHLKyLfJZk4lsxT4EmZ6RO29aR+u7chvFYcVoqumTSsN+0jco2xF5ZOwYDZ7mTnpGk2YRBjUMXEQz4ftqUoGTU/UvZ5kVCKiU3AzF9Q7Njbv7Kf/euQ223KUM45KmZY1Tqvx/U74lFz+NI3dvXXXkCj0JzTdeKDDQ/SaPOoG1MhVrwXWkwoH5G0KIMhKBTdo0WEgVcU6UUgZ5/3nl6anIcFEBH7dnQFYLP8naYOelkTk2Zxx5bQRbun5NeAUm+1SWBRxW71OvHxdoBkz6WWCf6IkGutwqPAD6naxAoqF0hIVGIHvghA6Hfq2vn3OygbjpEbOuNWB+VF83vv5A6MMFG2mgWPRMrHActeZ15M2q9jvHIXXE2vZRZxSm8cS1uUAewCO+7qC6ZnsjEbDfJ6mql1Qx1EDkQdNSuIuQbQ5JaTe6Q43VPVIud6yZmkkoxNrh72eeySJZlHr4/G6gwh188Dhl/AGlAODaHdEGMkLrrnpKtXlQOcfPWZNeRW1Dfqsj7GHXY/G5Bob7sdQwiKUsYgAozXRAkPJm6BCA/A+P0I74i1IQ95x2ZczWfL0tfQ1tg0vJLZo7EnOx
Content-Type: multipart/alternative; boundary="_000_C52B3B8A39414FE190834300B5F7A426junipernet_"
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: a1ef6595-2d89-4353-28fb-08db0e0c8ef6
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Feb 2023 21:52:10.3481 (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: TnVXElU4BDiDcA+pN4j849YKltfa/IrW8d4FRunTrVUTrXyk0x+eeyalZQAQ+n9ZrF+adRFZl6dDh2yPpMVduQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR05MB6274
X-Proofpoint-GUID: Oij6kaT5Lo400j4x7vO94X1ucPpWfwUl
X-Proofpoint-ORIG-GUID: Oij6kaT5Lo400j4x7vO94X1ucPpWfwUl
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 phishscore=0 adultscore=0 lowpriorityscore=0 spamscore=0 malwarescore=0 bulkscore=0 suspectscore=0 mlxscore=0 clxscore=1011 mlxlogscore=999 impostorscore=0 priorityscore=1501 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/B9bmu4mUzjmsp93YZ0UyWjQEHlE>
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:21 -0000

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<mailto: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<mailto: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<mailto: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