<?xml version='1.0' encoding='utf-8'?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" version="3" category="std" docName="draft-ietf-sidrops-rrdp-desynchronization-04" number="9697" ipr="trust200902" xml:lang="en" sortRefs="true" symRefs="true" tocInclude="true" tocDepth="3" submissionType="IETF" consensus="true" updates="8182" obsoletes="" prepTime="2024-12-13T10:31:20" indexInclude="true" scripts="Common,Latin">
  <link href="https://datatracker.ietf.org/doc/draft-ietf-sidrops-rrdp-desynchronization-04" rel="prev"/>
  <link href="https://dx.doi.org/10.17487/rfc9697" rel="alternate"/>
  <link href="urn:issn:2070-1721" rel="alternate"/>
  <front>
    <title abbrev="Detecting RRDP Session Desynchronization">Detecting RPKI Repository Delta Protocol (RRDP) Session Desynchronization</title>
    <seriesInfo name="RFC" value="9697" stream="IETF"/>
    <author fullname="Job Snijders" initials="J." surname="Snijders">
      <organization showOnFrontPage="true">Fastly</organization>
      <address>
        <postal>
          <city>Amsterdam</city>
          <country>Netherlands</country>
        </postal>
        <email>job@fastly.com</email>
      </address>
    </author>
    <author fullname="Ties de Kock" initials="T." surname="de Kock">
      <organization showOnFrontPage="true">RIPE NCC</organization>
      <address>
        <postal>
          <city>Amsterdam</city>
          <country>Netherlands</country>
        </postal>
        <email>tdekock@ripe.net</email>
      </address>
    </author>
    <date month="12" year="2024"/>
    <area>OPS</area>
    <workgroup>sidrops</workgroup>
    <keyword>desynchronization</keyword>
    <keyword>RPKI</keyword>
    <keyword>RRDP</keyword>
    <abstract pn="section-abstract">
      <t indent="0" pn="section-abstract-1">
        This document describes an approach for Resource Public Key Infrastructure (RPKI) Relying Parties to detect a particular form of RPKI Repository Delta Protocol (RRDP) session desynchronization and how to recover.
        This document updates RFC 8182.
      </t>
    </abstract>
    <boilerplate>
      <section anchor="status-of-memo" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.1">
        <name slugifiedName="name-status-of-this-memo">Status of This Memo</name>
        <t indent="0" pn="section-boilerplate.1-1">
            This is an Internet Standards Track document.
        </t>
        <t indent="0" pn="section-boilerplate.1-2">
            This document is a product of the Internet Engineering Task Force
            (IETF).  It represents the consensus of the IETF community.  It has
            received public review and has been approved for publication by
            the Internet Engineering Steering Group (IESG).  Further
            information on Internet Standards is available in Section 2 of 
            RFC 7841.
        </t>
        <t indent="0" pn="section-boilerplate.1-3">
            Information about the current status of this document, any
            errata, and how to provide feedback on it may be obtained at
            <eref target="https://www.rfc-editor.org/info/rfc9697" brackets="none"/>.
        </t>
      </section>
      <section anchor="copyright" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.2">
        <name slugifiedName="name-copyright-notice">Copyright Notice</name>
        <t indent="0" pn="section-boilerplate.2-1">
            Copyright (c) 2024 IETF Trust and the persons identified as the
            document authors. All rights reserved.
        </t>
        <t indent="0" pn="section-boilerplate.2-2">
            This document is subject to BCP 78 and the IETF Trust's Legal
            Provisions Relating to IETF Documents
            (<eref target="https://trustee.ietf.org/license-info" brackets="none"/>) in effect on the date of
            publication of this document. Please review these documents
            carefully, as they describe your rights and restrictions with
            respect to this document. Code Components extracted from this
            document must include Revised BSD License text as described in
            Section 4.e of the Trust Legal Provisions and are provided without
            warranty as described in the Revised BSD License.
        </t>
      </section>
    </boilerplate>
    <toc>
      <section anchor="toc" numbered="false" removeInRFC="false" toc="exclude" pn="section-toc.1">
        <name slugifiedName="name-table-of-contents">Table of Contents</name>
        <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1">
          <li pn="section-toc.1-1.1">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.1.1"><xref derivedContent="1" format="counter" sectionFormat="of" target="section-1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-introduction">Introduction</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.1.2">
              <li pn="section-toc.1-1.1.2.1">
                <t indent="0" keepWithNext="true" pn="section-toc.1-1.1.2.1.1"><xref derivedContent="1.1" format="counter" sectionFormat="of" target="section-1.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-requirements-language">Requirements Language</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.2">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.2.1"><xref derivedContent="2" format="counter" sectionFormat="of" target="section-2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-immutability-of-rrdp-files">Immutability of RRDP Files</xref></t>
          </li>
          <li pn="section-toc.1-1.3">
            <t indent="0" pn="section-toc.1-1.3.1"><xref derivedContent="3" format="counter" sectionFormat="of" target="section-3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-detection-of-desynchronizat">Detection of Desynchronization</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.3.2">
              <li pn="section-toc.1-1.3.2.1">
                <t indent="0" pn="section-toc.1-1.3.2.1.1"><xref derivedContent="3.1" format="counter" sectionFormat="of" target="section-3.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-example">Example</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.4">
            <t indent="0" pn="section-toc.1-1.4.1"><xref derivedContent="4" format="counter" sectionFormat="of" target="section-4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-recovery-after-desynchroniz">Recovery After Desynchronization</xref></t>
          </li>
          <li pn="section-toc.1-1.5">
            <t indent="0" pn="section-toc.1-1.5.1"><xref derivedContent="5" format="counter" sectionFormat="of" target="section-5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-changes-to-rfc-8182">Changes to RFC 8182</xref></t>
          </li>
          <li pn="section-toc.1-1.6">
            <t indent="0" pn="section-toc.1-1.6.1"><xref derivedContent="6" format="counter" sectionFormat="of" target="section-6"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-security-considerations">Security Considerations</xref></t>
          </li>
          <li pn="section-toc.1-1.7">
            <t indent="0" pn="section-toc.1-1.7.1"><xref derivedContent="7" format="counter" sectionFormat="of" target="section-7"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-iana-considerations">IANA Considerations</xref></t>
          </li>
          <li pn="section-toc.1-1.8">
            <t indent="0" pn="section-toc.1-1.8.1"><xref derivedContent="8" format="counter" sectionFormat="of" target="section-8"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-references">References</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.8.2">
              <li pn="section-toc.1-1.8.2.1">
                <t indent="0" pn="section-toc.1-1.8.2.1.1"><xref derivedContent="8.1" format="counter" sectionFormat="of" target="section-8.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-normative-references">Normative References</xref></t>
              </li>
              <li pn="section-toc.1-1.8.2.2">
                <t indent="0" pn="section-toc.1-1.8.2.2.1"><xref derivedContent="8.2" format="counter" sectionFormat="of" target="section-8.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-informative-references">Informative References</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.9">
            <t indent="0" pn="section-toc.1-1.9.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.a"/><xref derivedContent="" format="title" sectionFormat="of" target="name-acknowledgements">Acknowledgements</xref></t>
          </li>
          <li pn="section-toc.1-1.10">
            <t indent="0" pn="section-toc.1-1.10.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.b"/><xref derivedContent="" format="title" sectionFormat="of" target="name-authors-addresses">Authors' Addresses</xref></t>
          </li>
        </ul>
      </section>
    </toc>
  </front>
  <middle>
    <section anchor="intro" numbered="true" removeInRFC="false" toc="include" pn="section-1">
      <name slugifiedName="name-introduction">Introduction</name>
      <t indent="0" pn="section-1-1">
        The Resource Public Key Infrastructure (RPKI) Repository Delta Protocol (RRDP) <xref target="RFC8182" format="default" sectionFormat="of" derivedContent="RFC8182"/> is a one-way synchronization protocol for distributing RPKI data in the form of <em>differences</em> (deltas) between sequential repository states.
        Relying Parties (RPs) apply a contiguous chain of deltas to synchronize their local copy of the repository with the current state of the remote Repository Server.
        Delta files for any given session_id and serial number are expected to contain an immutable record of the state of the Repository Server at that given point in time, but this is not always the case.
      </t>
      <t indent="0" pn="section-1-2">
        This document describes an approach for RPs to detect a form of RRDP session desynchronization where the hash of a delta for a given serial number and session_id have mutated from the previous Update Notification File and how to recover.
      </t>
      <section anchor="requirements" numbered="true" removeInRFC="false" toc="include" pn="section-1.1">
        <name slugifiedName="name-requirements-language">Requirements Language</name>
        <t indent="0" pn="section-1.1-1">
    The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>", "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL NOT</bcp14>", "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>", "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>",
    "<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" in this document are to be interpreted as
    described in BCP 14 <xref target="RFC2119" format="default" sectionFormat="of" derivedContent="RFC2119"/> <xref target="RFC8174" format="default" sectionFormat="of" derivedContent="RFC8174"/> 
    when, and only when, they appear in all capitals, as shown here.
        </t>
      </section>
    </section>
    <section anchor="immutability" numbered="true" removeInRFC="false" toc="include" pn="section-2">
      <name slugifiedName="name-immutability-of-rrdp-files">Immutability of RRDP Files</name>
      <t indent="0" pn="section-2-1">
        <xref target="RFC8182" section="3.1" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc8182#section-3.1" derivedContent="RFC8182"/> describes how discrete publication events such as the addition, modification, or deletion of one or more repository objects <em>can</em> be communicated as immutable files, highlighting advantages for publishers, such as the ability to precalculate files and make use of caching infrastructure.
      </t>
      <t indent="0" pn="section-2-2">
   Even though the global RPKI is understood to present a loosely
   consistent view that depends on the cache's timing of updates (see
   <xref target="RFC7115" section="6" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc7115#section-6" derivedContent="RFC7115"/>), different caches having different data for
   the same RRDP session at the same serial violates the principle of
   least astonishment.
      </t>
      <t indent="0" pn="section-2-3">
        If an RRDP server over time serves differing data for a given session_id and serial number, distinct RP instances (depending on the moment they connected to the RRDP server) would end up with divergent local repositories.
        Comparing only the server-provided session_id and latest serial number across distinct RP instances would not bring such divergence to light.
      </t>
      <t indent="0" pn="section-2-4">
        The RRDP specification <xref target="RFC8182" format="default" sectionFormat="of" derivedContent="RFC8182"/> alludes to immutability being a property of RRDP files, but it doesn't make it clear that immutability is an absolute requirement for the RRDP to work well.
      </t>
    </section>
    <section anchor="detection" numbered="true" removeInRFC="false" toc="include" pn="section-3">
      <name slugifiedName="name-detection-of-desynchronizat">Detection of Desynchronization</name>
      <t indent="0" pn="section-3-1">
        Relying Parties can implement a mechanism to keep a record of the serial and hash attribute values in delta elements of the previous successful fetch of an Update Notification File.
        Then, after fetching a new Update Notification File, the Relying Party should compare if the serial and hash values of previously seen serials match those in the newly fetched file.
        If any differences are detected, this means that the Delta files were unexpectedly mutated, and the RP should proceed to <xref target="recovery" format="default" sectionFormat="of" derivedContent="Section 4"/>.
      </t>
      <section anchor="example" numbered="true" removeInRFC="false" toc="include" pn="section-3.1">
        <name slugifiedName="name-example">Example</name>
        <t indent="0" pn="section-3.1-1">
          This section contains two versions of an Update Notification File to demonstrate an unexpected mutation.
          The initial Update Notification File is as follows:
        </t>
        <figure align="left" suppress-title="false" pn="figure-1">
          <sourcecode type="xml" markers="false" pn="section-3.1-2.1">
&lt;notification xmlns="http://www.ripe.net/rpki/rrdp" version="1"
session_id="fe528335-db5f-48b2-be7e-bf0992d0b5ec" serial="1774"&gt;
&lt;snapshot uri="https://rrdp.example.net/1774/snapshot.xml"
hash=
"4b5f27b099737b8bf288a33796bfe825fb2014a69fd6aa99080380299952f2e2"
/&gt;
&lt;delta serial="1774" uri="https://rrdp.example.net/1774/delta.xml"
hash=
"effac94afd30bbf1cd6e180e7f445a4d4653cb4c91068fa9e7b669d49b5aaa00"
/&gt;
&lt;delta serial="1773" uri="https://rrdp.example.net/1773/delta.xml"
hash=
"731169254dd5de0ede94ba6999bda63b0fae9880873a3710e87a71bafb64761a"
/&gt;
&lt;delta serial="1772" uri="https://rrdp.example.net/1772/delta.xml"
hash=
"d4087585323fd6b7fd899ebf662ef213c469d39f53839fa6241847f4f6ceb939"
/&gt;
&lt;/notification&gt;
</sourcecode>
        </figure>
        <t indent="0" pn="section-3.1-3">
          Based on the above Update Notification File, an RP implementation could record the following state:
        </t>
        <figure anchor="state" align="left" suppress-title="false" pn="figure-2">
          <sourcecode type="" markers="false" pn="section-3.1-4.1">
fe528335-db5f-48b2-be7e-bf0992d0b5ec
1774 effac94afd30bbf1cd6e180e7f445a4d4653cb4c91068fa9e7b669d49b5aaa00
1773 731169254dd5de0ede94ba6999bda63b0fae9880873a3710e87a71bafb64761a
1772 d4087585323fd6b7fd899ebf662ef213c469d39f53839fa6241847f4f6ceb939
</sourcecode>
        </figure>
        <t indent="0" pn="section-3.1-5">
          A new version of the Update Notification File is published as follows:
        </t>
        <figure align="left" suppress-title="false" pn="figure-3">
          <sourcecode type="xml" markers="false" pn="section-3.1-6.1">
&lt;notification xmlns="http://www.ripe.net/rpki/rrdp" version="1"
session_id="fe528335-db5f-48b2-be7e-bf0992d0b5ec" serial="1775"&gt;
&lt;snapshot uri="https://rrdp.example.net/1775/snapshot.xml"
hash=
"cd430c386deacb04bda55301c2aa49f192b529989b739f412aea01c9a77e5389"
/&gt;
&lt;delta serial="1775" uri="https://rrdp.example.net/1775/delta.xml"
hash=
"d199376e98a9095dbcf14ccd49208b4223a28a1327669f89566475d94b2b08cc"
/&gt;
&lt;delta serial="1774" uri="https://rrdp.example.net/1774/delta.xml"
hash=
"10ca28480a584105a059f95df5ca8369142fd7c8069380f84ebe613b8b89f0d3"
/&gt;
&lt;delta serial="1773" uri="https://rrdp.example.net/1773/delta.xml"
hash=
"731169254dd5de0ede94ba6999bda63b0fae9880873a3710e87a71bafb64761a"
/&gt;
&lt;/notification&gt;
</sourcecode>
        </figure>
        <t indent="0" pn="section-3.1-7">
          Using its previously recorded state (see <xref target="state" format="default" sectionFormat="of" derivedContent="Figure 2"/>), the RP can compare the hash values for serials 1773 and 1774.
          For serial 1774, compared to the earlier version of the Update Notification File, a different hash value is now listed, meaning an unexpected delta mutation occurred.
        </t>
      </section>
    </section>
    <section anchor="recovery" numbered="true" removeInRFC="false" toc="include" pn="section-4">
      <name slugifiedName="name-recovery-after-desynchroniz">Recovery After Desynchronization</name>
      <t indent="0" pn="section-4-1">
        Following the detection of RRDP session desynchronization, in order to return to a synchronized state, RP implementations <bcp14>SHOULD</bcp14> issue a warning and <bcp14>SHOULD</bcp14> download the latest Snapshot File and process it as described in <xref target="RFC8182" section="3.4.3" sectionFormat="of" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8182#section-3.4.3" derivedContent="RFC8182"/>.
      </t>
      <t indent="0" pn="section-4-2">
        See <xref target="security" format="default" sectionFormat="of" derivedContent="Section 6"/> for an overview of risks associated with desynchronization.
      </t>
    </section>
    <section anchor="rfc8182" numbered="true" removeInRFC="false" toc="include" pn="section-5">
      <name slugifiedName="name-changes-to-rfc-8182">Changes to RFC 8182</name>
      <t indent="0" pn="section-5-1">
         The following paragraph is added to <xref target="RFC8182" section="3.4.1" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc8182#section-3.4.1" derivedContent="RFC8182"/>, "Processing the Update Notification File", after the paragraph that ends "The Relying Party <bcp14>MUST</bcp14> then download and process the Snapshot File specified in the downloaded Update Notification File as described in Section 3.4.3."
      </t>
      <t indent="0" pn="section-5-2">NEW</t>
      <blockquote pn="section-5-3">
        <t indent="0" pn="section-5-3.1">
          If the session_id matches the last known session_id, the Relying Party <bcp14>SHOULD</bcp14> compare whether hash values associated with previously seen files for serials match the hash values of the corresponding serials in the newly fetched Update Notification File.
          If any differences are detected, this means that files were unexpectedly mutated (see [RFC9697]).
          The Relying Party <bcp14>SHOULD</bcp14> then download and process the Snapshot File specified in the downloaded Update Notification File as described in Section <xref target="RFC8182" section="3.4.3" sectionFormat="bare" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8182#section-3.4.3" derivedContent="RFC8182"/>. 
        </t>
      </blockquote>
    </section>
    <section anchor="security" numbered="true" removeInRFC="false" toc="include" pn="section-6">
      <name slugifiedName="name-security-considerations">Security Considerations</name>
      <t indent="0" pn="section-6-1">
        Due to the lifetime of RRDP sessions (often measured in months), desynchronization can persist for an extended period if undetected.
      </t>
      <t indent="0" pn="section-6-2">
        Caches in a desynchronized state pose a risk by emitting a different set of Validated Payloads than they would otherwise emit with a consistent repository copy.
        Through the interaction of the desynchronization and the <em>failed fetch</em> mechanism described in <xref target="RFC9286" section="6.6" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc9286#section-6.6" derivedContent="RFC9286"/>, Relying Parties could spuriously omit Validated Payloads or emit Validated Payloads that the Certification Authority intended to withdraw.
        As a result, due to the desynchronized state, route decision making processes might consider route announcements intended to be marked valid as "unknown" or "invalid" for an indeterminate period.
      </t>
      <t indent="0" pn="section-6-3">
        Missing Validated Payloads negatively impact the ability to validate BGP announcements using mechanisms such as those described in <xref target="RFC6811" format="default" sectionFormat="of" derivedContent="RFC6811"/> and <xref target="I-D.ietf-sidrops-aspa-verification" format="default" sectionFormat="of" derivedContent="ASPA"/>.
      </t>
      <t indent="0" pn="section-6-4">
        <xref target="RFC9286" section="6.6" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc9286#section-6.6" derivedContent="RFC9286"/> advises RP implementations to continue to use cached versions of objects, but only until such time as they become stale.
        By detecting whether the remote Repository Server is in an inconsistent state and then immediately switching to using the latest Snapshot File, RPs increase the probability to successfully replace objects before they become stale.
      </t>
    </section>
    <section anchor="iana" numbered="true" removeInRFC="false" toc="include" pn="section-7">
      <name slugifiedName="name-iana-considerations">IANA Considerations</name>
      <t indent="0" pn="section-7-1">
        This document has no IANA actions.
      </t>
    </section>
  </middle>
  <back>
    <displayreference target="I-D.ietf-sidrops-aspa-verification" to="ASPA"/>
    <references pn="section-8">
      <name slugifiedName="name-references">References</name>
      <references pn="section-8.1">
        <name slugifiedName="name-normative-references">Normative References</name>
        <reference anchor="RFC2119" target="https://www.rfc-editor.org/info/rfc2119" quoteTitle="true" derivedAnchor="RFC2119">
          <front>
            <title>Key words for use in RFCs to Indicate Requirement Levels</title>
            <author fullname="S. Bradner" initials="S." surname="Bradner"/>
            <date month="March" year="1997"/>
            <abstract>
              <t indent="0">In many standards track documents several words are used to signify the requirements in the specification. These words are often capitalized. This document defines these words as they should be interpreted in IETF documents. This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="2119"/>
          <seriesInfo name="DOI" value="10.17487/RFC2119"/>
        </reference>
        <reference anchor="RFC8174" target="https://www.rfc-editor.org/info/rfc8174" quoteTitle="true" derivedAnchor="RFC8174">
          <front>
            <title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
            <author fullname="B. Leiba" initials="B." surname="Leiba"/>
            <date month="May" year="2017"/>
            <abstract>
              <t indent="0">RFC 2119 specifies common key words that may be used in protocol specifications. This document aims to reduce the ambiguity by clarifying that only UPPERCASE usage of the key words have the defined special meanings.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="8174"/>
          <seriesInfo name="DOI" value="10.17487/RFC8174"/>
        </reference>
        <reference anchor="RFC8182" target="https://www.rfc-editor.org/info/rfc8182" quoteTitle="true" derivedAnchor="RFC8182">
          <front>
            <title>The RPKI Repository Delta Protocol (RRDP)</title>
            <author fullname="T. Bruijnzeels" initials="T." surname="Bruijnzeels"/>
            <author fullname="O. Muravskiy" initials="O." surname="Muravskiy"/>
            <author fullname="B. Weber" initials="B." surname="Weber"/>
            <author fullname="R. Austein" initials="R." surname="Austein"/>
            <date month="July" year="2017"/>
            <abstract>
              <t indent="0">In the Resource Public Key Infrastructure (RPKI), Certificate Authorities (CAs) publish certificates, including end-entity certificates, Certificate Revocation Lists (CRLs), and RPKI signed objects to repositories. Relying Parties retrieve the published information from those repositories. This document specifies a new RPKI Repository Delta Protocol (RRDP) for this purpose. RRDP was specifically designed for scaling. It relies on an Update Notification File which lists the current Snapshot and Delta Files that can be retrieved using HTTPS (HTTP over Transport Layer Security (TLS)), and it enables the use of Content Distribution Networks (CDNs) or other caching infrastructures for the retrieval of these files.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8182"/>
          <seriesInfo name="DOI" value="10.17487/RFC8182"/>
        </reference>
      </references>
      <references pn="section-8.2">
        <name slugifiedName="name-informative-references">Informative References</name>
        <reference anchor="I-D.ietf-sidrops-aspa-verification" target="https://datatracker.ietf.org/doc/html/draft-ietf-sidrops-aspa-verification-19" quoteTitle="true" derivedAnchor="ASPA">
          <front>
            <title>BGP AS_PATH Verification Based on Autonomous System Provider Authorization (ASPA) Objects</title>
            <author fullname="Alexander Azimov" initials="A." surname="Azimov">
              <organization showOnFrontPage="true">Yandex</organization>
            </author>
            <author fullname="Eugene Bogomazov" initials="E." surname="Bogomazov">
              <organization showOnFrontPage="true">Qrator Labs</organization>
            </author>
            <author fullname="Randy Bush" initials="R." surname="Bush">
              <organization showOnFrontPage="true">Internet Initiative Japan &amp; Arrcus, Inc.</organization>
            </author>
            <author fullname="Keyur Patel" initials="K." surname="Patel">
              <organization showOnFrontPage="true">Arrcus</organization>
            </author>
            <author fullname="Job Snijders" initials="J." surname="Snijders">
              <organization showOnFrontPage="true">Fastly</organization>
            </author>
            <author fullname="Kotikalapudi Sriram" initials="K." surname="Sriram">
              <organization showOnFrontPage="true">USA National Institute of Standards and Technology</organization>
            </author>
            <date day="27" month="September" year="2024"/>
            <abstract>
              <t indent="0">This document describes procedures that make use of Autonomous System Provider Authorization (ASPA) objects in the Resource Public Key Infrastructure (RPKI) to verify the Border Gateway Protocol (BGP) AS_PATH attribute of advertised routes. This type of AS_PATH verification provides detection and mitigation of route leaks and some forms of AS path manipulation. It also provides protection, to some degree, against prefix hijacks with forged-origin or forged- path-segment.</t>
            </abstract>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-ietf-sidrops-aspa-verification-19"/>
          <refcontent>Work in Progress</refcontent>
        </reference>
        <reference anchor="RFC6811" target="https://www.rfc-editor.org/info/rfc6811" quoteTitle="true" derivedAnchor="RFC6811">
          <front>
            <title>BGP Prefix Origin Validation</title>
            <author fullname="P. Mohapatra" initials="P." surname="Mohapatra"/>
            <author fullname="J. Scudder" initials="J." surname="Scudder"/>
            <author fullname="D. Ward" initials="D." surname="Ward"/>
            <author fullname="R. Bush" initials="R." surname="Bush"/>
            <author fullname="R. Austein" initials="R." surname="Austein"/>
            <date month="January" year="2013"/>
            <abstract>
              <t indent="0">To help reduce well-known threats against BGP including prefix mis- announcing and monkey-in-the-middle attacks, one of the security requirements is the ability to validate the origination Autonomous System (AS) of BGP routes. More specifically, one needs to validate that the AS number claiming to originate an address prefix (as derived from the AS_PATH attribute of the BGP route) is in fact authorized by the prefix holder to do so. This document describes a simple validation mechanism to partially satisfy this requirement. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="6811"/>
          <seriesInfo name="DOI" value="10.17487/RFC6811"/>
        </reference>
        <reference anchor="RFC7115" target="https://www.rfc-editor.org/info/rfc7115" quoteTitle="true" derivedAnchor="RFC7115">
          <front>
            <title>Origin Validation Operation Based on the Resource Public Key Infrastructure (RPKI)</title>
            <author fullname="R. Bush" initials="R." surname="Bush"/>
            <date month="January" year="2014"/>
            <abstract>
              <t indent="0">Deployment of BGP origin validation that is based on the Resource Public Key Infrastructure (RPKI) has many operational considerations. This document attempts to collect and present those that are most critical. It is expected to evolve as RPKI-based origin validation continues to be deployed and the dynamics are better understood.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="185"/>
          <seriesInfo name="RFC" value="7115"/>
          <seriesInfo name="DOI" value="10.17487/RFC7115"/>
        </reference>
        <reference anchor="RFC9286" target="https://www.rfc-editor.org/info/rfc9286" quoteTitle="true" derivedAnchor="RFC9286">
          <front>
            <title>Manifests for the Resource Public Key Infrastructure (RPKI)</title>
            <author fullname="R. Austein" initials="R." surname="Austein"/>
            <author fullname="G. Huston" initials="G." surname="Huston"/>
            <author fullname="S. Kent" initials="S." surname="Kent"/>
            <author fullname="M. Lepinski" initials="M." surname="Lepinski"/>
            <date month="June" year="2022"/>
            <abstract>
              <t indent="0">This document defines a "manifest" for use in the Resource Public Key Infrastructure (RPKI). A manifest is a signed object (file) that contains a listing of all the signed objects (files) in the repository publication point (directory) associated with an authority responsible for publishing in the repository. For each certificate, Certificate Revocation List (CRL), or other type of signed objects issued by the authority that are published at this repository publication point, the manifest contains both the name of the file containing the object and a hash of the file content. Manifests are intended to enable a relying party (RP) to detect certain forms of attacks against a repository. Specifically, if an RP checks a manifest's contents against the signed objects retrieved from a repository publication point, then the RP can detect replay attacks, and unauthorized in-flight modification or deletion of signed objects. This document obsoletes RFC 6486.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9286"/>
          <seriesInfo name="DOI" value="10.17487/RFC9286"/>
        </reference>
      </references>
    </references>
    <section anchor="acknowledgements" numbered="false" removeInRFC="false" toc="include" pn="section-appendix.a">
      <name slugifiedName="name-acknowledgements">Acknowledgements</name>
      <t indent="0" pn="section-appendix.a-1">During the hallway track at RIPE 86, <contact fullname="Ties de       Kock"/> shared the idea for detecting this particular form of RRDP
      desynchronization, after which <contact fullname="Claudio Jeker"/>,
      <contact fullname="Job Snijders"/>, and <contact fullname="Theo       Buehler"/> produced an implementation based on rpki-client.  Equipped
      with tooling to detect this particular error condition, in subsequent
      months it became apparent that unexpected delta mutations in the global
      RPKI repositories do happen from time to time.</t>
      <t indent="0" pn="section-appendix.a-2">The authors wish to thank <contact fullname="Theo Buehler"/>,
      <contact fullname="Mikhail Puzanov"/>, <contact fullname="Alberto       Leiva"/>, <contact fullname="Tom Harrison"/>, <contact fullname="Warren       Kumari"/>, <contact fullname="Behcet Sarikaya"/>, <contact fullname="Murray Kucherawy"/>, <contact fullname="Éric Vyncke"/>,
      <contact fullname="Roman Danyliw"/>, <contact fullname="Tim       Bruijnzeels"/>, and <contact fullname="Michael Hollyman"/> for their
      careful review and feedback on this document.</t>
    </section>
    <section anchor="authors-addresses" numbered="false" removeInRFC="false" toc="include" pn="section-appendix.b">
      <name slugifiedName="name-authors-addresses">Authors' Addresses</name>
      <author fullname="Job Snijders" initials="J." surname="Snijders">
        <organization showOnFrontPage="true">Fastly</organization>
        <address>
          <postal>
            <city>Amsterdam</city>
            <country>Netherlands</country>
          </postal>
          <email>job@fastly.com</email>
        </address>
      </author>
      <author fullname="Ties de Kock" initials="T." surname="de Kock">
        <organization showOnFrontPage="true">RIPE NCC</organization>
        <address>
          <postal>
            <city>Amsterdam</city>
            <country>Netherlands</country>
          </postal>
          <email>tdekock@ripe.net</email>
        </address>
      </author>
    </section>
  </back>
</rfc>
