Re: [Sidrops] ASPA Validation with Mutual Transits vs. Lateral Peers
Claudio Jeker <cjeker@diehard.n-r-g.com> Wed, 01 November 2023 13:31 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 67EA1C1524AC for <sidrops@ietfa.amsl.com>; Wed, 1 Nov 2023 06:31:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.905
X-Spam-Level:
X-Spam-Status: No, score=-1.905 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=unavailable 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 tOmi9otOqwAL for <sidrops@ietfa.amsl.com>; Wed, 1 Nov 2023 06:31:45 -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 C575DC1519BE for <sidrops@ietf.org>; Wed, 1 Nov 2023 06:31:43 -0700 (PDT)
Received: (qmail 56618 invoked by uid 1000); 1 Nov 2023 13:31:39 -0000
Date: Wed, 01 Nov 2023 14:31:39 +0100
From: Claudio Jeker <cjeker@diehard.n-r-g.com>
To: Maria Matejka <maria.matejka=40nic.cz@dmarc.ietf.org>
Cc: sidrops <sidrops@ietf.org>
Message-ID: <ZUJTO0jYx9n3NdCD@diehard.n-r-g.com>
References: <d22e8f66-2f6c-4308-b922-6c809194c9c9@nic.cz>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <d22e8f66-2f6c-4308-b922-6c809194c9c9@nic.cz>
Archived-At: <https://mailarchive.ietf.org/arch/msg/sidrops/Cn3dR1z6bpoVgkjKDal65pSXoUo>
Subject: Re: [Sidrops] ASPA Validation with Mutual Transits vs. Lateral Peers
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: Wed, 01 Nov 2023 13:31:46 -0000
On Wed, Nov 01, 2023 at 01:53:50PM +0100, Maria Matejka wrote: > Hello all! > > I'm seeking for a clarification for peerings: > > P---Q > / \ > / \ > C D > > Here, C and D are clients of P and Q, respectively, and P-Q are peers or > mutual transits. Let's assume all parties have already signed and published > their ASPA records and C and D are doing ASPA validation. > > (1) Assuming all P and Q are both mutual transits (thus not having a true > provider "above them"), then P and Q shall both announce ASPA P→Q and Q→P. > The path D Q P C is then valid as by § 6.2.2.4 u_min = 4 and v_max= 1, and > by § 6.2.2.7, K = 3, L = 2, L - K = -1 ≤ 1 → VALID > > (2) Assuming both P and Q are lateral peers and announce only their transit > ASPAs (P→T and Q→R), then the path D Q P C is still valid as by § 6.2.2.4 > u_min = 3 and v_max = 2, and by § 6.2.2.7, K = 2, L = 3, L - K = 1 → VALID > > That looks clean but what bugs me is this then: > > T---R > / / \\___ > / / \ \ > P---S Q U > / \ | > / \ | > C D > > Here, the ASPAs are signed as follows: C→P, D→QU, P→T, S→R, Q→R, U→R, T→R, > R→T … then path D Q P C is still valid (u_min = 3, v_max = 2, K = 2, L = 3) > so Q is free to spoof C prefixes to D instead of (also valid) correct D U R > T P C … at least D U R S P C gets banished with u_min = 3 and v_max = 4, > hoping for not being off by one. > > Am I correct that path spoofing to customers is _not_ the aim of ASPA? > Yes. The goal is to prevent leaks. In your case above D Q P C is still valid because the relation between Q and P could be a lateral peering which is not represented in ASPA. ASPA allows for one lateral peering (horizontal line) in the path. ASPA does not prevent spoofing, it just makes it a bit harder. -- :wq Claudio
- [Sidrops] ASPA Validation with Mutual Transits vs… Maria Matejka
- Re: [Sidrops] ASPA Validation with Mutual Transit… Claudio Jeker