Re: [Sidrops] WGLC = draft-ietf-sidrops-aspa-verification - ENDS 03/22/2023 (Mar 22 2023)

Amir Herzberg <amir.lists@gmail.com> Sat, 18 March 2023 17:14 UTC

Return-Path: <amir.herzberg@gmail.com>
X-Original-To: sidrops@ietfa.amsl.com
Delivered-To: sidrops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 762DDC1527AE for <sidrops@ietfa.amsl.com>; Sat, 18 Mar 2023 10:14:37 -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, HTML_MESSAGE=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 Fn-Y2cgQJyG3 for <sidrops@ietfa.amsl.com>; Sat, 18 Mar 2023 10:14:36 -0700 (PDT)
Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) (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 C8900C13AE36 for <sidrops@ietf.org>; Sat, 18 Mar 2023 10:14:36 -0700 (PDT)
Received: by mail-wr1-x433.google.com with SMTP id t15so6923062wrz.7 for <sidrops@ietf.org>; Sat, 18 Mar 2023 10:14:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679159674; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=9d9C9euEWoFmXWvuFDLd9iQoPsT+fBoxid2J0/Iy+jc=; b=c4rKe/ELDpPOoB0HvBgWCtJV/VZqcTBlsjuvGDsmwstLLSmHY2GWIyZjlG/sZef0dv RbE2w5EzZh9n0AH1BFQ/ojjKAHmuDOxd0ejSRfSGDd6UxuSiT7FL80aQ17RCildsqQj1 R/WfTwb6qgOIwgNhceJONuFvF6FIGc/LCkkzvpv06CHd/qngfTzv77KpjYA3x34ch8WO uRiC2vMICk/wPDdlrE0JI5TMMezjEQINHCEOwKXR1udmDr/t5GgKnFzg0QeSaSSfxQRf mkEQZrYqFYnrgGifydsYKmm0Gw0qxBolwCXRRwMhPOjUIFeQde+dZjZKXzeXMNj6RS9Y 7PvA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679159674; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=9d9C9euEWoFmXWvuFDLd9iQoPsT+fBoxid2J0/Iy+jc=; b=QZ8Tw/JX6mCKg17sRdWpHVitxOW/McTtLltXD3nEQUe5n3gghT4DstW/HJY1lSoWuP QWu/4qBM1F0L3jU7M3F4jCxrDY8sM6EI5kW+op+LQYxCNMN0HMrKZExtBLdRqSvoFrJF tl4axaAvTNDbXSqTQ03j7bMPSJEpfhBSXYV+jgqF70FtJenZa1kzKipmdP4S1zXjFwQY hi9lroL+p877RN0AaXnnyoOmjrgo9HyObt7BhXZmhMlTQTqfPwUoOtDADIc810xvWcN7 sDpfk4EA4toBCJB8oJrWIP/D9LibY5i8RXmbXLNMwG/Q44kuHV43147HhPqYZBoUAFzE WCBA==
X-Gm-Message-State: AO0yUKXtn2k91647JWQtUwZy4AY1M9WUE1HWSxgwcdO0oA7h+QDZTEsA CPM9Y91LmFHJEyZpqFOGFymvzwrq54Y69AIg9e0VkZeLrws=
X-Google-Smtp-Source: AK7set9yhqMmr0e7Ya60vzthm4FNt15+bhod6YpzJJlrjg0glXI1FYsNG74DJaMCUjiZosLRoerZsNi5OgWa+lPsggM=
X-Received: by 2002:a05:6000:110:b0:2c5:4f32:b49f with SMTP id o16-20020a056000011000b002c54f32b49fmr1359485wrx.0.1679159674443; Sat, 18 Mar 2023 10:14:34 -0700 (PDT)
MIME-Version: 1.0
From: Amir Herzberg <amir.lists@gmail.com>
Date: Sat, 18 Mar 2023 13:14:23 -0400
Message-ID: <CAHBw0M8nbQbXHDx+sKxTo1XH9fjOQjCV00PbDFQP60xJCSZd-Q@mail.gmail.com>
To: sidrops@ietf.org
Content-Type: multipart/alternative; boundary="000000000000ea9d0905f72fd3bf"
Archived-At: <https://mailarchive.ietf.org/arch/msg/sidrops/JqEj588cOKzPMbqANk2as_XhB48>
Subject: Re: [Sidrops] WGLC = draft-ietf-sidrops-aspa-verification - ENDS 03/22/2023 (Mar 22 2023)
X-BeenThere: sidrops@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: A list for the SIDR Operations WG <sidrops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sidrops>, <mailto:sidrops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sidrops/>
List-Post: <mailto:sidrops@ietf.org>
List-Help: <mailto:sidrops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sidrops>, <mailto:sidrops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 18 Mar 2023 17:14:37 -0000

I've reviewed this draft and recommend advancing it, I think its adoption
is relatively-easy and can have significant benefits - Kudos!

I have few comments, nothing critical though.

1. section 2, change the language and say that an ASe _MAY_ export any
announcement, including from non-customers, to sibling AS. The current
language may be interpreted as if siblings necessarily export everything.

2. section 4:  clarify that ASes A, B which are siblings MUST either both
register the other (in SPAS), or neither register the other in SPAS. I'm
concerned that if you don't clarify this condition, then we may have
deployments where A registers B in its SPAS but B doesn't register A in its
SPAS. Let C be  a provider of  A, and consider an announcement which A
receives from C and exports to B, which exports it to a customer D (who
adopts ASPA). Then D may (incorrectly)  filter this announcement (since it
appears to have been sent `up' from A to B).

3. 2. section 4: you refer to  an ASPA object `showing only AS 0 as a
provider AS' as an AS0 ASPA. It leaves the possibility of an ASPA object
showing as provider AS both AS 0 and another AS. I think you better forbid
this explicitly, i.e., AS 0 should only appear as the only provider AS (if
it appears at all).

4.  section 4: you say that all ASes MUST have an ASPA. I think this should
be only SHOULD as we can't really require/force ASes to adopt a standard.
Or just say that this requirement MUST be met by ASes compliant with the
current specifications.

5. section 5: in the hop-check function, the value `Provider' should better
be renamed to allow for the case the AS(j) is a RS or sibling of AS(i).
Probably best to change the terms in ASPA_Profile too. I realize this
change is a bit problematic since what we mean is really something like
`effective/extended provider', and people are already used to it too, but
maybe something like eProvider or extProvider will work? or UPok? In any
case, using exactly the same term for two different concepts - even with
explanation - is bound to cause confusion and may result in implementation
errors.

and here are some even more minor comments (nitpicks):

- in section 2, clarify that the relationships, except siblings, are
defined in RFC9234
- in section 4 add reference to definition of non-transparent RS AS (or
define)
- In 6.1, s/ AS(i)in/ AS(i) in/
- also  in 6.1: s/ For 2 <= i <= N, if there is an i/If there is an i s.t.
2 <= i <= N and/
- in 6.2, step 4, s/find the lowest value of v/find the lowest value of u/
--
-- 
Amir Herzberg

Comcast professor of Security Innovations, Computer Science and
Engineering, University of Connecticut
Homepage: https://sites.google.com/site/amirherzberg/home
`Applied Introduction to Cryptography' textbook and lectures:
https://sites.google.com/site/amirherzberg/cybersecurity