Re: [Sidrops] Which 8210-bis error code should be used?

Jay Borkenhagen <jayb@braeburn.org> Tue, 23 May 2023 15:10 UTC

Return-Path: <jayb@hrabosky.cbbtier3.att.net>
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 5B76FC15198D; Tue, 23 May 2023 08:10:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.648
X-Spam-Level:
X-Spam-Status: No, score=-1.648 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no autolearn_force=no
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 2pfK1Rmec-NF; Tue, 23 May 2023 08:10:28 -0700 (PDT)
Received: from hrabosky.cbbtier3.att.net (braeburn.org [12.0.1.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 A8338C151091; Tue, 23 May 2023 08:10:28 -0700 (PDT)
Received: by hrabosky.cbbtier3.att.net (Postfix, from userid 1001) id 0E2E539BD0; Tue, 23 May 2023 15:10:26 +0000 (UTC)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <25708.55138.924074.242182@hrabosky.cbbtier3.att.net>
Date: Tue, 23 May 2023 15:10:26 +0000
From: Jay Borkenhagen <jayb@braeburn.org>
To: Claudio Jeker <cjeker@diehard.n-r-g.com>
Cc: "sidrops@ietf.org" <sidrops@ietf.org>, "draft-ietf-sidrops-aspa-verification@ietf.org" <draft-ietf-sidrops-aspa-verification@ietf.org>
In-Reply-To: <ZGs5bFRjPLnyL2Jd@diehard.n-r-g.com>
References: <SA1PR09MB8142523FA03AC4EA6E0E014E847C9@SA1PR09MB8142.namprd09.prod.outlook.com> <SA1PR09MB814235BE0566A5C6935CF5B184439@SA1PR09MB8142.namprd09.prod.outlook.com> <SA1PR09MB814231707524646D651B69B884439@SA1PR09MB8142.namprd09.prod.outlook.com> <ZGs5bFRjPLnyL2Jd@diehard.n-r-g.com>
X-Mailer: VM 8.2.0b under 27.2 (i386-portbld-freebsd12.2)
Reply-To: Jay Borkenhagen <jayb@braeburn.org>
X-GPG-Fingerprint: DDDB 542E D988 94D0 82D3 D198 7DED 6648 2308 D3C0
Archived-At: <https://mailarchive.ietf.org/arch/msg/sidrops/eZj-6bhIjuHD9TIn1fpp4VD8b2I>
Subject: Re: [Sidrops] Which 8210-bis error code should be used?
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: Tue, 23 May 2023 15:10:29 -0000

Hi Claudio,

Regarding the case where an ASPA exists for one AFI but not the other:

I acknowledge your preference to not require separate but nearly
identical tables for ipv4 and ipv6, and I agree with you that an
ASPA-verifying bgp implementation can deal with this situation in its
hop-check function by inferring a table entry for that 'missing' AFI.

However, inferring an AS0 ASPA table entry is almost certainly not
what the creator of the single-AFI ASPA had intended.  I do not know
all the reasons why someone would create an ASPA for one AFI but not
the other, but two that come to mind are:

- "All my INRs are ipv4, so I don't care about ipv6" -- in which case
  it doesn't matter how ASPA-verification treats ipv6 for this ASN,
  
and:

- "I want to wade carefully into ASPA, so let me do only ipv6 first"
   -- in which case they do not intend to imply that they are
   default-free for ipv4. 

Because an assertion of being default-free is not what any single-AFI
ASPA creator would intend, this takes us down the path of whether
ASPA-generating CAs should prohibit or warn operators that they're
about to do something with more severe consequences than they may
realize.  It would be good to avoid that mess.


As an alternative, I would like to propose inferring a wildcard table
entry for the missing AFI, as if the signer had created an ASPA
indicating that every other ASN is one of its providers for the
missing AFI.


For the process of rejecting invalid AS_PATHs, a wildcard will have
the same result as if no ASPA existed, which is the actual situation
at hand for that 'other' AFI.


Thanks.

						Jay B.