Re: [Idr] WG Adoption call for draft-spaghetti-idr-bgp-sendholdtimer-09 (2/28/2023 to 3/14/2023)

Mikael Abrahamsson <swmike@swm.pp.se> Tue, 07 March 2023 08:59 UTC

Return-Path: <swmike@swm.pp.se>
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 8E173C14CE51 for <idr@ietfa.amsl.com>; Tue, 7 Mar 2023 00:59:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.094
X-Spam-Level:
X-Spam-Status: No, score=-7.094 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_H3=0.001, RCVD_IN_MSPIKE_WL=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=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=swm.pp.se
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 bzkybp__8Zik for <idr@ietfa.amsl.com>; Tue, 7 Mar 2023 00:59:40 -0800 (PST)
Received: from uplift.swm.pp.se (swm.pp.se [212.247.200.143]) (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 611F3C15153E for <idr@ietf.org>; Tue, 7 Mar 2023 00:59:39 -0800 (PST)
Received: by uplift.swm.pp.se (Postfix, from userid 501) id C7293B4; Tue, 7 Mar 2023 09:59:36 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=swm.pp.se; s=mail; t=1678179576; bh=1IRVY2n3vQbdQH1KDwg3+y+pfmR0P1m8sxH+PFjzbgU=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=xL7xvKc9AqiKp10qd6f0ZvM0W3ZOs14zMYd9rDk4AqaW+pB19Mh4NST36+E9qNRfZ jaGJecM2b5sqE9aNeRMNgJeNXWVe7xMrR7012O6ZzFN2YJLa+KiU1gHDPeTw7yALAM AwPIOGRlabnxpXZP9fGE0BqDox/Y+jw+I4tL5Hos=
Received: from localhost (localhost [127.0.0.1]) by uplift.swm.pp.se (Postfix) with ESMTP id C45E2B3; Tue, 7 Mar 2023 09:59:36 +0100 (CET)
Date: Tue, 07 Mar 2023 09:59:36 +0100
From: Mikael Abrahamsson <swmike@swm.pp.se>
To: Robert Raszuk <robert@raszuk.net>
cc: Job Snijders <job=40fastly.com@dmarc.ietf.org>, idr@ietf.org
In-Reply-To: <CAOj+MMGUfxd1LLta9=_HU+uMKcbVVE6ijkG84-ST0LDo3m2MYQ@mail.gmail.com>
Message-ID: <alpine.DEB.2.20.2303070953000.2636@uplift.swm.pp.se>
References: <BYAPR08MB4872FD426205CAC6F82D22BEB3AD9@BYAPR08MB4872.namprd08.prod.outlook.com> <AM7PR07MB6248673BB25E0C0BCDBEE480A0B69@AM7PR07MB6248.eurprd07.prod.outlook.com> <CAOj+MMHF9G5-CmGPJpWja=1kgBrV=EYtzyhQr9La1722=D+ugA@mail.gmail.com> <m2edq1ac7s.wl-randy@psg.com> <ZAZSyywxxg0HkaDw@snel> <CAOj+MMGiB8iiqKbj40kZsSFAQXCQ+baGQWuA7oQ1D0qF5aygeQ@mail.gmail.com> <alpine.DEB.2.20.2303070725390.2636@uplift.swm.pp.se> <CAOj+MMGUfxd1LLta9=_HU+uMKcbVVE6ijkG84-ST0LDo3m2MYQ@mail.gmail.com>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
Organization: People's Front Against WWW
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"; format="flowed"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/PRhgPGGa5z8PeQmFvAjGD4Td1K4>
Subject: Re: [Idr] WG Adoption call for draft-spaghetti-idr-bgp-sendholdtimer-09 (2/28/2023 to 3/14/2023)
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: Tue, 07 Mar 2023 08:59:46 -0000

On Tue, 7 Mar 2023, Robert Raszuk wrote:

> Martin & Mikael,
>
>
>>> My main issue with what is proposed here is that it completely ignores
>> TCP
>>> keepalives.
>>
>> What would the draft do to TCP keepalives? If the receiving application
>> has stopped reading from the socket then TCP keepalives will still run as
>> normal.
>>
>
> I am not sure I follow ... Isn't the objective here to detect when sender
> (your bgp peer) is not sending ? Or you want to also detect local "reading
> from socket" issues and RST BGP session ? Really ?

One reason the sending TCP socket stalls and is because the reader stopped 
reading from the socket. From the draft:

"Implementation of a SendHoldTimer should help overcome situations where 
BGP sessions are not terminated after it has become detectable for the 
local system that the remote system is not processing BGP messages."

So yes, that's really one of the issues trying to be addressed. It's 
trying to detect that the other end isn't receiving our messages, by means 
that it can't put in more messages into the output socket for a prolonged 
period of time.

> See use of zero window is a very valid case in TCP.

If the window is zero for 8 minutes then it's sane default to terminate 
the session. If someone has a use-case that involves having zero window 
for more than 8 minutes then they should turn this feature off.

> But what was not answered was why to invent new "overlay" timer if TCP 
> USER TIMEOUT does exactly and much better what is being required here.

That doesn't help, because the problem isn't at the TCP level, it's at the 
application level. TCP works as designed. If receiver doesn't read data 
from the socket, then TCP window goes to zero. Working as expected.

This draft is trying to detect that the receiver isn't reading from the 
socket but still sending valid BGP keepalives etc.

-- 
Mikael Abrahamsson    email: swmike@swm.pp.se