Re: WGLC for draft-ietf-bfd-unaffiliated-echo (ending 7 April, 2023)

Greg Mirsky <gregimirsky@gmail.com> Fri, 07 April 2023 17:03 UTC

Return-Path: <gregimirsky@gmail.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 1DB39C14CEFE for <rtg-bfd@ietfa.amsl.com>; Fri, 7 Apr 2023 10:03:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.095
X-Spam-Level:
X-Spam-Status: No, score=-7.095 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, 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=gmail.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 TkYwptMK9Vtn for <rtg-bfd@ietfa.amsl.com>; Fri, 7 Apr 2023 10:03:26 -0700 (PDT)
Received: from mail-yw1-x112f.google.com (mail-yw1-x112f.google.com [IPv6:2607:f8b0:4864:20::112f]) (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 4EDCBC14CEFA for <rtg-bfd@ietf.org>; Fri, 7 Apr 2023 10:03:26 -0700 (PDT)
Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-5491fa028adso309392807b3.10 for <rtg-bfd@ietf.org>; Fri, 07 Apr 2023 10:03:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680887005; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=cQS/DbRzNyg66ofu25yi01Y/dg+orRfsr4ML2XbkMMY=; b=IvpagVlJFNN1Mr3l3BuPULZLm518NcEK6QOA7pDSEreWNDZJHI4nSHNRwCbu6i84AV NAb5PGnZQrxkpalUjeSjpUzo4Wzd/ff0Gl/0ijRIeHq7MB+MLCAg+eSrEFvVABKaqmnB g4xcR5SKtx32u0zZs2EweSZMvJcusY5kpGKwF5P8uXfJ57GUafm1OlfB+YUC7J/n0yJh HbVKVO3gtmu8M8W44Fp6VDyeqeNWzcbFKbhX86oHEJfBZKfuAWRrtqe2m2B3Dm+ZT3BI 1eE9oSYNSLBaKbpYpIALN3l2daxW3TlhQGnaPmcFhxi5njUIlQQcgJe6F0NiNfzZcLJ5 DNnA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680887005; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cQS/DbRzNyg66ofu25yi01Y/dg+orRfsr4ML2XbkMMY=; b=ir1N2uOGGlZfLyckj3GJoMpab+GiJbBXBQ64l5PSqfOHLHlqZPYryF7w4zTtvBoOvg vI+bhERzPTnvp2XoHn/Opq1lV4lBgpEF8q/n4MzykHQ5uFLzxuGCHX57yK4gC13cZO1+ 6z66vMSvn+US2Ch9G4zAha3CLvGpeylF4z6nzc42kOk1oHqOP04AUZmn7AV28qAz3/OU LCqqIAM/ZCFVfiUhddJa29axNBA7/nUNYw01r+tGGXlK8TvIhSMeFrNCcwTkoxt6wwFX lfUlDQjImOoj34PtwkD+B9AkeeiQwCN2sO2k2kM9vI5qIy/0svQb6DkozyG2YRiMZcAZ kY8A==
X-Gm-Message-State: AAQBX9dYX/Uc/uxKkPAMbvO/Iw3sAyynpPox8GriP+mA3tdjJZh345y/ wkw6jiTYkVcErp6VV20+y6Vh62pfMbrf9/4QszM=
X-Google-Smtp-Source: AKy350a2gUmEUgieXO1rgD6bB1jdwZkumpNXemRWjt1V6fc6qAgOVWs3/TDewKiG7q2IzV1ZlOljgkmCxtNo37jH76k=
X-Received: by 2002:a81:ae5d:0:b0:54c:88:64a1 with SMTP id g29-20020a81ae5d000000b0054c008864a1mr1536799ywk.0.1680887005362; Fri, 07 Apr 2023 10:03:25 -0700 (PDT)
MIME-Version: 1.0
References: <202304061535115089547@zte.com.cn> <FA1B93AC-EA7C-4F02-A9E0-A589CBB3983A@pfrc.org>
In-Reply-To: <FA1B93AC-EA7C-4F02-A9E0-A589CBB3983A@pfrc.org>
From: Greg Mirsky <gregimirsky@gmail.com>
Date: Fri, 07 Apr 2023 10:03:13 -0700
Message-ID: <CA+RyBmUeRSc9rJ8Zeo1WhuxF_t0EsVpMVVA+r40o0Lui8RmGaA@mail.gmail.com>
Subject: Re: WGLC for draft-ietf-bfd-unaffiliated-echo (ending 7 April, 2023)
To: Jeffrey Haas <jhaas@pfrc.org>
Cc: Xiao Min <xiao.min2@zte.com.cn>, rtg-bfd@ietf.org
Content-Type: multipart/alternative; boundary="000000000000dcbc9705f8c20058"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-bfd/YW8hWg8HnauVzIkagEEWTcjwP48>
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: Fri, 07 Apr 2023 17:03:30 -0000

Hi Jeff,
I hope you will agree with my using your response to continue the
discussion. Please find my notes below under the GIM2>> tag. I will respond
to other discussion topics in another follow-up mail.

Regards,
Greg

On Thu, Apr 6, 2023 at 7:28 AM Jeffrey Haas <jhaas@pfrc.org> wrote:

> Xiao Min,
>
> Thanks for addressing Greg's comments.  I some additional comment on
> Greg's points:
>
GIM2>> I greatly appreciate the attention Xiao Min extended to my comments.

>
>
> On Apr 6, 2023, at 3:35 AM, <xiao.min2@zte.com.cn> <xiao.min2@zte.com.cn>
> wrote:
>
>    -
>
>    The draft describes how the destination IP address of the Echo packet
>    is set. Are there any special considerations for selecting IPv6 destination
>    address?
>
>    [XM]>>> The draft currently says "Device A would send BFD Unaffiliated
>    Echo packets with IP destination address destined for itself, such as the
>    IP address of interface 1 of device A". No any special considerations.
>
>
> One of the considerations may be whether a IPv6 link local address is
> preferable to a global address.
>
> The only consideration for the draft as it is written is that the address
> used as the destination may be looped back by the unaffiliated device.
> Link local helps address the security considerations that impact this
> feature, and it might be worth noting that when link local can be used for
> the use case that it assists in this point.
>

>
>    -
>
>    Also, are there any special considerations for selecting the source IP
>    address for IPv4 and/or IPv6 network?
>
>    [XM]>>> No. If you have any suggestions, please let me know. :)
>
>
> Since the feature is intended to be used for single-hop, the source
> address SHOULD be an address on the shared subnet with the interface of the
> device that is looping the packets back.  Perhaps it might even be
> reasonable to require that the source and destination addresses are
> identical when possible?
>
GIM2>> As I understand RFC 5881 <https://www.rfc-editor.org/rfc/rfc5881>,
Section 4 recommends not to use an address on the same network as the
destination IP address, nor use a link-local IPv6 address as the source IP
address for an Echo message:
   In particular, the source address SHOULD NOT be part of the subnet
   bound to the interface over which the BFD Echo packet is being
   transmitted, and it SHOULD NOT be an IPv6 link-local address, unless
   it is known by other means that the remote system will not send
   Redirects.
Do you think that the normative part of Section 4 is applicable to
draft-ietf-bfd-unaffiliated-echo?

>
> Where this may complicate procedure is the initial demultiplexing step
> when the session is Down.  Once the session is Up, the Discriminators can
> be used for this purpose.
>
> -- Jeff
>
>