Re: [Idr] New Version Notification for draft-spaghetti-idr-bgp-sendholdtimer-05.txt

Robert Raszuk <robert@raszuk.net> Fri, 19 August 2022 20:35 UTC

Return-Path: <robert@raszuk.net>
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 1A69AC14F6EC for <idr@ietfa.amsl.com>; Fri, 19 Aug 2022 13:35:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 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, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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 (2048-bit key) header.d=raszuk.net
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 Y0bhZGEIAGqj for <idr@ietfa.amsl.com>; Fri, 19 Aug 2022 13:35:00 -0700 (PDT)
Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 24269C14F6E5 for <idr@ietf.org>; Fri, 19 Aug 2022 13:35:00 -0700 (PDT)
Received: by mail-ed1-x530.google.com with SMTP id u6so1900952eda.12 for <idr@ietf.org>; Fri, 19 Aug 2022 13:34:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raszuk.net; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=/AXMy3eIzJ2O83aBBkhZqhGWOpDzqprx89QLMrzz62c=; b=PxVM3qWTZLKm4u5PgWB1Tu8N3Fj8LKhH2jSREpXQYANoSYyVhQDpKWSSy/vRbxm/QS zAvY4boFvVcm4NA2YVzFMS0QDe8GnRwHB001jJiZwFUUBGNyh9k/cdI/vwZJjnTNX683 dtHkRgna3nKc/zYKRx/Ho4qIub1HI+2lbt7MPhFXhgfVSGF2qVrMAb0x4of4djemrO9l v/wC6fZ8DD1ZPhB0vK7uxhYKdN+VaItK2wxadZCw9FrXO04jxnTe6NUvasCwirpaAjQV +S0cIjWeEzD4wOhsKFVayZHlPzU7pJGzFiDQH+gBERLg+Gg+3qjhkxLCrJa97vahtkEh BBvg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=/AXMy3eIzJ2O83aBBkhZqhGWOpDzqprx89QLMrzz62c=; b=bLs2Zm6GggwJNK2f6F7SSh1npv1+CDyIC7hCKd3T7x4DPh37l/RZX2jQ/LXn8q2q1B 3S+Sjnf+h69XQZxIkks0NO11zLFzqV1dNLrqB2p6uTXtHu8XzdcPZyiOgwKoPIenuRhj DFMNcN6baRr27zxkDLVKB3p/ypMXQozZUJvu6XGTFfZoyj3FLoaS43sBaojB+NEM66ky Z9KprDvkkVuj6DgMqqZotC8kqU0lBO2BZw0Ag4HmMd/hf3eSPPihPri4uEbBI+q1Dnjl VcB0x5k9yut2XMyOCYd3MfxMh7bHyM2BspNZri/5VQ7gzRYJnA0bvOC9o82OD4E6Gbu3 vZpA==
X-Gm-Message-State: ACgBeo20IdCON/iVqyeZlVwADik3s1TSA+XX7mxX2MOJIf6fmTR8vFmR fjPocEMcZgQyykghOeXvwmv7liSNVEF9yPFpmmY7eP+xF3wy4A==
X-Google-Smtp-Source: AA6agR4F4cvb0Vw46IHZAjceILf/9mvVkfZKCRjrU8BVFVl1H1qAFw9rBchv4/jETEBwKfyGdzdHx3c5TEqJyh2IvFA=
X-Received: by 2002:a05:6402:5508:b0:43a:896e:8edd with SMTP id fi8-20020a056402550800b0043a896e8eddmr7219597edb.203.1660941298430; Fri, 19 Aug 2022 13:34:58 -0700 (PDT)
MIME-Version: 1.0
References: <CAOj+MMEdWr4mnp0Cr9QSQ+Msfb6jHwziu=ttPGhdXUrtgtZqBw@mail.gmail.com> <Yvp3eZ4iDccWNmIR@shrubbery.net> <CAOj+MMER5fTqyyXhFB0VkL51CHKC81=DNfGeqtHqPEcAgS0LBw@mail.gmail.com> <Yvq12HOd+1HPPa/t@shrubbery.net> <CAOj+MMFNVM7TrpGGrreWufkP97X0n0W11y2eOsnss+v5irE62g@mail.gmail.com> <AM7PR07MB6248651F07184633E93B1144A06A9@AM7PR07MB6248.eurprd07.prod.outlook.com> <83BA8ED7-3ABF-4079-AFC5-F9F60CEA9668@pfrc.org> <CANJ8pZ8Xv2PXTqmtv_pg5XCcAyN=5_UQa2ab9LeDkbiuFdXUqw@mail.gmail.com> <20220819162451.GA17925@pfrc.org> <CANJ8pZ_RgU-fSKemrBDw1r1-9VnLyTPOryrOKPV0WUpLhkucCw@mail.gmail.com> <20220819201040.GA27543@pfrc.org>
In-Reply-To: <20220819201040.GA27543@pfrc.org>
From: Robert Raszuk <robert@raszuk.net>
Date: Fri, 19 Aug 2022 22:34:47 +0200
Message-ID: <CAOj+MME-d2T_n7-mDCK_=X5+ofnY+1+WgoSCx-qFgBDRqbvAcQ@mail.gmail.com>
To: Jeffrey Haas <jhaas@pfrc.org>
Cc: Enke Chen <enchen@paloaltonetworks.com>, tom petch <ietfc@btconnect.com>, John Heasley <heas@shrubbery.net>, "idr@ietf. org" <idr@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000160fc005e69e0862"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/UtMnDKmBZ3ppS8hA8zUWFWHfn84>
Subject: Re: [Idr] New Version Notification for draft-spaghetti-idr-bgp-sendholdtimer-05.txt
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: Fri, 19 Aug 2022 20:35:04 -0000

Hi Jeff,


> With the "or otherwise" detail I missed, what we'd be looking at according
> to your procedures is 30 minutes (no end of rib), set the user timeout, and
> minimally 10 minutes or 5*holdtime if larger than 10.  So, stuck state
> during initial sync could linger up to 40 minutes or longer.
>
> Is that your intent?
>

Yes - as the default. But as we all know those defaults can be configurable
on a per peer basis.

I am not that worried about 40 minutes considering two things ..

* When you bring a BGP session to a peer you watch it. You see how
messages are being exchanged so I am not sure there is really a
practical problem with bringing a BGP session. Likewise when node
reboots we really do not want to be too aggressive in flapping BGP
sessions.

* Current open src implementations by watching buffer full bouncing even in
run time (after EOR) can take hours to detect stuck sessions. And folks are
apparently happy with it.

> The signaling mechanism for TCP user-timeout is already specified in
> > RFC5482. It's optional.
>
> I was thinking specifically of a BGP option to provide for implementations
> that don't want to regularly be watching for changing TCP values.  For
> example, exchanged in a capability.
>

I would have some sympathy for this if we would have dynamic capabilities.
Note
that changing TCP_USER_TIMEOUT as I discussed with Enke does not require
session reset/flap. Otherwise I am really not sure what is the advantage.

Likewise I am not clear how sending value of the timer to a peer in
capability helps
those who "don't want to regularly be watching for changing TCP values".
Which values ?



> Reading deeper into RFC 5482, we see some additionally interesting things:
>
> :   In the absence of an application-specified user timeout, the TCP
> :   specification [RFC0793] defines a default user timeout of 5 minutes.
>


Right ! But as we discussed, that is assumed to be in place if
TCP_USER-TIMEOUT is
enabled by application.

RFC0793 is really not clear if it should be enabled by default.
Apparently it is not.


> That's why I believe a solution at the BGP level would be incomplete
> > and perhaps even more complex. On the other hand, TCP user-timeout is
> > specifically designed to handle these cases. It's more complete and
> > simpler.
>
> As long as you're fine with the one-bit signal of "user timeout has gone
> down".  That's not necessarily a clear win for some of the people who've
> responded to the thread.
>

Hmmm what else do you expect to obtain if we would do that in BGP ?

I am actually afraid much less info or underlying TCP conditions can be
exposed if we
just keep checking the buffer full or not.

Many thx,
R.