[Sidrops] Re: [Sidrops] draft-li-sidrops-rpki-repository-problem-statement-00-scalability issues

Yingying Su <suyy@mail.zgclab.edu.cn> Tue, 15 October 2024 03:52 UTC

Return-Path: <suyy@mail.zgclab.edu.cn>
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 1D1ACC169418 for <sidrops@ietfa.amsl.com>; Mon, 14 Oct 2024 20:52:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.705
X-Spam-Level:
X-Spam-Status: No, score=-1.705 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_MSPIKE_BL=0.001, RCVD_IN_MSPIKE_L4=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_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (body has been altered)" header.d=mail.zgclab.edu.cn
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 LffIg2lV0tgs for <sidrops@ietfa.amsl.com>; Mon, 14 Oct 2024 20:52:18 -0700 (PDT)
Received: from zg8tmtyylji0my4xnjeumjiw.icoremail.net (zg8tmtyylji0my4xnjeumjiw.icoremail.net [162.243.161.220]) by ietfa.amsl.com (Postfix) with ESMTP id 55F2AC14F5F8 for <sidrops@ietf.org>; Mon, 14 Oct 2024 20:52:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mail.zgclab.edu.cn; s=dkim; h=Received:Date:From:To:Cc:Subject: In-Reply-To:References:Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID; bh=7ec3Ih0KAlT0qa26hknb+nPPSrQA0Guj2X64 JJ03aPg=; b=c5V7cOd3zwlAVgIGzHGU5h1KCMXmfPUwHLFJ7yAYe5uu1h+9XoVV DlQsgL9e3+S2CdWbLEULXyoT3q9wBp8WVaXeoVyxFvdI+eqhE6rNIyZLQjtndL+I 3EiOk1jLowWI+9OT0kPR1DRcFG73eXcHHkk+BNS3JfvGQa6OxhryroE=
Received: from suyy$mail.zgclab.edu.cn ( [58.206.204.32] ) by ajax-webmail-web5 (Coremail) ; Tue, 15 Oct 2024 11:52:11 +0800 (GMT+08:00)
X-Originating-IP: [58.206.204.32]
Date: Tue, 15 Oct 2024 11:52:11 +0800
X-CM-HeaderCharset: UTF-8
From: Yingying Su <suyy@mail.zgclab.edu.cn>
To: Tim Bruijnzeels <tbruijnzeels@ripe.net>
X-Priority: 3
X-Mailer: Coremail Webmail Server Version 2024.1-cmXT5 build 20240729(6d2960c6) Copyright (c) 2002-2024 www.mailtech.cn mispb-4df55a87-4b50-4a66-85a0-70f79cb6c8b5-tsinghua.edu.cn
In-Reply-To: <377871F2-F475-4D88-9201-2DBF064927F5@ripe.net>
References: <6cd72bd.debe.192335eef16.Coremail.suyy@mail.zgclab.edu.cn> <ZvrZDmFJ8C7hVT87@fast> <1c9b03b8.1ce24.1928ab5d7d3.Coremail.suyy@mail.zgclab.edu.cn> <377871F2-F475-4D88-9201-2DBF064927F5@ripe.net>
Content-Transfer-Encoding: base64
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
Message-ID: <7804ae7b.1d986.1928e4e07ae.Coremail.suyy@mail.zgclab.edu.cn>
X-Coremail-Locale: zh_CN
X-CM-TRANSID: zAQGZQB3+X7r5g1nEdfmAQ--.17202W
X-CM-SenderInfo: pvx15qx2jfztveohv3gofq/1tbiAQMLEWcM3ei6vgAAsC
X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWDJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU=
Message-ID-Hash: 4ULYEB7XOGNCV5BHOXKYACZ5NEV4XTBY
X-Message-ID-Hash: 4ULYEB7XOGNCV5BHOXKYACZ5NEV4XTBY
X-MailFrom: suyy@mail.zgclab.edu.cn
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-sidrops.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Yingying Su <suyy=40mail.zgclab.edu.cn@dmarc.ietf.org>, Job Snijders <job=40fastly.com@dmarc.ietf.org>, sidrops@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Sidrops] Re: [Sidrops] draft-li-sidrops-rpki-repository-problem-statement-00-scalability issues
List-Id: A list for the SIDR Operations WG <sidrops.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/sidrops/mpw51O1vB2d2EwaVs4XeAODLwEY>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sidrops>
List-Help: <mailto:sidrops-request@ietf.org?subject=help>
List-Owner: <mailto:sidrops-owner@ietf.org>
List-Post: <mailto:sidrops@ietf.org>
List-Subscribe: <mailto:sidrops-join@ietf.org>
List-Unsubscribe: <mailto:sidrops-leave@ietf.org>

Hello Tim

I’ve added some comments in-line.

> -----原始邮件-----
> 发件人: "Tim Bruijnzeels" <tbruijnzeels@ripe.net>
> 发送时间:2024-10-14 22:15:19 (星期一)
> 收件人: "Yingying Su" <suyy=40mail.zgclab.edu.cn@dmarc.ietf.org>
> 抄送: "Job Snijders" <job=40fastly.com@dmarc.ietf.org>, sidrops@ietf.org
> 主题: [Sidrops] Re: [Sidrops] draft-li-sidrops-rpki-repository-problem-statement-00-scalability issues
> 
> 
> 
> > On 14 Oct 2024, at 13:07, Yingying Su <suyy=40mail.zgclab.edu.cn@dmarc.ietf.org> wrote:
> > 
> >>   330     Similarly, it is also challenging for RP
> >>   331    softwares to clearly limit the maximum number of accessible
> >>   332    repositories.  In addition, a series of recent academic works have
> >>   341    emerged that exploit repository vulnerabilities to cause repository
> >>   342    downtime, thereby preventing it from providing normal services to RPs
> >>   343    [behind-the-scenes].  There are also works [beyond-limits][stalloris]
> >>   344    that manipulate malicious repositories to attack RPs, thus
> >>   345    obstructing the synchronization of RPKI data.
> >> 
> >> The papers referenced here are not entirely without controversy.
> > 
> > What is the specific controversy?
> 
> To name one one thing the [behind-the-scenes] paper seems to claim that operators
> can only choose between:
> - A CA and Repository hosted by their RIR/NIR
> - A self-hosted CA and Repository
> 
> There is a third option where a self-hosted CA uses a publication service provided
> by a third party, typically the organisation's RIR or NIR.
> 
> There are over 2500 self hosted CAs in Brazil that use a publication service
> provided by nic.br <http://nic.br/>. This number is this high because nic.br <http://nic.br/> members cannot use a
> self-hosted CA, they have to use a delegated CA, but they can publish at nic.br.

These 2,500 self-hosted CAs still controlling their private keys and being able to use their private keys to sign subordinate CAs or ROAs, correct? In other words, they are still running the CA engine, but not operating the repository publication point, and instead, they are publishing their certificates to the repository hosted by nic.br?

> Looking at RIPE NCC, the majority of its members choose a hosted CA and repo, but
> some run their own CA and we see more than 150 of those using the publication
> service provided by the RIPE NCC.

Does RIPE NCC also allow CAs to run the CA engine but use their publication point for data publication? How did you measure and find that 150 CAs run their own CA engine but use RIPE NCC's publication point? Because I feel it’s difficult to distinguish, from the data synchronized from RIPE NCC, whether a CA is fully using hosted RPKI or is still able to sign subordinate CAs or ROAs but hosts the signed RPKI data objects in RIPE NCC’PP.

> Missing that this option exists (and is in fact widespread) means that at least
> one of the fundamental assumptions in this [behind-the-scenes] work is flawed.

The author of [behind-the-scenes] describes in lines 10-12 of section 3, “The publication points are operated either in a hosted mode, e.g., by the RIRs, or in a delegated mode by an owner AS.”  Indeed, they did not consider cases like nic.br, where the CA engine is operated but not the repository PP (This is neither a purely hosted RPKI model nor a purely delegated RPKI model). However, the differences in understanding the actual operational modes of the CA and repository do not seem to affect their experimental conclusions, as they are analyzing the weakness of the DNS component that the RPs in RPKI use to look up the PPs.

> Tim
> 
>  
> _______________________________________________
> Sidrops mailing list -- sidrops@ietf.org
> To unsubscribe send an email to sidrops-leave@ietf.org