[Sidrops] Format of ASPA RTR PDU

Maria Matejka <maria.matejka@nic.cz> Tue, 07 November 2023 15:00 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 F13E1C19846B for <sidrops@ietfa.amsl.com>; Tue, 7 Nov 2023 07:00:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.105
X-Spam-Level:
X-Spam-Status: No, score=-7.105 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_HI=-5, 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 dV4Z8pwIRi-y for <sidrops@ietfa.amsl.com>; Tue, 7 Nov 2023 07:00:53 -0800 (PST)
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 D436CC15C2A0 for <sidrops@ietf.org>; Tue, 7 Nov 2023 07:00:52 -0800 (PST)
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 A5C6A1C1834; Tue, 7 Nov 2023 16:00:49 +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=1699369249; bh=cEKgg093EZVuInaihTBNew5iPqYFjkt2WYKFPQnHMHE=; h=Date:To:Cc:From:Subject:From:Reply-To:Subject:To:Cc; b=wIiSlRsLd5ICtRCBdcx4poA4IAUjRQd/0tY0Vi5DTdHFZAWABf0AhC9Z2QXUmXtt7 tWp0SqVC/6HB0K2YO86NZQoaFnELWX93aMt5oxT5sELPwNrj2ou8TxO85eEA2QvcZK FqeZK2CtmB1qumu6mQLdysekunyuGyGNjWAj3ImI=
Content-Type: multipart/alternative; boundary="------------tbMfS4YWWK64syLtwdvefGCZ"
Message-ID: <0d8fcb69-54e1-4ba3-b5c9-29f93b3271eb@nic.cz>
Date: Tue, 07 Nov 2023 16:00:49 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US, cs
To: sidrops <sidrops@ietf.org>
Cc: Kateřina Kubecová <katerina.kubecova@nic.cz>, Ondrej Zajicek <santiago@crfreenet.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-Server: mail
X-Rspamd-Pre-Result: action=no action; module=multimap; Matched map: WHITELISTED_IP
X-Rspamd-Queue-Id: A5C6A1C1834
X-Spamd-Bar: /
X-Spamd-Result: default: False [-0.10 / 20.00]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; 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]
Archived-At: <https://mailarchive.ietf.org/arch/msg/sidrops/tQ2iO7dx2iswicUjdG-J4EDui2w>
Subject: [Sidrops] Format of ASPA RTR PDU
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, 07 Nov 2023 15:00:58 -0000

Hello!

While trying to implement ASPA in RTR, we got confused by § 5.12, ASPA 
PDU, as of draft-ietf-sidrops-8210bis-11. Bytes 2 and 3 are set to zero 
and bytes 10 and 11 are encoding Provider AS Count which can be inferred 
from the overall PDU length easily. Is there any good reason to have 
this redundant information inside the PDU? We are suggesting to move the 
Flags and AFI Flags to bytes 2 and 3 and to drop Provider AS Count 
completely. The Customer ASN would then start at byte 8 and Provider 
ASNs would start at byte 12.

Also, while writing this, there arose another question. Is there any 
significant difference between ASPA with only Provider AS Zero and ASPA 
with no Provider AS at all?

Thank you for the clarification.
Maria, Kata and the BIRD Team

-- 
Maria Matejka (she/her) | BIRD Team Leader | CZ.NIC, z.s.p.o.