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

Job Snijders <job@fastly.com> Wed, 16 October 2024 16:31 UTC

Return-Path: <job@fastly.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 C20F4C1F5883 for <sidrops@ietfa.amsl.com>; Wed, 16 Oct 2024 09:31:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.103
X-Spam-Level:
X-Spam-Status: No, score=-2.103 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, RCVD_IN_DNSWL_BLOCKED=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, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=fastly.com
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 HSUp8nkwqGUQ for <sidrops@ietfa.amsl.com>; Wed, 16 Oct 2024 09:31:09 -0700 (PDT)
Received: from mail-il1-x12a.google.com (mail-il1-x12a.google.com [IPv6:2607:f8b0:4864:20::12a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0E8C0C1E641F for <sidrops@ietf.org>; Wed, 16 Oct 2024 09:31:08 -0700 (PDT)
Received: by mail-il1-x12a.google.com with SMTP id e9e14a558f8ab-3a3938e73d3so279855ab.1 for <sidrops@ietf.org>; Wed, 16 Oct 2024 09:31:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastly.com; s=google; t=1729096268; x=1729701068; darn=ietf.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=mv3scpqzwrJ0/rl999ixdSjB2iNab9b7YzymBRUZtCA=; b=i8K0H6nnOI1H1wCfs+W+vPWiaRO2ilPenHv6k2r4tCgORYPvT1rwmJTJrvC+WKTOtg TESLbAWtoJ0PnZdFMVCofopNUnltRvbp4kN70PNLG1NbvfnT9aV5qJgd7eg6CVWiDW0i LGbDpeIlfoYoop8CtVECPYGu5yRjmf17ATNGk=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729096268; x=1729701068; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=mv3scpqzwrJ0/rl999ixdSjB2iNab9b7YzymBRUZtCA=; b=StcmCWJL3Xoh+4Yt7pbKGgqX/BpEvqAq7IXHCCu3G0T1zjJhcTZUBRxnI59XYEZNu0 VwzVw7aPw7IhnPms7XElJnwuVz31lBHgnYq8CxpqFI6yQ1wLU0JriV/zjrb/M6WSg4Gc s6oq8e/VNIv2jgz3qgae1109yAC1goI5dCHteYhaz1gYM8wiva1NRDXSVGAACshsFUFq fs1qot3xEUMM9bUA9OWJfIXjZJiddXPd/ieJ2BZ3DjqoCxRFcs6fht9ySk/t3S6Wnqzc kibxKmjPruwO5QSL+d4lQgroJdQhYcB897gfmkVlWqBSt50P74S2FbREg2MO6VvjzE0g qRbw==
X-Gm-Message-State: AOJu0YwPjLvD4eeLlbEX3ZP+Tie6FsXzUKZKNddO/yA0ZCHbOjzgA8xk HFGHZbUzLdwTWc/1DplHfb58l3K9yfzaTXJ2sJR/rFV8i+mxB1Nc20H4fgaQBCg7aV0EVCqGPnw tSpA=
X-Google-Smtp-Source: AGHT+IELN9Cb4brMzfkpGkTSx1AR8bCmfjOjrmt0RsTYkjAgTeeRbNRYpF4MT01bw0qeX/u4OHkjpA==
X-Received: by 2002:a05:6e02:1c88:b0:3a2:aed1:1285 with SMTP id e9e14a558f8ab-3a3bccade28mr150929405ab.0.1729096267618; Wed, 16 Oct 2024 09:31:07 -0700 (PDT)
Received: from feather.sobornost.net ([12.186.77.75]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7ea9c715e3esm3402552a12.90.2024.10.16.09.31.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2024 09:31:07 -0700 (PDT)
Date: Wed, 16 Oct 2024 16:31:04 +0000
From: Job Snijders <job@fastly.com>
To: Yingying Su <suyy=40mail.zgclab.edu.cn@dmarc.ietf.org>
Message-ID: <Zw_qSGv8YnOmefS5@feather.sobornost.net>
References: <6cd72bd.debe.192335eef16.Coremail.suyy@mail.zgclab.edu.cn> <ZvrZDmFJ8C7hVT87@fast> <61cf9f53.1ce20.1928ab4bf37.Coremail.suyy@mail.zgclab.edu.cn>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <61cf9f53.1ce20.1928ab4bf37.Coremail.suyy@mail.zgclab.edu.cn>
Message-ID-Hash: O2TQ4JAKZPJ4TVK7QSGHNRUHLT3JDSJO
X-Message-ID-Hash: O2TQ4JAKZPJ4TVK7QSGHNRUHLT3JDSJO
X-MailFrom: job@fastly.com
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: sidrops@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Sidrops] Re: draft-li-sidrops-rpki-repository-problem-statement-00- reliability issues
List-Id: A list for the SIDR Operations WG <sidrops.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/sidrops/535nBv2Tnqbl5a7NIZSQ5I4NrNA>
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>

On Mon, Oct 14, 2024 at 07:05:54PM +0800, Yingying Su wrote:
> > 63 minus 9 minus 1 is 53. How can 60 be hosed in a single AS? Which AS
> > is this? Is there a calculation error? The above observation does not
> > match with my own datasets.
> 
> I would like to clarify my earlier statement regarding the distribution of
> repository instances. When I mentioned that 60 out of 63 repositories are
> hosted in a single AS, I meant that there are multiple ASes hosting these
> repositories, but there are 60 instances hosted in only one AS. For instance,
> if repository A hosted in AS1, B hosted in AS2, and C hosted in AS4 and AS3,
> then it could be stated that two repositories (A and B) are hosted in a single AS.

Thank you for the clarification. So you are saying that the repositories are already
almost maximally distributed across different Autonomous Systems - sounds good no?

> It is crucial to recognize that as an essential RPKI data resource storage system,
> the accessibility of the RPKI repository node should not depend solely on a single
> AS. The resources stored within these repository nodes play a key role in ensuring
> the reachability of ASes. 

An incredible number of ultra reliable Internet services use on a single AS. It does
not automatically follow that the use of a single ASN is bad for reliablity.

Additionally, already today various publication point operators host
their RRDP service in a different AS than their RSYNC service.

Example: RIPE NCC hosts their RSYNC server in AS 3333, APNIC hosts its
RSYNC service in AS 4608. Both RIPE NCC & APNIC use a CDN (in a different
AS) for RRDP. If the CDN goes down, Relying Parties will simply switch to
RSYNC and follow entirely different network paths to synchronize the repository.

ARIN even went a step further: the RSYNC and RRDP services are hosted in AS 394018,
AS 393225, AS 393220. This is accomplished by using multiple A & AAAA records
pointing to different IPs originated by different ASes.

In your analysis I fail to see recognizition for the existing redundancy &
diversity in the existing iteration of the RPKI.

You use words like 'truly distributed' and 'robust' - but the existing system
literally is distributed (and as robust as people choose to make it).

RPKI over BitTorrent has been tried, and it was not a success. RPKI over IPFS
has been studied and was deemed to be impractical.

> > Yes, problems occur in the real world. Then again, temporal inability to
> > synchronize with a given publication service does not immediately render
> > previously fetched & cached objects invalid. As per RFC 9286, Relying
> > Party implementation should use locally cached objects until such time
> > they become stale. In practise this means there is time budget for
> > publication point outages.
> 
> While local caching can indeed alleviate the impact of temporary repository
> node outages, it is only a short-term solution. Once the cached objects expire,
> RPs may find themselves unable to access updated RPKI data, potentially leading
> to ROV failures. Therefore, caching mechanisms alone do not adequately address
> the risks associated with PP failures, especially during extended outages of 7,
> 10 hours, or even longer. 
> 
> I think that while caching can serve as a temporary measure, the RPKI repository
> requires a more robust architecture to guarantee high availability and redundant
> storage solutions, rather than depending exclusively on caching and time allowances
> to resolve these issues.

Caching is more than a 'temporary measure'. Caching is an essential component of a
sane relying party implementation, because without cache the RP is doing network
reads all the time which would be costly.

While we might not agree on the problem statement at hand, I am curious what solution
direction you have in mind. Especially a cost/benefit analysis would be nice: who
pays of the redundant storage and potential increase in bandwidth usage?

Do you have a short summary of what you'd want to change to RRDP? Or do you have
something entirely different in mind?

Kind regards,

Job