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

Alvaro Retana <aretana.ietf@gmail.com> Tue, 21 March 2023 11:18 UTC

Return-Path: <aretana.ietf@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 1CA01C1522DB; Tue, 21 Mar 2023 04:18:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.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, RCVD_IN_DNSWL_BLOCKED=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=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 YaefJbvq5ioO; Tue, 21 Mar 2023 04:18:03 -0700 (PDT)
Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) (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 5497BC1522BD; Tue, 21 Mar 2023 04:18:03 -0700 (PDT)
Received: by mail-pg1-x534.google.com with SMTP id d10so8317623pgt.12; Tue, 21 Mar 2023 04:18:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679397482; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=yYFFPObkCFvZPYz+KJHIMbHkqjU6dIklQKoVZtULXKk=; b=qSWH3yGzlh1BuRU6tYz08EJ4N9ELAgHlEwsFVRYSeTMAISUrg/gAmlUjnkSFx3aWML 69oRMWcmsYlP+AoLyZv/Ghozuul5Fgfyk4JlnHbV9jtCX2mBLKTGJVZPZmN7K970nK81 TvfD3WVEMjD8nQRn2FODuN5iu2N/m4SfkpR/oH6wcQHsgzuqG0AU75CIKE+HsV5WyfPj XEHzA4gR8/Ti4FKtiMGadxiknjZfA5AMcAvTZLnfW+BW5szbkRgQRJIgJPWwfF6dWTx6 bTirHJ5LpprzWXN8TVeE9gNVP2EpNiDlTidjon0tRsCbb9pA6a8F9/S9e0wBzeDOzNyU 8vxw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679397482; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=yYFFPObkCFvZPYz+KJHIMbHkqjU6dIklQKoVZtULXKk=; b=wKy5y/mPdbF6LbmMVsBs0hGgcbogxB19GvhIOQNrfJJlx5tm3YcqmtSgCzVOQS4/+w NdwqpF6zXEDgW4LUMubzdZyUiKSzaBvYFoDBITxxYa/YODMoO5CDDIgwIjKdmtinoVsc zKWodnYcb0EyFeDprqLtdE9BXUYSM/KDD+/za2y6zwRjwJgqbOPCNmvYvqpb1/ZokPIy wsGccmggyoNwWE4VZCaK7rElwVCU9ARuPM3DyM+TBhVt+hHxUbcGJ/y4rwhrHNSWXNvG 9og06XOlCkKKsfeo4miuJs7LlYu9/vgSDwv5S2PjrxamI1JAjY23El/J453zWIplBG3J SxHw==
X-Gm-Message-State: AO0yUKXWdYxLXnA+U1T0lRJrel0uValqVudF0ItvxAwWGnf6HFp8JaUZ 9PdU6d1MO0Zvs6UdXtZFyeF6ibhk2qgjPGGn6f8=
X-Google-Smtp-Source: AK7set8WIRYvP/PnGxeGcPRYYXU3akgB33UtVk7XmKBAqr4mB12pzXQ/aDKRdeXc1OmQiC2M2ZRm65WzIFkP7C3VGAQ=
X-Received: by 2002:a05:6a00:15d3:b0:627:d4fa:6a9c with SMTP id o19-20020a056a0015d300b00627d4fa6a9cmr963239pfu.6.1679397482497; Tue, 21 Mar 2023 04:18:02 -0700 (PDT)
Received: from 1058052472880 named unknown by gmailapi.google.com with HTTPREST; Tue, 21 Mar 2023 07:18:02 -0400
From: Alvaro Retana <aretana.ietf@gmail.com>
In-Reply-To: <A0FD440A-10B3-48DD-B788-AA01D6ABD4DA@pfrc.org>
References: <167103067462.48163.5620864981176514078@ietfa.amsl.com> <A0FD440A-10B3-48DD-B788-AA01D6ABD4DA@pfrc.org>
MIME-Version: 1.0
Date: Tue, 21 Mar 2023 07:18:02 -0400
Message-ID: <CAMMESsx_JDjYsjfKFiDUB4B8aSnZXM7_7KA5=E_vjECXqkgtMA@mail.gmail.com>
Subject: Re: Alvaro Retana's Discuss on draft-ietf-bfd-unsolicited-11: (with DISCUSS and COMMENT)
To: Jeffrey Haas <jhaas@pfrc.org>
Cc: bfd-chairs@ietf.org, draft-ietf-bfd-unsolicited@ietf.org, The IESG <iesg@ietf.org>, rtg-bfd@ietf.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-bfd/lZZsCrleGjqAuiF2hvX2y9nlCLA>
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 11:18:04 -0000

On March 20, 2023 at 9:21:51 PM, Jeffrey Haas wrote:

Jeff:

Hi!

...
> > (1) The Introduction makes several claims that must be developed further or
> > eliminated to avoid further confusion.
> >
> > (1a)
> >
> > 131 The procedure described in this document could be applied to BFD for
> > 132 Multihop paths [RFC5883]. However, because of security risks, this
> > 133 document applies only to BFD for single IP hops [RFC5881].
> >
> > At first glance, I didn't see anything in rfc5883 that would prevent a node
> > in the passive role from following this specification. What am I missing?
> >
> > Aren't the security risks already addressed in rfc5883?
>
> The operational difference is that if you can't use GTSM, you're enabling BFD
> sessions to be created multiple hops away, potentially with low requirements
> for authentication. In the absence of authentication, BFD sessions can be
> created with asymmetric parameters such that an attacker can keep a session
> open with a small number of BFD packets while the system running the
> unsolicited procedures was busy sending packets at a much higher rate.
>
> BFD procedures will prevent a session from moving to Up via blind packet
> injection due to Discriminators needing to be exchanged.
>
> The possibility thus exists to utilize unsolicited BFD as a packet
> amplification attack.
>
> Thus, it's not a generally good use case.
>
> Strong authentication, as noted, may permit this to be a useful feature.
> However, it's not the expected (nor deployed) use case.


Ok -- then, why even mention multihop?  The text should either
indicate that the document only applies to single hop, or explain the
security risks.



> > (1b)
> >
> > 135 Compared to the "Seamless BFD" [RFC7880], this proposal involves only
> > 136 minor procedural enhancements to the widely deployed BFD itself.
> > 137 Thus we believe that this proposal is inherently simpler in the
> > 138 protocol itself and deployment. As an example, it does not require
> > 139 the exchange of BFD discriminators over an out-of-band channel before
> > 140 BFD session bring-up.
> >
> > Given that this proposal claims to be better (or at least simpler) than S-
> > BFD, what should an operator consider when deciding which to use? Are they
> > covering similar use cases? If this is so much better, why is rfc7880 not
> > deprecated?
>
> S-BFD is a fancy ping mechanism. Unsolicited BFD permits both sides to
> participate in actively testing the connection. Different use cases.

The comparison then seems out of place and unnecessary.


Note that these are non-blocking comments.  I trust that you will do
the right thing to avoid unnecessary confusion.

Thanks!

Alvaro.