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

Claudio Jeker <cjeker@diehard.n-r-g.com> Mon, 27 March 2023 13:42 UTC

Return-Path: <cjeker@diehard.n-r-g.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 A497EC15C501 for <sidrops@ietfa.amsl.com>; Mon, 27 Mar 2023 06:42:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.195
X-Spam-Level:
X-Spam-Status: No, score=-4.195 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham 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 YzHIQCRi-4kV for <sidrops@ietfa.amsl.com>; Mon, 27 Mar 2023 06:42:50 -0700 (PDT)
Received: from diehard.n-r-g.com (diehard.n-r-g.com [62.48.3.9]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA512) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 90740C151B3E for <sidrops@ietf.org>; Mon, 27 Mar 2023 06:42:49 -0700 (PDT)
Received: (qmail 70787 invoked by uid 1000); 27 Mar 2023 13:42:47 -0000
Date: Mon, 27 Mar 2023 15:42:47 +0200
From: Claudio Jeker <cjeker@diehard.n-r-g.com>
To: Aftab Siddiqui <me@aftabsiddiqui.com>
Cc: Job Snijders <job=40fastly.com@dmarc.ietf.org>, Amreesh Phokeer <phokeer=40isoc.org@dmarc.ietf.org>, "sidrops@ietf.org" <sidrops@ietf.org>, Aftab Siddiqui <Siddiqui@isoc.org>, Max Stucchi <stucchi@isoc.org>, Hanna Kreitem <Kreitem@isoc.org>
Message-ID: <ZCGdV7KRNMfaEUd9@diehard.n-r-g.com>
References: <SJ0PR06MB7677230255CC9134CAF94E98D6879@SJ0PR06MB7677.namprd06.prod.outlook.com> <ZBxcTHebGjhJGpzh@snel> <CAB5NZESXFF68ez7NwK6s3hqYY6ChkHyu_r8jPggO3ysHQB0emA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAB5NZESXFF68ez7NwK6s3hqYY6ChkHyu_r8jPggO3ysHQB0emA@mail.gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/sidrops/arAp6lYC7TksPBvGBmcwh4-ZiLE>
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: Mon, 27 Mar 2023 13:42:50 -0000

On Fri, Mar 24, 2023 at 11:35:35AM +1100, Aftab Siddiqui wrote:
> Hi Job,
> 
> 
> >
> > >      *   To make it clear “AS 0 ASPA MUST only have AS 0 as Provider
> > >          AS”, it doesn’t clearly mention that “normal” ASPA (non AS 0
> > >          ASPA) MUST NOT have AS 0 in the Provider AS.
> > >      *   In the absence of point ‘b’ what if AS 0 is added as Provider
> > >          AS in the ‘normal’ ASPA?
> >
> > I'm a bit unclear on what is meant with the above two points, can you
> > further clarify?
> >
> 
> As per the definition "An ASPA object showing only AS 0 as a provider AS is
> referred to as an AS0 ASPA." i.e. {CAS, AS(0)}
> Any ASPA which is not "AS 0 ASPA" is referred to in the draft as "normal
> ASPA" but it doesn't say that normal ASPA can't have AS 0 in the provider
> AS. i.e. {CAS, AS(139038), AS(0)}. Yes, there is no reason to have AS 0 in
> the provider AS but make it clear in the draft.
 
Adding AS0 to any ASPA object with other ASID in the SPAS is not altering
the outcome. {CAS, [AS(139038), AS(0)]} and {CAS, [AS(139038)]} are
equivalent. The big unsolved question is if the profile spec should limit
this alternative encoding (with the RP software enforcing that MUST).
 
> > >   4.  ROV vs ASPA validation states, keep the states consistent
> > (Unknown/notfound)
> > >      *   ROV States [valid, invalid, notfound] vs ASPA states [valid,
> > invalid, unknown]
> >
> > Why? Route Origin Validation and ASPA verification are two different
> > algorithms with different inputs and different outputs. To me it doesn't
> > seem to increase consistency.
> >
> 
> OK then why using terms like "valid", "invalid" and "unknown" why not just
> use "Provider", "Not Provider" and "No Attestation" because these are
> actual outputs of the function? don't you think the latter creates more
> clarity than the former?

Remember that "Provider", "Not Provider" and "No Attestation" are the
return value of the hop() function and only define the outcome of a single
hop lookup. These outcomes are very different from the end result.
I noticed that many people I talked to about ASPA get quickly confused
about the return values of the hop function and the resulting outcome of the
upstream/downstream algorithm. Often I got asked why a path is valid even
though one particular hop returned "Not Provider". This argumentation is
less confusing if the terms are not aligned.

So no, I think alignment of terms results in less clarity since there is
no immediate alignment from one output to the other.

-- 
:wq Claudio