Re: Can a BFD session change its source port to facilitate auto recovery
Reshad Rahman <reshad@yahoo.com> Thu, 23 March 2023 19:09 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 52D3BC13AE3A for <rtg-bfd@ietfa.amsl.com>; Thu, 23 Mar 2023 12:09:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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_MSPIKE_H2=-0.001, 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 jwpG-AJCBjeR for <rtg-bfd@ietfa.amsl.com>; Thu, 23 Mar 2023 12:09:17 -0700 (PDT)
Received: from sonic314-14.consmr.mail.bf2.yahoo.com (sonic314-14.consmr.mail.bf2.yahoo.com [74.6.132.124]) (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 8D22CC13AE48 for <rtg-bfd@ietf.org>; Thu, 23 Mar 2023 12:09:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679598556; bh=T2du7uAdvIIhbJM9dWjvR6628VQ5W+Z2ZYpfdUneia8=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject:Reply-To; b=Oa2DYi9hdfSXBLISiibaOXagnY/FHmwTNMM+VYqAojEEVzmXOI7ZM7ULFRwJ7Xkire5wvhGnu0vsqw5OecoJJCADEzl88jZyqCczN2brx7BI70WYCJpcRfFHHRvFMSNX6u99prfs0WTDb5pN4Kb15IVd5UIjeTAYCTbbmv0jVIwaivsOsu/MfpeGJm/O903R0ordJ21fJow7t/0NrtKWHRo55TR8wyL1zgn3wjVFbIY4Nxt+fqfO4rkN2/SaxGPk2Qwo+sLkhzZW/oAOahRGvhT7pxF1ZK1757Z/grNQG+rnZiMmpKyC5yT8xfowzUIK23DNzGPX/MEQdKXu/ITTiA==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679598556; bh=DYHheBq/DfJBBSCHi4wW7OpjwwgGd8+YIfFUvgIvqZo=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=gvRKPyIVWqcVLGeWRm5R48egWB0DiPapxa4k2xD8IehQX0z3mLSjgcKVxDIlP1ZaN33PmRbftWupUMwQPYPOFdDRlBdzF1WRDeMbM0UAtUYF3yRXgbPvw7wj+mtvZLAsYWXgwTsh5GshZpd2tFcYCa1hvgGBeeDyGXa12gd+3lYlyUrCUtQ9Hd2BD9M1r8vF3lOO/3bU8QoniBGwwa+sFM8IrLQxh/fogTv6F5zqJA6PlX43sxfUbjQjRl45aa1qPZ6QgknXu9Ku6Mm2EOdWFjhcoWy3yebfUvoxdFYxoBxMy1KPvt0+9sAMdyweiAhCKmd7d6lOiRd9MxC4iCjqZw==
X-YMail-OSG: xuH1uo4VM1mE0NRBvaUEEPYkfJUToHnyG.7.Dyxtz3KXmKkje91XTRtnzpi3bHr ngpOrolMTW85ywtR6QxrXy98ZudbUCeo8GkurCXxkq64R_CC8g_dCTpc2H7Oj2WDybYaon9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Hz_O1kffHSMRdzdLa6KtIdbgFU9156qyXKYK4nPxnJ_KUgF0oXNdj3fqhrxbIG0OhG_TMZnK D.HThcLau
X-Sonic-MF: <reshad@yahoo.com>
X-Sonic-ID: 82fd4641-87eb-43c9-84f1-5e96cf805e99
Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.bf2.yahoo.com with HTTP; Thu, 23 Mar 2023 19:09:16 +0000
Date: Thu, 23 Mar 2023 19:09:10 +0000
From: Reshad Rahman <reshad@yahoo.com>
Reply-To: Reshad Rahman <reshad@yahoo.com>
To: Jeffrey Haas <jhaas@pfrc.org>
Cc: "rtg-bfd@ietf.org" <rtg-bfd@ietf.org>, Abhinav Srivastava <absrivas@gmail.com>
Message-ID: <1727040461.2415541.1679598550704@mail.yahoo.com>
In-Reply-To: <72440624.2417352.1679598399810@mail.yahoo.com>
References: <CAL9v8R2iYMGjxF-A9SuDMcu2EF6h0isquTxjuAtNdqFwv_6etg@mail.gmail.com> <6DE166F3-5E02-446B-A105-0C6E2CC4E448@gmail.com> <1269529512.2412873.1679595445738@mail.yahoo.com> <4F6F3693-6B8B-4F16-BCAA-410558609248@pfrc.org> <72440624.2417352.1679598399810@mail.yahoo.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_2415540_933702448.1679598550703"
X-Mailer: WebService/1.1.21311 YMailNorrin
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-bfd/vz6Rh123SXtWyJ6fQCuGfxnA-oE>
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 19:09:20 -0000
I meant "That does seem to be an incorrect implementation"
On Thursday, March 23, 2023, 03:06:53 PM EDT, Reshad Rahman <reshad=40yahoo.com@dmarc.ietf.org> wrote:
On Thursday, March 23, 2023, 02:36:53 PM EDT, Jeffrey Haas <jhaas@pfrc.org> wrote:
On Mar 23, 2023, at 2:17 PM, Reshad Rahman <reshad=40yahoo.com@dmarc.ietf.org> wrote:
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?
Not quite.
In theory, if we had a full set of link tests from A..Z, including exercising each LAG member, one would think everything should be fine. This is an ideal basis case.
In practice, what's often seen is that even with full coverage of the paths that there are end-to-end forwarding faults for various reasons. In at least some of these cases it's because BFD is implemented in a layer that isn't exercising the full data path. To pick a somewhat vendor neutral example, consider BFD implemented directly on the line card but not participating in the layer 3 ECMP load balancer, or at the LAG level not participating in the layer 2 equivalent.<RR> That does seem to be a correct implementation, but besides the point...
It's for reasons like this that we have discussions about whether it makes sense to run single-hop BFD in addition to BFD-on-LAG covering the same link.<RR> Right. This is what I meant by "running BFD SH and BFDoLAG where needed". I'd think that running BFD SH on top of LAG, even if BFDoLAG is enabled, would be needed anyway just because they exercise different layers.
(It's also worth reminding the Working Group that these types of discussions were a motivation for the LIME Working Group we had some years ago. It very much covered this space, but didn't come to successful outcomes.)
Going back to Abhinav's original question, here are my own observations:
RFC 5880 tells us that once a session is Up, we should demultiplex solely based on the Discriminators. (RFC 5880, §6.3)
RFC 5881, used by RFC 5883 tells us that we MUST NOT change the source ports. However, it doesn't provide a lot of justification for the WHY of that. Given the prior point, what is the harm? Some speculation:
- Even if you MUST demux based on Discriminators, I wouldn't place wagers on there being no implementations that aren't looking at the full layer-4 signature as part of the procedures. In particular, middlebox steering may get in the way.- It's often necessary for hardware based BFD implementations to put in exceptions to rate policers to permit BFD to work.
Speculation aside, changing the source port most likely would work.
Is it a good idea? Probably not.
Is it a great tool to try to exercise specific legs of an ECMP? Almost certainly not at high rates. It'd also be clumsy.
Could you do this with some level of success? Probably.
Would I want to support debugging issues with this as a vendor? No.<RR> +1 to all the above.
Regards,Reshad.
-- Jeff
- 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