Re: [Lsvr] Alvaro's Remaining Comments: New Version Notification for draft-ietf-lsvr-bgp-spf-27.txt

Alvaro Retana <aretana.ietf@gmail.com> Wed, 02 August 2023 18:53 UTC

Return-Path: <aretana.ietf@gmail.com>
X-Original-To: lsvr@ietfa.amsl.com
Delivered-To: lsvr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7A61EC151984; Wed, 2 Aug 2023 11:53:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.105
X-Spam-Level:
X-Spam-Status: No, score=-6.105 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, FREEMAIL_REPLY=1, 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, T_SCC_BODY_TEXT_LINE=-0.01, 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 CDkeOdQzwhSe; Wed, 2 Aug 2023 11:53:37 -0700 (PDT)
Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) (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 A800BC151707; Wed, 2 Aug 2023 11:53:37 -0700 (PDT)
Received: by mail-pj1-x1030.google.com with SMTP id 98e67ed59e1d1-268b3ddc894so33877a91.1; Wed, 02 Aug 2023 11:53:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691002417; x=1691607217; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=GmXhzO/NBN5DC71r73TbvQg2fURyAWmkA+koiFq/qzY=; b=HUVkPKDIylRDOAE9gNyBbr37mdvDq8SNvv2+X77qhBbAaTwF2SribkPp+OzB0Guq06 V08NliUexGOGzYEknedQBSDbpzbET9y5oDH6aRBCNIid2ngOjSHUKOjKg9wNfgWQ8qJl zjFIgByloc+gnuDL3UmPx+Myx6vh0rk1wrFJgfEOKqzYnYycE8ZKeJTg4vhR2d645kVS 98CLUHRfUtp5NFI3+9jK/dHFSJQ0UzUl9N7S/fDCKCYdPvEFVygElz3WqxdAPqzNGbx5 Xq/u2Y3FyOPB12z0sI6d31KciWlrjn7hcUb2D9caGgzL1a/X0AgTNE3gQPl2eBqj8dWv hWiw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691002417; x=1691607217; h=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=GmXhzO/NBN5DC71r73TbvQg2fURyAWmkA+koiFq/qzY=; b=kk73VzgUQBnjcNf776RhYEz/EmfIPxDg1du8NrlMZfTZYYTSiKaIMXIT93LooQojyV Hb4o+gCk18A/TCtPF9TXb1Uec6Inpo7sHOcTAieSHV+fgyAUgKj09MalOypAv2XQ2htj QiX4VcPPZF2MNhHNZvYhbn/Bsur73j3eySnU7+MCye3qdLR4/sIYdmo2M6fYCiBncM3G mkgykVHNjhWX4hVAbPKtGXqJraSx+jbfx1EF7n3OxUrJKaqDqaQTqJ3BLd/yojrm9gWq koignNOh4+x2UMljz4ttyYsaMyWcGr7Z6ZrPxUsNB6FZHGpLLs8d0qnfKr57PzOYU9el DBBg==
X-Gm-Message-State: ABy/qLbfOqEN/O2WTsoDOMOwV4lL4EuoRod1W7ADkW5PYcE9fsSi74De UgoJ6LBETFp0jBoyx7ohqM5vx1Y8tcYvfZtfatMWAYo+
X-Google-Smtp-Source: APBJJlHTxjFzHazDUUAt/AlyGmZJbhSqN+KZj3fyO+Svxyux1KZrUv7tCzKB0Xb0gh9OHD5DrpPE3nJRlWxuxbNN3GU=
X-Received: by 2002:a17:90a:db87:b0:268:21f0:65e7 with SMTP id h7-20020a17090adb8700b0026821f065e7mr12333604pjv.49.1691002416569; Wed, 02 Aug 2023 11:53:36 -0700 (PDT)
Received: from 1058052472880 named unknown by gmailapi.google.com with HTTPREST; Wed, 2 Aug 2023 11:53:35 -0700
From: Alvaro Retana <aretana.ietf@gmail.com>
In-Reply-To: <EE87B1E7-38C3-4B15-BA6B-E82114735C6B@gmail.com>
References: <169039355480.3375.9650340417091158442@ietfa.amsl.com> <EE87B1E7-38C3-4B15-BA6B-E82114735C6B@gmail.com>
MIME-Version: 1.0
Date: Wed, 02 Aug 2023 11:53:35 -0700
Message-ID: <CAMMESsyoa2ZVcX9k22x2ytgKT482DCOkDFGhHej2UOSz_MgUjQ@mail.gmail.com>
To: Acee Lindem <acee.ietf@gmail.com>
Cc: lsvr-chairs@ietf.org, Keyur Patel <keyur@arrcus.com>, james.n.guichard@futurewei.com, "lsvr@ietf.org" <lsvr@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000005aa3a50601f52e98"
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsvr/9-tt6qvjgnyFH1EJE__Q5oid5UM>
Subject: Re: [Lsvr] Alvaro's Remaining Comments: New Version Notification for draft-ietf-lsvr-bgp-spf-27.txt
X-BeenThere: lsvr@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Link State Vector Routing <lsvr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lsvr>, <mailto:lsvr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lsvr/>
List-Post: <mailto:lsvr@ietf.org>
List-Help: <mailto:lsvr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lsvr>, <mailto:lsvr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Aug 2023 18:53:41 -0000

[+ lsvr]

Acee:

Hi!

I looked at the diffs.

The main changes are in the additional text in §7.1 to cover the Descriptor
TLVs, and the new §7.4.


In §7.1, the new text is incomplete; many of the new sentences don't point
at the source of the IGP information, just at rfc7752bis, where no semantic
validation rules are specified.  For example:

   Node Descriptor TLVs and their error handling rules are either defined
in
   section 5.2.1 of [I-D.ietf-idr-rfc7752bis].

The text also doesn't specify what BGP SPF-specific action should be taken
if there’s an error (like it does for some of the other TLVs).

Finally, some of the TLVs come from non-IGP sources.  The BGP Identifier
TLV is an example of that -- it comes from rfc9086, which is not even used
as a reference.



The new section says this:

   7.4. BGP-LS-SPF Link State NLRI Database Synchronization

      While uncommon, there may be situations where the LSNDBs of two BGP-
      LS-SPF speakers lose synchronization. In these situations, the BGP
      session MUST be reset. The mechanisms to detect loss of
      synchronization are beyond the scope of this document.

Resetting the session should result in a resync, so it is not a bad
recommendation.  [A route refresh could also be used.]

All the cases of BGP-LS drop and treat-as-withdraw specified in §7.1 lead
to loss in synchronization and resetting the session won't necessarily fix
the problem.  In the specific case of §5.1.2 (where the BGP-LS attribute is
discarded because of the message size) the action will result in the
session bouncing forever -- and all the other routes being lost,
potentially leaving a part of the network without any reachability.

A rogue node can then remove the BGP-LS attribute, or manipulate the TLVs
to cause any other error to affect the whole session -- not just a single
route.  IOW, the impact is beyond that is mentioned in the Security
Considerations:

   If an authorized BGP peer is compromised, that BGP peer could advertise
   modified Node, Link, or Prefix NLRI which result in misrouting,
repeating
   origination of NLRI, and/or excessive SPF calculations.



As I said in my previous message [1], I will leave it to Jim to decide if
the document is ready for IETF LC.


Thanks!

Alvaro.



[1] https://mailarchive.ietf.org/arch/msg/lsvr/53qx9ERNrHek1U4OphEHQJrhT_o/

On July 26, 2023 at 1:49:46 PM, Acee Lindem (acee.ietf@gmail.com) wrote:

Hey Alvaro,

Please look at this version rather than the rfcdiff that I sent previously.
There were some typos in that diff.

Thanks,
Acee

> On Jul 26, 2023, at 10:45, internet-drafts@ietf.org wrote:
>
>
> A new version of I-D, draft-ietf-lsvr-bgp-spf-27.txt
> has been successfully submitted by Acee Lindem and posted to the
> IETF repository.
>
> Name: draft-ietf-lsvr-bgp-spf
> Revision: 27
> Title: BGP Link-State Shortest Path First (SPF) Routing
> Document date: 2023-07-26
> Group: lsvr
> Pages: 40
> URL: https://www.ietf.org/archive/id/draft-ietf-lsvr-bgp-spf-27.txt
> Status: https://datatracker.ietf.org/doc/draft-ietf-lsvr-bgp-spf/
> Html: https://www.ietf.org/archive/id/draft-ietf-lsvr-bgp-spf-27.html
> Htmlized: https://datatracker.ietf.org/doc/html/draft-ietf-lsvr-bgp-spf
> Diff: https://author-tools.ietf.org/iddiff?url2=draft-ietf-lsvr-bgp-spf-27
>
> Abstract:
> Many Massively Scaled Data Centers (MSDCs) have converged on
> simplified layer 3 routing. Furthermore, requirements for
> operational simplicity has led many of these MSDCs to converge on BGP
> as their single routing protocol for both their fabric routing and
> their Data Center Interconnect (DCI) routing. This document
> describes extensions to BGP to use BGP Link-State distribution and
> the Shortest Path First (SPF) algorithm. In doing this, it allows
> BGP to be efficiently used as both the underlay protocol and the
> overlay protocol in MSDCs.
>
>
>
>
> The IETF Secretariat
>
>