Re: [Idr] WG LC for draft-ietf-idr-bgp-sendholdtimer-03 (3/23 to 4/12/2024)

Ben Maddison <benm@workonline.africa> Mon, 25 March 2024 10:44 UTC

Return-Path: <benm@workonline.africa>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 915AFC14F685 for <idr@ietfa.amsl.com>; Mon, 25 Mar 2024 03:44:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.109
X-Spam-Level:
X-Spam-Status: No, score=-7.109 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, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=workonline.africa
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 BlB95SCoaJ-W for <idr@ietfa.amsl.com>; Mon, 25 Mar 2024 03:44:17 -0700 (PDT)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2105.outbound.protection.outlook.com [40.107.13.105]) (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 2BAFFC14F605 for <idr@ietf.org>; Mon, 25 Mar 2024 03:44:14 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HN2bk2ZMs4izl5hBxzU76FuaqYT6/vOuYjNpLBRMOYZRXGjfY0YQd9QxT6p7C3pln7qA2TvNdh6/aDrwQU0BMNWKfrYiUVYn2EgKkBJiiesMBhLwKXzLUIvtvP4n1MOVyAlvZlgUQRGEfaiAOw4ZP/utF5M/bM8sNcPj9yT6u8WmYi9DIOdLclB9aUNzk9mEpmMxjqS7hhEZANXvXQ0v+DkUBJogPffsDUQwbUIWLBU89W7i1YVCMXbJ0jiPT1cKkP/BsTlYLjxkkn4P8aK+2+h0w47H26ficezOr89omV1qfE4ljYuvblriv6ucCN01Kj6Kxv2jionIlCiD2a1i6Q==
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=wxpDB3JtyK1iqNQWeKwXNO4s3UKPM38eYLYCnmQmo34=; b=anazm3dSk9f2CGllnQm2ZjoTa2FFDwNgYbm1L1WLLmyn2hoWW5XeYjkuMYm00VQn5xJux87ElNFWRvePkeie51YpFAthw+8aZ1VO8XkZR7xe6Dh9wHKh9cldTYB4WRirKINJ7F7QvA4sCarYmsxEgNrOD7Q0LQOJpE/MmluRf/rgZ80Q/EJ2NtRhXaIc1/D1XluEGyChcTvzyiqH0ooGlxmEUgIXRit3YvxLMygxkS1j3AyAkDtbYYN5zimqZKj7yOo8sFcuh9Xtz/SpHFSop3VfntMKQgQaDdvivHBp1nuHc5rJnihhugcOLbghQwdL/d2t1d39gwtYMP5cghNGuw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=workonline.africa; dmarc=pass action=none header.from=workonline.africa; dkim=pass header.d=workonline.africa; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=workonline.africa; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wxpDB3JtyK1iqNQWeKwXNO4s3UKPM38eYLYCnmQmo34=; b=W/2EfhKarcPU8gVOWeXC325VQRIO8VhkoemTMmNsMI345Tb11/mE1THfAb/dRtCKvRjbW3Rpr0fMnh6sQIlcnHlPXpaQBvrxCuWJm8D6+8bhuRjW1FE/w8aJDCNhy/TwDcH/hOnA8J1JhhLGiy0HCnM0a7gdJ6WUuFmQ8347SQA=
Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=workonline.africa;
Received: from AS8P190MB1078.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:2e7::13) by PR3P190MB0940.EURP190.PROD.OUTLOOK.COM (2603:10a6:102:8f::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.31; Mon, 25 Mar 2024 10:44:10 +0000
Received: from AS8P190MB1078.EURP190.PROD.OUTLOOK.COM ([fe80::cc5a:f8bb:6118:9752]) by AS8P190MB1078.EURP190.PROD.OUTLOOK.COM ([fe80::cc5a:f8bb:6118:9752%7]) with mapi id 15.20.7409.028; Mon, 25 Mar 2024 10:44:10 +0000
Date: Mon, 25 Mar 2024 12:44:04 +0200
From: Ben Maddison <benm@workonline.africa>
To: Susan Hares <shares@ndzh.com>
Cc: "idr@ietf.org" <idr@ietf.org>
Message-ID: <z7xyp2afi6eqobgl5vpvl6as2yit6lyv3ye4so727gzobl4gdt@jp4akmw5lh7b>
References: <DM6PR08MB48574BAABAAC203EA2F9F139B3312@DM6PR08MB4857.namprd08.prod.outlook.com>
Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="y32oqr6ednz2thhn"
Content-Disposition: inline
In-Reply-To: <DM6PR08MB48574BAABAAC203EA2F9F139B3312@DM6PR08MB4857.namprd08.prod.outlook.com>
X-ClientProxiedBy: CT2P275CA0070.ZAFP275.PROD.OUTLOOK.COM (2603:1086:100:27::7) To AS8P190MB1078.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:2e7::13)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: AS8P190MB1078:EE_|PR3P190MB0940:EE_
X-MS-Office365-Filtering-Correlation-Id: bceb8824-2fa9-4329-55a4-08dc4cb880ee
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: Cc66Y99uFSQ288mXz2zbfUgkv9Yn3Yan28MTRkN24FlEQNL9KB5Rgpin08tBoDJQeO8hxGedoT4w8hgTg3pPrgFrVvbAlnMxjsaIle8itenfVc334yx96nVRzOtlbo2JzihHiuHc/xR00XoHfteBzWEKLc9C2RTrivqZ6wsyKIOLdc3l83daTjIXRhXzzpqBWME491AqhU12R8nVqzdYGcv5a9ikcMDAmUIlTamSLi3ViOOVb8fqcCD4OSGNRmDfT2aqKngX4UL9c3/YNKw8fR9tUA7vHYBBDI6jysI0X1Rt7aOcD+uBFk+M9KIFYPK6OQ9JOC4TzoK0C2ig70golTZKbzPQ9vKaoLfp9fTUEfrUzrxbxTy/dxDv9XidbBWHDEmC+sqnpnUtVcHI75jtFr/sMJm9QkBCnVOae/r9s4PmRmqXUH/ofJUB42oaQlUDdJXK2DLd+2h0XEaGgEAghTYdBQmXeAuEDcV4Kd17vuV0S4W+PCC/Pc4zWADYoMI8lElVdiFJDSIGh3M/K6WsbaBRwIrBDntdqIAW6uRe8QEABHWQvvjHg+5YlnPDqVjZH3Q3WyRnYOw5P4XOJdeKAZCOoS9ghxQQnD+hkzRF4b4=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8P190MB1078.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230031)(376005)(1800799015)(366007); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiS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Zr4c1btKilHJ0d+pCaDo0765SWEK6fbBrza5fWHjtD2IyV9fOiqcjmNS379pyqU49aYsBD+HbARvjh1EDiFgK4RdI9CJ339IPIEUb7TphhNuziKcCEXo7X54IaakFycVWy86/c7PzQi2u7hVwZCa0UFIGEwfb4Mfe869X+3l2BSanQwOrbPhwRkqv6XCzuKLg/39Dzz4EuC3MidHo2d9xncYCKcImJl03rXZSDyp6BYUltlYQ22wOgg2QihvUcjGR13iw2n4Tu+827DynjIHJvbq+lTtCSzNXUwzdr464CiimTHqjBj18SbHt/yTbqbLWYEbog3izu/z4uP7Tql4z5+4pRxjhJUxN0MixSzP6fuVtFMxXa4TOTCGIs3Zl0NA8zbZdigCo5qN9LZyp0C3+lEYRgzuhkLB95Ppza5MGGiOHe5BMwsZK+tdlwlTie7rP7cBlGH1tgoKpVEKGaCf/fv/z59Z1BtRvKKc7d3BWJtz12/pgFbE+YIZUHrpr7W/FyiJ+P19e5o8eQMx+NzUN/K9g5T4aTcWuYhVSHUvX7F1P+cXJG/uWJiD6U9tmoEJOAECycg==
X-OriginatorOrg: workonline.africa
X-MS-Exchange-CrossTenant-Network-Message-Id: bceb8824-2fa9-4329-55a4-08dc4cb880ee
X-MS-Exchange-CrossTenant-AuthSource: AS8P190MB1078.EURP190.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Mar 2024 10:44:10.3408 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: b4e811d5-95e8-453a-b640-0fba8d3b9ef7
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: PEg31RS9uZy9ChJpMO0ueW1vHlw7kykr3VgGEWmV9j/VDvkLMnY43RrYF7W8XSAHeIIKrE88rZjBqvtOVwPhqQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3P190MB0940
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/5oTHeqDQ4k-LE0xAqQBKVTNOAzQ>
Subject: Re: [Idr] WG LC for draft-ietf-idr-bgp-sendholdtimer-03 (3/23 to 4/12/2024)
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Mar 2024 10:44:21 -0000

Hi all,

On 03/22, Susan Hares wrote:
> This begins a 3-week WG LC for draft-ietf-idr-bgp-sendholdtimer (3/23/2024 to 4/12/2024).
>  https://datatracker.ietf.org/doc/draft-ietf-idr-bgp-sendholdtimer/
> 
> The authors should reply to this message indicating if they know of any IPR relating to this draft.
> 
> This draft modifies RFC4271's finite state machine.  Please review it carefully.

I am pleased to see this document progressing, as it addresses an
important issue in real world routing operations.

I support the approach, and would like to see it published as an RFC,
modulo the following comments.

I have read the current draft, and had several suggestions, including
clarifying the relationship between the values of KeepaliveTime and
SendHoldTime, which I have provided to the authors in [0].

The only remaining issue, which I believe warrants further discussion in
the WG, is the guidance that BGP speakers should send a NOTIFICATION in
response to the SendHoldTimer_Expires event.

Although I appreciate that for the purposes of internal consistency it
is desirable that the FSM mandates a consistent set of steps to take
when tearing down a session, I think in this case it results in further
contradiction.

Consider the possible outcomes for an implementation responding to a
SendHoldTimer_Expires event by sending a NOTIFICATION to its peer, as
written currently. Either:

1. The local speaker waits indefinitely for confirmation that the
   message has been sent on the socket, delaying the closure of the TCP
   connection, and defeating the objective of the timer entirely; or

2. The local speaker successfully sends the message to its peer, and
   finds itself in the contradictory position of having successfully
   sent a message to the peer, whilst handling a condition that has
   arisen due to its supposed inability to do exactly that!

I believe that the intention here is that the local speaker performs its
internal bookkeeping and event logging using the "Send Hold Timer
Expired" error code, but only attempts to send the NOTIFICATION to its
peer if it can do so without blocking the remainder of the session
clean-up.

Similarly, it seems unnecessary and confusing to restart the timer when
a NOTIFICATION is sent.

I have attempted some wording changes to address this, and submitted
them for review in [1]. I would be glad to hear the thoughts of
participants that are more practised in FSM surgery on this.

Cheers,

Ben

[0]: https://github.com/bgp/draft-ietf-idr-bgp-sendholdtimer/pull/2
[1]: https://github.com/bgp/draft-ietf-idr-bgp-sendholdtimer/pull/4