[Sidrops] ASPA Validation with Mutual Transits vs. Lateral Peers
Maria Matejka <maria.matejka@nic.cz> Wed, 01 November 2023 12:54 UTC
Return-Path: <maria.matejka@nic.cz>
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 32E9AC15C28D for <sidrops@ietfa.amsl.com>; Wed, 1 Nov 2023 05:54:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level:
X-Spam-Status: No, score=-2.104 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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 (1024-bit key) header.d=nic.cz
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 1Q3Q5dpwJctw for <sidrops@ietfa.amsl.com>; Wed, 1 Nov 2023 05:53:55 -0700 (PDT)
Received: from mail.nic.cz (mail.nic.cz [217.31.204.67]) (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 20EE0C15C287 for <sidrops@ietf.org>; Wed, 1 Nov 2023 05:53:54 -0700 (PDT)
Received: from [IPV6:2001:1488:fffe:6:50ad:afe4:e55e:3bf5] (unknown [IPv6:2001:1488:fffe:6:50ad:afe4:e55e:3bf5]) by mail.nic.cz (Postfix) with ESMTPSA id 6CCED1C1190 for <sidrops@ietf.org>; Wed, 1 Nov 2023 13:53:51 +0100 (CET)
Authentication-Results: mail.nic.cz; auth=pass smtp.auth=maria.matejka@nic.cz smtp.mailfrom=maria.matejka@nic.cz
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1698843231; bh=iL4zLG+PWJCVlUSAFE+iiHNIPenYDRYGW6iRBieU6o4=; h=Date:To:From:Subject:From:Reply-To:Subject:To:Cc; b=WTFoMZ94+TJ/sagdql7cA6oChvOOOcevaNsGw9JmTkerw4XG3i/Y9HLhrh0c73nGf R938q5mm5wYhGzO+CqDg1oqbILAlPbsakDP2nbpClm6rmf05B3EKZzHR6GHp8hM8kj tBbRiD666coc2iKzIxrrJh3Ig8rJ02vw/spNgfHA=
Content-Type: multipart/alternative; boundary="------------mrC091Wa4DSb578xDtn0AWDc"
Message-ID: <d22e8f66-2f6c-4308-b922-6c809194c9c9@nic.cz>
Date: Wed, 01 Nov 2023 13:53:50 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US, cs
To: sidrops <sidrops@ietf.org>
From: Maria Matejka <maria.matejka@nic.cz>
X-Virus-Scanned: clamav-milter 0.103.7 at mail
X-Virus-Status: Clean
X-Rspamd-Action: no action
X-Rspamd-Pre-Result: action=no action; module=multimap; Matched map: WHITELISTED_IP
X-Rspamd-Queue-Id: 6CCED1C1190
X-Spamd-Bar: /
X-Spamd-Result: default: False [-0.10 / 20.00]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FUZZY_BLOCKED(0.00)[rspamd.com]; WHITELISTED_IP(0.00)[2001:1488:fffe:6:50ad:afe4:e55e:3bf5]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:25192, ipnet:2001:1488::/32, country:CZ]
X-Rspamd-Server: mail
Archived-At: <https://mailarchive.ietf.org/arch/msg/sidrops/r89M_JNi0mv7WsiZn9olHIYgAfM>
Subject: [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 12:54:00 -0000
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?
Thanks,
Maria
--
Maria Matejka (she/her) | BIRD Team Leader | CZ.NIC, z.s.p.o.
- [Sidrops] ASPA Validation with Mutual Transits vs… Maria Matejka
- Re: [Sidrops] ASPA Validation with Mutual Transit… Claudio Jeker