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

Claudio Jeker <cjeker@diehard.n-r-g.com> Tue, 07 March 2023 08:58 UTC

Return-Path: <cjeker@diehard.n-r-g.com>
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 68C43C14CE54 for <idr@ietfa.amsl.com>; Tue, 7 Mar 2023 00:58:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.895
X-Spam-Level:
X-Spam-Status: No, score=-1.895 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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_NONE=0.001] autolearn=ham autolearn_force=no
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 VEI2a7b6x3g6 for <idr@ietfa.amsl.com>; Tue, 7 Mar 2023 00:58:45 -0800 (PST)
Received: from diehard.n-r-g.com (diehard.n-r-g.com [62.48.3.9]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA512) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B61B2C14CE51 for <idr@ietf.org>; Tue, 7 Mar 2023 00:58:43 -0800 (PST)
Received: (qmail 30089 invoked by uid 1000); 7 Mar 2023 08:58:42 -0000
Date: Tue, 07 Mar 2023 09:58:42 +0100
From: Claudio Jeker <cjeker@diehard.n-r-g.com>
To: idr@ietf.org
Message-ID: <ZAb8wmHcw8tfF5TU@diehard.n-r-g.com>
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>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CAOj+MMGUfxd1LLta9=_HU+uMKcbVVE6ijkG84-ST0LDo3m2MYQ@mail.gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/ZleUXIUjGw5LfTZHWmPfzE7qr8I>
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:58:47 -0000

On Tue, Mar 07, 2023 at 09:11:32AM +0100, 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 ?
> 
> > Of course one may say ... Oh if I configure long enough timers we will be
> > > fine - and that is maybe true - maybe SendHoldTimer will be just an extra
> > > fuse.
> >
> > That seems to be what is proposed, yes.
> >
> 
> Indeed.
> 
> But I am mainly worried that what is proposed here is to smash the session
> because applications have problems on possibly healthy TCP connection.
> 
> See use of zero window is a very valid case in TCP.
> 
> Of course everything depends on the duration hence concern about timers.
> 
> 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.

The publication of RFC793 was 40 years ago and most systems did not
implement this or not correctly in 40 years.  I think that is a pretty
strong reason to not use it.
 
> Sure there were bugs in the past, but should we get blocked by history of
> TCP implementations in linux kernel ?

Since Linux is the only open-source TCP implementation with this feature I
think it is a strong indication that this should be blocked exactly
because of this.

Adding the SendHoldTimer has a benefit to be part of the BGP process and
so no matter what causes a stall it will be noticed at some point.
It is a proper end to end detection while TCP USER TIMEOUT only notices a
specific case of TCP stall.

The simplicity of implementing SendHoldTimer, the fact that TCP USER
TIMEOUT is not widely available and that TCP USER TIMEOUT on the only
open-source stack implementing it was broken for a long time all speak
against draft-chen-idr-tcp-user-timeout.

-- 
:wq Claudio