Re: [Lsvr] AD Review of draft-ietf-lsvr-bgp-spf-19

Acee Lindem <acee.ietf@gmail.com> Thu, 09 March 2023 21:01 UTC

Return-Path: <acee.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 A093EC1526ED; Thu, 9 Mar 2023 13:01:43 -0800 (PST)
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, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 yoGDxUYw7BiR; Thu, 9 Mar 2023 13:01:43 -0800 (PST)
Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) (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 131F6C152577; Thu, 9 Mar 2023 13:01:43 -0800 (PST)
Received: by mail-qt1-x829.google.com with SMTP id d7so3516307qtr.12; Thu, 09 Mar 2023 13:01:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678395702; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=3tert3U3eWjxzSSDFSaQ33vvC2+STtCLDyQ6FOgvhhA=; b=Z9G7RPcK8cmENIkEcCIB+1ZzJjvxzf3SEdqafvZIKjw9orPjqFjXFm+Jdo475Mt4Hv qOdUNF6nn6BILBXqMp6c1zHvPWJhwn0zKEVA95k+oAoWQbEcIvHsmZxwq8PnbgAHykfT Q4qln1P26WqQqfCHEcnTNO56qC37y2GF+L7z9EJ35jAHlcp6uPtwfbslK/k9qMaK3yOL QraN22xUccLK6dX1Sruz0+92ADgLctP9B5NLrW9GSdrtmcT1di1Wm3KZSBG3jrDXJVm5 F1cMa9frtL+JdiAkbthOmp1J78d6mosxwz9klwTWNOP0vyhg1o9NEah1mhfbprNtBLvw 4Bag==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678395702; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3tert3U3eWjxzSSDFSaQ33vvC2+STtCLDyQ6FOgvhhA=; b=kaINyv0KjJ1Y3BUi1Q+k4h2uRrH9e/UHzXl8PBzSD3bgoNlUnWxLoOao8Br3Rm8WB9 V712JlGNgzJhAIeEeEX5rzblqRLdhjd5QgKnfSu/LaR0X+eOGzwWN7Bn6xkH4SUo4gub zo/6COK9uJ8KT4bJcuNWSKdvArizLIL+dU5yN+9F7NxoVazY3geHT1NOvDZfpF4N8fzh B2lR9XMtxjaIhdxHvoUE01ceFDCPGh0cMuJeGBeNAb6mLpPFJ3baGDvwIhhHrATIVKbx G7FiUy0djwMfJSBZpYRRa5vhr35Zu21FlLlLTA6wYnVNv1JFH3JnVoY3uJlwADlt1jJS n20g==
X-Gm-Message-State: AO0yUKV18Z3qtYCjW8ro/yulk/ePsvTnRJ289g5oj0eP+0cqz4pLxukr rYbgkloF6UD6HtLde/2mW8eMKUFwTs4=
X-Google-Smtp-Source: AK7set9T+lM1O9L1kiy2lzMIukxtiJl1kqe3vkaCCjJCjTlkG+/6gnBIs95IpbD49HPY5XyxCwVN+w==
X-Received: by 2002:a05:622a:1109:b0:3b8:60b9:e75b with SMTP id e9-20020a05622a110900b003b860b9e75bmr40730341qty.3.1678395702198; Thu, 09 Mar 2023 13:01:42 -0800 (PST)
Received: from smtpclient.apple ([136.56.133.70]) by smtp.gmail.com with ESMTPSA id he4-20020a05622a600400b003b646123691sm14195qtb.31.2023.03.09.13.01.41 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Mar 2023 13:01:41 -0800 (PST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\))
From: Acee Lindem <acee.ietf@gmail.com>
In-Reply-To: <CAMMESsyp_7VSwE5geAKagQJ5vaJCTDmQgYwTSFr2Kfwr7Njn=A@mail.gmail.com>
Date: Thu, 09 Mar 2023 16:01:31 -0500
Cc: draft-ietf-lsvr-bgp-spf@ietf.org, Victor Kuarsingh <victor@jvknet.com>, "lsvr@ietf.org" <lsvr@ietf.org>, lsvr-chairs@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <A3ADC09E-FE27-454D-B2B9-295514210DBE@gmail.com>
References: <CAMMESsyqvrTH70NXGBpB9DLW6VHvpyY8TSm2m_rovXoxZKPyVQ@mail.gmail.com> <7A7004BC-FD6B-4159-85D0-AEA1FB047788@gmail.com> <CAMMESsyp_7VSwE5geAKagQJ5vaJCTDmQgYwTSFr2Kfwr7Njn=A@mail.gmail.com>
To: Alvaro Retana <aretana.ietf@gmail.com>
X-Mailer: Apple Mail (2.3731.400.51.1.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsvr/55qPmaPQHEVoRPkY1HWoEW2JniM>
Subject: Re: [Lsvr] AD Review of draft-ietf-lsvr-bgp-spf-19
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: Thu, 09 Mar 2023 21:01:43 -0000

You are right, my review Email was truncated. 
Thanks,
Acee

> On Mar 9, 2023, at 3:45 PM, Alvaro Retana <aretana.ietf@gmail.com> wrote:
> 
> On March 9, 2023 at 2:41:17 PM, Acee Lindem wrote:
> 
> Acee:
> 
> Hi!
> 
> It looks like the review was truncated, you replied up to line 372,
> but the complete review goes all the way to line 1513. :-(
> 
>   https://mailarchive.ietf.org/arch/msg/lsvr/80Awa3weqFJC5G--ep0EZVYFfmc/
> 
> 
> ...
>>> My main concern is still the lack of semantic checking (see my
>>> comments in §7.*). BGP-LS (rfc7752bis) only does syntactic validation
>>> because any semantic checking is left to the BGP-LS Consumer (and the
>>> specifics left out of scope). The way BGP SPF uses the information is
>>> different (all the nodes run SPF), so the validity of the contents
>>> need to be verified
>> 
>> Keyur and I discussed and we’re not sure you think is missing.
> 
> This is an example (comment at line 1513):
> 
> =====
>   [major] The validation in rfc7752bis is syntactic, checking that the lengths
>   are ok, etc.  What about semantic validation?  For example, if TLV 516 is
>   present, but the value of the ID is 0, what should the receiver do?  Is the
>   TLV valid?  Is the Node Descriptor valid?  Is the NLRI valid?
> 
>   This is just an example -- we should go through all the TLVs.  Note that none
>   of the BGP-LS documents talk about semantic validation, so there isn't a
>   place to point to :-( because the Consumer is expected to take care of that -
>   - and how it operates is out of scope.  IOW, BGP-LS can be a garbage-in-
>   garbage-out transport from a semantic point of view, but BGP SPF can't!
> =====
> 
> 
> 
> Alvaro.