Re: Can a BFD session change its source port to facilitate auto recovery
Reshad Rahman <reshad@yahoo.com> Thu, 23 March 2023 18:17 UTC
Return-Path: <reshad@yahoo.com>
X-Original-To: rtg-bfd@ietfa.amsl.com
Delivered-To: rtg-bfd@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 77536C152567 for <rtg-bfd@ietfa.amsl.com>; Thu, 23 Mar 2023 11:17:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.097
X-Spam-Level:
X-Spam-Status: No, score=-7.097 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, FREEMAIL_FROM=0.001, 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] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yahoo.com
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 6RJ2W92yU8Uk for <rtg-bfd@ietfa.amsl.com>; Thu, 23 Mar 2023 11:17:29 -0700 (PDT)
Received: from sonic318-26.consmr.mail.bf2.yahoo.com (sonic318-26.consmr.mail.bf2.yahoo.com [74.6.135.81]) (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 9B853C14CE44 for <rtg-bfd@ietf.org>; Thu, 23 Mar 2023 11:17:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679595448; bh=fTGtW6WR1kTf7wtmKx+ECCiJrM3SUNPocSa/djZ4/2w=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject:Reply-To; b=II7BZKcgGeAoRHa2syJ9+ce+DlTs+8YckAJzg6CcIqo+bXNJn+JSCkdJs28PHIwH2YJ0XRSQqTNFT5buJqYkcMbWBz5z26Xr4GFLnqOHpHHiuJ3u44oMZHW08oA0vyu04LJRVERbydv67vxyJ6NompPL90qKkWcyzVXeIIhqL8/FfUaqsClCePgmUuf41JFPrxhef/OqUsUnBDCYwZLzjx4uEVRDVCI1rWOKJsgiGayRrdUsDVu3/RNdFT2LfbovaA4d0s6PHyKC8gZNsUdkY18m665tktIQT+y/pZ3T0qR15V4eXISUC+MfBwxTzWlHg+7Th9SLUdIUCrfStMot3Q==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679595448; bh=tXkl/Am5/Xfxg5BqauwLsjWcgghxEhsQKim8FpkMdEI=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=VqBlK7bLB0eCUY7juMWPdFWXmednO+YH+kObwbG9DsPx59fz2X5uVhHIlhhBIxdRJ4E1w2x22e22FfKi2dK1tr1S5xAIFukyrYKr8mvV3RGcAew3IZTDj5HfDutoSGkrVWZfrJLaHRy1+WKSK7zv2GSkiCvafl+p4ycOUkrjXxMfcR6jR7YUtK1ZoeKIUJGd4YR01nDOUBMFKbjcSkay3VsxzYEOXvY3q+clED9MLcO3UNsJuulD8Gbf422Ka22zMQrS0RRGBqjwO+Lc+vHlzjgNgUiBJLt13mHXMEDyfyojbL+1tGMWf94YOb5IlyCUaAhpl13es+Pi0dhG/hAwXg==
X-YMail-OSG: FamVMV0VM1kciWxAlWGbkvqTz.BuFiu.Cj3Ur4zvXIF9diLtxIFrVo3XOvZ3MGp 0znojJfPFMnVIQ3R6VaVed7Jeavr3ONI5SPXGLoY0YKcpDUv0tuGhlKEnCH5I8Ing2ImYz4oFgIr d3Ud93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DrbCcuwIHlgJWYW5yRIFX515sG7YcQXKQQ6LxPzkhpfTSCU527WCnPxLoXf1BqRO. cfk_5MXHU5SmCg.ZpmCDreGBweNF5MHRJH2RzuIq6LWXV
X-Sonic-MF: <reshad@yahoo.com>
X-Sonic-ID: eefe385b-f41b-4f3b-be7c-f6aab414ff00
Received: from sonic.gate.mail.ne1.yahoo.com by sonic318.consmr.mail.bf2.yahoo.com with HTTP; Thu, 23 Mar 2023 18:17:28 +0000
Date: Thu, 23 Mar 2023 18:17:25 +0000
From: Reshad Rahman <reshad@yahoo.com>
Reply-To: Reshad Rahman <reshad@yahoo.com>
To: Abhinav Srivastava <absrivas@gmail.com>, Jeff Tantsura <jefftant.ietf@gmail.com>
Cc: "rtg-bfd@ietf.org" <rtg-bfd@ietf.org>
Message-ID: <1269529512.2412873.1679595445738@mail.yahoo.com>
In-Reply-To: <6DE166F3-5E02-446B-A105-0C6E2CC4E448@gmail.com>
References: <CAL9v8R2iYMGjxF-A9SuDMcu2EF6h0isquTxjuAtNdqFwv_6etg@mail.gmail.com> <6DE166F3-5E02-446B-A105-0C6E2CC4E448@gmail.com>
Subject: Re: Can a BFD session change its source port to facilitate auto recovery
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_2412872_692254784.1679595445736"
X-Mailer: WebService/1.1.21311 YMailNorrin
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-bfd/HO3TZJkA8gsOb3_JcS94ugQ10s0>
X-BeenThere: rtg-bfd@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "RTG Area: Bidirectional Forwarding Detection DT" <rtg-bfd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-bfd>, <mailto:rtg-bfd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtg-bfd/>
List-Post: <mailto:rtg-bfd@ietf.org>
List-Help: <mailto:rtg-bfd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-bfd>, <mailto:rtg-bfd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Mar 2023 18:17:30 -0000
Hi all,
+1 to Jeff's comment on not wanting to pretend that everything is fine.
And if we're running BFD single-hop and BFDoLAG where needed, this is a non-issue right?
Regards, Reshad (no hat).
On Thursday, March 23, 2023, 02:27:21 AM EDT, Jeff Tantsura <jefftant.ietf@gmail.com> wrote:
Abhinav,
Let’s clarify a couple of points.What you are trying to do is to change entropy to change local hashing outcome, however for hashing to even be relevant there has to he either ECMP or LAG in the path to the destination otherwise shortest path will be he used regardless, so statistically, some of the flows between a given pair of end points (5 tuple) will be traversing the (partially)broken link, would you really like BFD to “pretend“ that everything is just fine?Moreover, by far, in case of congestion - most applications won’t change their ports but have their TX rate reduced.There’s work done by Tom Herbert for IPv6/TCP (kernel patch upstreamed a few years ago) - had beeb presented in RTGWG pre-Covid, that on RTO changes flow label value (that some might or might not include in hashing), which is strongly not recommended to be used outside of a tightly controlled homogenous environment (think within DC).Outside of what BFD spec tells us (don’t), the above should provide enough motivation not to do this.
Cheers,
Jeff
On Mar 23, 2023, at 05:44, Abhinav Srivastava <absrivas@gmail.com> wrote:
Multi-hop BFD would be the mechanism that detects the failure on the path it happens to be using for the session. I wasn't thinking of another mechanism. Detection timer expiry would be the trigger for recovery which could be augmented with few other possible criteria like how long session hasn't been able to come back up or prolonged flapping.
ThanksAbhinav
On Wed, 22 Mar, 2023, 3:05 pm Greg Mirsky, <gregimirsky@gmail.com> wrote:
Hi Abhinav,thank you for presenting an interesting scenario for a discussion. I have several questions to better understand it:
- How the network failure that triggers the recovery process is detected?
- If the failure detection mechanism is not multi-hop BFD, what is the relationship between the detection intervals of heat mechanism and the multi-hop BFD session?
Regards,Greg
On Wed, Mar 22, 2023 at 4:36 PM Abhinav Srivastava <absrivas@gmail.com> wrote:
Hi all,
I needed clarification around whether source port can be changed for a BFD session in case of multi hop BFD. The ability to change BFD source port when BFD session goes down helps BFD session to recover if its stuck on a network path where there is some intermittent but significant packet loss.
In such cases, normally without BFD, end to end application traffic would eventually settle down on a good path as applications typically change source port after experiencing disconnection or failures. But if BFD is being used to monitor some part of a path which is experiencing significant but not 100% packet loss, it will start causing next hop list of associated static route or the associated BGP sessions to start flapping forever, as BFD packets would be stuck to that partial lossy path forever (until BFD session is deleted and recreated by admin action). This may also hinder the typical application recovery strategy of changing source port on failure.
Ability to dynamically change BFD source port can help BFD recover in such cases. Is this something that is allowed as per RFC? The RFC5881, section 4 (for single hop) case states that –
“The source port MUST be in the range 49152 through 65535. The same UDP source port number MUST be used for all BFD Control packets associated with a particular session”
Thanks
Abhinav
- Can a BFD session change its source port to facil… Abhinav Srivastava
- Re: Can a BFD session change its source port to f… Alan DeKok
- Re: Can a BFD session change its source port to f… Greg Mirsky
- Re: Can a BFD session change its source port to f… Abhinav Srivastava
- Re: Can a BFD session change its source port to f… Jeff Tantsura
- RE: [EXTERNAL] Re: Can a BFD session change its s… Alexander Vainshtein
- Re: Can a BFD session change its source port to f… Abhinav Srivastava
- Re: [EXTERNAL] Re: Can a BFD session change its s… Abhinav Srivastava
- Re: Can a BFD session change its source port to f… Reshad Rahman
- Re: Can a BFD session change its source port to f… Jeffrey Haas
- Re: Can a BFD session change its source port to f… Reshad Rahman
- Re: Can a BFD session change its source port to f… Reshad Rahman
- Re: Can a BFD session change its source port to f… Jeffrey Haas
- Re: Can a BFD session change its source port to f… Greg Mirsky
- Re: [EXTERNAL] Re: Can a BFD session change its s… xiao.min2
- Re: [EXTERNAL] Re: Can a BFD session change its s… Jeff Tantsura
- Re: [EXTERNAL] Re: Can a BFD session change its s… xiao.min2
- Re: [EXTERNAL] Can a BFD session change its sourc… Jeff Tantsura
- RE: [EXTERNAL] Can a BFD session change its sourc… Alexander Vainshtein
- Re: [EXTERNAL] Can a BFD session change its sourc… xiao.min2
- Re: [EXTERNAL] Can a BFD session change its sourc… xiao.min2