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

Robert Raszuk <robert@raszuk.net> Wed, 03 August 2022 09:42 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 D4931C157B49 for <idr@ietfa.amsl.com>; Wed, 3 Aug 2022 02:42:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.105
X-Spam-Level:
X-Spam-Status: No, score=-7.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_DNSWL_HI=-5, 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=unavailable 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 PMOES1iVXH83 for <idr@ietfa.amsl.com>; Wed, 3 Aug 2022 02:42:51 -0700 (PDT)
Received: from mail-ua1-x92d.google.com (mail-ua1-x92d.google.com [IPv6:2607:f8b0:4864:20::92d]) (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 D5CA9C157B43 for <idr@ietf.org>; Wed, 3 Aug 2022 02:42:51 -0700 (PDT)
Received: by mail-ua1-x92d.google.com with SMTP id l7so6761266ual.9 for <idr@ietf.org>; Wed, 03 Aug 2022 02:42:51 -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=LQjWWr1fy1tocTVrFkUBc7nuWmjYZBCDOBS+SaPr/Js=; b=ZaEEuVFpNu/5X6oozwg/NTyHF+wu3N99zKB6HyHmAnLTVb41NL7fDua0uymH4U/X1U zszDMSlbl7d+kZITL84Kg55hu8yLViNwZs4Sq1mbrjoFuaCdFtt7gmdekflmLGqhaW0C MHFug3esdjadeNhmqVsGOuee4cehUW7y11kat/KtQ2PXuYj20YfmCCGFokJ2LTtnqilR Lcc9NinKxnUmfY9onXGaw257oyfPVUBdWL9yjv2YyJboE2DoXvF7LiOSY0s4nmYa20q+ 2HGBMfLIfWyv+g5pHHGZ1qsHYGXRjuiYqQXqS8ur0X57uPaTUOWBe4EIo7MiOBxV2blk fC6w==
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=LQjWWr1fy1tocTVrFkUBc7nuWmjYZBCDOBS+SaPr/Js=; b=VheijjFccE2pB35xC/QR3BJJJIZTcmB9vF7N3FAQO/j8WugSRBMj08cDHCb3SUWiQd 4anYzgZTacGBVh3BInavhJrirBxPd4wGb7Dy3lfBQSSq1DRluX/MEM4BLVcuFVw0GXE6 1fFtPj39A76PG7/UstiNd3f7x8HsIRq5XExmatD5ChAbbqa3iGpZ8R1uDperMzFPnCNQ 9s3a9+tUWWZ/w5OFlY+XOROX2j7BkUSlicR0vVSpS2KP8qCmcatGdLs0QRxIDaAK6UdJ yuBZ8+9IA933Ec0K0ePjvoErAvKFUztuk3mvNMEPstokHeZdRYcysjLSU/raMSUySg6A lzsw==
X-Gm-Message-State: ACgBeo2x78ovl4azwzts4CXuT+hSzLiNRSswzA+adGPWL3u/nN79Iux/ 2wtFevXcA+67rCZ61uw4PomBnCRJrCcZDSiE2N1JJGVr7AGG17P7
X-Google-Smtp-Source: AA6agR41IU5EBsOElxC3yKXbUV82kbfbl1Hhxbiyey/JV2OtHCHOfc2Pm8LO4957q7zZFnZT5EHY4eS7zjgoFHqPCo4=
X-Received: by 2002:ab0:718c:0:b0:384:d67c:49ec with SMTP id l12-20020ab0718c000000b00384d67c49ecmr9403703uao.78.1659519770614; Wed, 03 Aug 2022 02:42:50 -0700 (PDT)
MIME-Version: 1.0
References: <CAOj+MME7XnW7kDXL4muh4Qp1UvabQ9amUoU0Sn3h2axqKzswzA@mail.gmail.com> <77F3E1F0-486F-47DF-ABE4-EFDB9C2FB6D8@gmail.com> <CAOj+MMGR4f3eLEDZY++1m4Lpo9joG4L9OrWbeF6kREn-9a9onA@mail.gmail.com> <c6e44213-7667-0f67-71a4-634411cd102b@foobar.org> <CAOj+MMFajL6E42WCzC0ZqrfSBZjU-0B=ZzmtvCRPkuMzU8z5QA@mail.gmail.com> <Yun6e5jSb0OYZGAX@shrubbery.net>
In-Reply-To: <Yun6e5jSb0OYZGAX@shrubbery.net>
From: Robert Raszuk <robert@raszuk.net>
Date: Wed, 03 Aug 2022 11:42:53 +0200
Message-ID: <CAOj+MMFRJr=cs+5DVOp72BVn_j3NgANwNftyj=jRbdsvPpg-wA@mail.gmail.com>
To: heasley <heas@shrubbery.net>
Cc: "idr@ietf. org" <idr@ietf.org>, Job Snijders <job=40fastly.com@dmarc.ietf.org>
Content-Type: multipart/alternative; boundary="0000000000006cf19b05e5530e89"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/kKl4OqNscgYcVYe1zyNFSncz3K4>
Subject: Re: [Idr] Fwd: 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: Wed, 03 Aug 2022 09:42:56 -0000

>
> Even if the remote (stuck) peer does not process the FIN, the local
> end will close the session and stop forwarding traffic that direction.
> That is an improvement, from an operator's PoV, both for forwarding
> errors and local resources.


Would not the same happen when you will send keepalives *ONLY* upon
receiving them from a peer.

If both sides support it there should be no issue of stuck sessions. Also
no new timer needed and could be knob to enable/disable it.

This draft assumes that one peer is bad and the other should time out when
it can not send. So I am asking what exactly is the trigger to fire that
timer when BGP can not write to a TCP socket ? Is it Error 105: No buffer
space available ? Something else ?

If this is just queued keepalives (no BGP churn) then depending on the
buffer size it may take ages to fill ...

Best,
R.