Re: Robert Wilton's Discuss on draft-ietf-bfd-unsolicited-11: (with DISCUSS and COMMENT)

Reshad Rahman <reshad@yahoo.com> Tue, 21 March 2023 01:31 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 34E7CC1516E3 for <rtg-bfd@ietfa.amsl.com>; Mon, 20 Mar 2023 18:31:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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=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 NzuqvyALmFUV for <rtg-bfd@ietfa.amsl.com>; Mon, 20 Mar 2023 18:31:51 -0700 (PDT)
Received: from sonic306-3.consmr.mail.bf2.yahoo.com (sonic306-3.consmr.mail.bf2.yahoo.com [74.6.132.42]) (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 9690CC151553 for <rtg-bfd@ietf.org>; Mon, 20 Mar 2023 18:31:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679362310; bh=mgxGL6+75Xi4Qp58lWAvCqLRX9wgRwz+vEmIa5YMz98=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject:Reply-To; b=mYTFEy9tAe+dFZzGTMbgrkMqX/LNorj/Gs+zXNmfKlle3AHTER0WD9Xv/JaH/n6u5FWri0J9/2AccvD4m8hIUcBKWLQvwNkzaWi8pU5+AWfXN8qV4yhuEU1z+HAPnKX7OqPL+1AP0P9C0WBXzE+3qWX7i0ugRhJ9RBqF+0uZUROEUViSyJbu73cCso374iKZpcZTC/K1FhuF8SPi8r1vade1qlHr24nCJ/Q2iAqvPzNrQpXed875OXI28qIQ1Ihx8EIYM91y5DlTCA3cWOqQda7cUsveGahKPrcLMHaICnp0N4AwK+Zm89/e7qYJbR19bkCCIXWGO+jUu/AXvjiEAA==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679362310; bh=08lxdH86mqnsXTs7g4CjQGYlZbWz5ytiYGX0E8/lyYs=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=UMmECjMeosFSlA0HVHyjnIoOBiHxFa5EIDD4metz3sgGpuP9h7KI7dN+xvoMSVK09emd/nZYpFTO/CSZQ0E0gRqu2hf9JSWm2haSGtVLi+7VR3H8FKbbD8/QoQYfzxZKfdNEgQv5fCtBk8grC6OnagrQ5htEifZdTZG6LTafnLfppF7os06Di0PTq9H0Fya50xq43/kYIKET8JnYY9gCKpeiSjtWg59H+nGz2qPFkxRJi0HlKIbz3a7o24RnLiXFW6s7VZqhotsA8CcFz0iMdxFEUYTWhmBKNxWQmcPNJCP7i7XrH8qoC58g/n1FbTy8rha+ELUsOdpl7GfVcKsWkA==
X-YMail-OSG: 0UYMQTQVM1lMIcObe6fi5rqV6QNidjQvP_sJ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PHSt Tkosg7PS7RZ8udsldPocXncRZss9xAs6Qtgwzfw5hJnpCb15vUE3lN_0oKope0jyE5twDLfJUwOC cTK_74X6V3fxbjZqh3MG12ldpHyIo4cbCX3NldYoFl1CLY5FMTo2KZ_e_XYJuCl9x0FdvSalZH.E PImGEJOog8gpBn3o-
X-Sonic-MF: <reshad@yahoo.com>
X-Sonic-ID: 42037b67-35a8-4e97-8bd7-17497bdab174
Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.bf2.yahoo.com with HTTP; Tue, 21 Mar 2023 01:31:50 +0000
Date: Tue, 21 Mar 2023 01:31:49 +0000
From: Reshad Rahman <reshad@yahoo.com>
Reply-To: Reshad Rahman <reshad@yahoo.com>
To: The IESG <iesg@ietf.org>, Robert Wilton <rwilton@cisco.com>
Cc: "draft-ietf-bfd-unsolicited@ietf.org" <draft-ietf-bfd-unsolicited@ietf.org>, "bfd-chairs@ietf.org" <bfd-chairs@ietf.org>, "rtg-bfd@ietf.org" <rtg-bfd@ietf.org>, Jeffrey Haas <jhaas@pfrc.org>
Message-ID: <1652627934.1602547.1679362309091@mail.yahoo.com>
In-Reply-To: <167086459809.47152.7191645317039213428@ietfa.amsl.com>
References: <167086459809.47152.7191645317039213428@ietfa.amsl.com>
Subject: Re: Robert Wilton's Discuss on draft-ietf-bfd-unsolicited-11: (with DISCUSS and COMMENT)
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_1602546_564603834.1679362309088"
X-Mailer: WebService/1.1.21311 YMailNorrin
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-bfd/hOCWgyuJhbq2UePXfYMOO7DNFXY>
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: Tue, 21 Mar 2023 01:31:53 -0000

 Hi Rob,
I believe rev-12 addresses the 3 DISCUSS points below.
We still have to do further updates to the document.
Regards,Reshad.
    On Monday, December 12, 2022, 12:03:19 PM EST, Robert Wilton via Datatracker <noreply@ietf.org> wrote:  
 
 Robert Wilton has entered the following ballot position for
draft-ietf-bfd-unsolicited-11: Discuss

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to https://www.ietf.org/about/groups/iesg/statements/handling-ballot-positions/ 
for more information about how to handle DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-bfd-unsolicited/



----------------------------------------------------------------------
DISCUSS:
----------------------------------------------------------------------

Hi,

Thanks for this document.

Please see my comments below for more details, but I'm balloting discuss on 3
points: (1) The document is somewhat unclear as to whether the configuration is
applied hierarchically (I presume that it is, if not then my second discuss
point is not valid and can be ignored). (2) As specified, I don't think that
the hierarchical configuration will work, because the interface level leaf
"defaults" will override an explicit value configured globally.  I.e.,
logically, the interface level leaf, if in scope, will always have a value. (3)
The document should provide an instance-data example in the appendix to
illustrate the use of this configuration.

Regards,
Rob


----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

Moderate level comments:

(1) p 3, sec 2.  Procedures for Unsolicited BFD

  When the passive side receives a BFD Control packet from the active
  side with 0 as "Your Discriminator" and does not find an existing BFD
  session, the passive side MAY create a matching BFD session toward
  the active side, if permitted by local configuration and policy.

I'm surprised that this is only a MAY and not a SHOULD or MUST.  I.e., if the
local configuration & policy allows passive BFD sessions why would they not be
created?

(2) p 4, sec 4.1.  Unsolicited BFD Hierarchy

  *  Globally, i.e. for all interfaces.  This requires support for the
      "unsolicited-params-global" feature.
  *  For specific interfaces.  This requires support for the
      "unsolicited-params-per-interface" feature.

>From this description, it is unclear to me whether the features enabling global
or per-interface configuration are meant to be an either/or (in which case, the
constraint could probably be expressed in the features), or whether a server is
allowed to support configuration both globally and override the global
configuration with interface specific configuration.  My subsequent discuss
comments assume the latter.  Either way, it would be helpful for this text in
this section (and probably the YANG module) to be a bit more explicit on this
regard.

(3) p 8, sec 4.2.  Unsolicited BFD Module

      augment "/rt:routing/rt:control-plane-protocols/"
            + "rt:control-plane-protocol/bfd:bfd/bfd-ip-sh:ip-sh/"
            + "bfd-ip-sh:interfaces" {
        if-feature bfd-unsol:unsolicited-params-per-interface;
        description
          "Augmentation for BFD unsolicited on IP single-hop interface";
        container unsolicited {
          description
            "BFD IP single-hop interface unsolicited top level
            container";
          leaf enabled {
            type boolean;
            default false;

I'm not sure that you want a default value specified in the YANG here since
this would have precedence over any explicitly configured global default value.

(4) p 8, sec 4.2.  Unsolicited BFD Module

            description
              "BFD unsolicited enabled on this interface.";
          }
          uses bfd-types:base-cfg-parms;

You have the same issue here as above, in that the default values directly
associated with the leaves in this grouping will always take precedence over
any configured global value.  I.e., the configuration, if properly implemented
cannot be hierarchical.  The pragmatic solution is to copy the used grouping
inline here and delete the default statements.  This has the advantage that the
descriptions can also make the hierarchical behavior of the configuration
explicit.

(5) p 9, sec 4.2.  Unsolicited BFD Module

    augment "/rt:routing/rt:control-plane-protocols/"
          + "rt:control-plane-protocol/bfd:bfd/bfd-ip-sh:ip-sh/"
          + "bfd-ip-sh:sessions/bfd-ip-sh:session" {
      description
        "Augmentation for BFD unsolicited on IP single-hop session";
        leaf role {
          type bfd-unsol:role;
          config false;
          description
            "Role of local system during BFD session initialization.";
        }
    }
  }
  <CODE ENDS>

Please add an instance data example to an appendix to illustrate the use of
this YANG model.  This helps readers and can further emphasize the hierarchical
nature of the configuration.

Minor level comments:

(6) p 3, sec 2.  Procedures for Unsolicited BFD

  Passive unsolicited BFD support MUST be disabled by default, and MUST
  require explicit configuration to be enabled.  On the passive side,
  the desired BFD parameters SHOULD be configurable.  The passive side
  MAY also choose to use the parameters that the active side uses in
  its BFD Control packets.  The "My Discriminator", however, MUST be
  chosen to allow multiple unsolicited BFD sessions.

Rather then configured values on the passive side, did the authors consider
setting minimum configuration limits?  E.g., rather than define desired
send/receive limits, instead, configure lower bounds on what the minimum tx
interval may be (to prevent DDOS attacks).

Nit level comments:

(7) p 3, sec 2.  Procedures for Unsolicited BFD

  The passive side MUST then start sending BFD Control packets and
  perform the necessary procedure for bringing up, maintaining and
  tearing down the BFD session.  If the BFD session fails to get
  established within certain specified time, or if an established BFD
  session goes down, the passive side SHOULD stop sending BFD Control
  packets and MAY delete the BFD session created until BFD Control
  packets are initiated by the active side again.

Nit, within certain specified => within a specified

(8) p 6, sec 4.2.  Unsolicited BFD Module

        Copyright (c) 2021 IETF Trust and the persons
        identified as authors of the code.  All rights reserved.

This copyright statement will need to be fixed.