<?xml version='1.0' encoding='utf-8'?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" version="3" xml:lang="en" category="std" docName="draft-ietf-grow-nrtm-v4-11" number="10063" submissionType="IETF" consensus="true" ipr="trust200902" symRefs="true" sortRefs="true" tocInclude="true" tocDepth="3" updates="" obsoletes="" prepTime="2026-11-16T18:24:49" indexInclude="true" scripts="Common,Latin">
  <link href="https://datatracker.ietf.org/doc/draft-ietf-grow-nrtm-v4-11" rel="prev"/>
  <link href="https://dx.doi.org/10.17487/rfc10063" rel="alternate"/>
  <link href="urn:issn:2070-1721" rel="alternate"/>
  <front>
    <title abbrev="NRTM v4">Near Real Time Mirroring (NRTM) Version 4</title>
    <seriesInfo name="RFC" value="10063" stream="IETF"/>
    <author fullname="Sasha Romijn" initials="S." surname="Romijn">
      <organization showOnFrontPage="true">Reliably Coded</organization>
      <address>
        <postal>
          <city>Amsterdam</city>
          <country>Netherlands</country>
        </postal>
        <email>sasha@reliablycoded.nl</email>
        <uri>https://www.reliablycoded.nl/</uri>
      </address>
    </author>
    <author fullname="Job Snijders" initials="J." surname="Snijders">
      <organization abbrev="BSD" showOnFrontPage="true">BSD Software Development</organization>
      <address>
        <postal>
          <city>Amsterdam</city>
          <country>Netherlands</country>
        </postal>
        <email>job@bsd.nl</email>
        <uri>https://www.bsd.nl/</uri>
      </address>
    </author>
    <author fullname="Edward Shryane" initials="E." surname="Shryane">
      <organization showOnFrontPage="true">RIPE NCC</organization>
      <address>
        <postal>
          <city>Amsterdam</city>
          <country>Netherlands</country>
        </postal>
        <email>eshryane@ripe.net</email>
      </address>
    </author>
    <author fullname="Stavros Konstantaras" initials="S." surname="Konstantaras">
      <organization showOnFrontPage="true">AMS-IX</organization>
      <address>
        <postal>
          <city>Amsterdam</city>
          <country>Netherlands</country>
        </postal>
        <email>stavros.konstantaras@ams-ix.net</email>
      </address>
    </author>
    <date month="11" year="2026"/>
    <area>OPS</area>
    <workgroup>grow</workgroup>
    <keyword>NRTM</keyword>
    <keyword>RPSL</keyword>
    <keyword>IRR</keyword>
    <abstract pn="section-abstract">
      <t indent="0" pn="section-abstract-1">
      This document specifies Near Real Time Mirroring version 4 (NRTMv4): a one-way synchronization protocol for Internet Routing Registry (IRR) records. NRTMv4 is based on files that are distributed over HTTPS.
      The protocol allows instances of IRR Database servers to mirror IRR records, specified in the Routing Policy Specification Language (RPSL), between each other.
      </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/rfc10063" 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) 2026 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>
          </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-overview">Overview</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-terminology">Terminology</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" keepWithNext="true" 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-requirements-language">Requirements Language</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-mirror-server-use">Mirror Server Use</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2">
              <li pn="section-toc.1-1.4.2.1">
                <t indent="0" pn="section-toc.1-1.4.2.1.1"><xref derivedContent="4.1" format="counter" sectionFormat="of" target="section-4.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-key-configuration">Key Configuration</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.2">
                <t indent="0" pn="section-toc.1-1.4.2.2.1"><xref derivedContent="4.2" format="counter" sectionFormat="of" target="section-4.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-snapshot-initialization">Snapshot Initialization</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.3">
                <t indent="0" pn="section-toc.1-1.4.2.3.1"><xref derivedContent="4.3" format="counter" sectionFormat="of" target="section-4.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-publishing-updates">Publishing Updates</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2.3.2">
                  <li pn="section-toc.1-1.4.2.3.2.1">
                    <t indent="0" pn="section-toc.1-1.4.2.3.2.1.1"><xref derivedContent="4.3.1" format="counter" sectionFormat="of" target="section-4.3.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-delta-files">Delta Files</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.3.2.2">
                    <t indent="0" pn="section-toc.1-1.4.2.3.2.2.1"><xref derivedContent="4.3.2" format="counter" sectionFormat="of" target="section-4.3.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-snapshot-files">Snapshot Files</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.3.2.3">
                    <t indent="0" pn="section-toc.1-1.4.2.3.2.3.1"><xref derivedContent="4.3.3" format="counter" sectionFormat="of" target="section-4.3.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-update-notification-file">Update Notification File</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.3.2.4">
                    <t indent="0" pn="section-toc.1-1.4.2.3.2.4.1"><xref derivedContent="4.3.4" format="counter" sectionFormat="of" target="section-4.3.4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-publication-policy-restrict">Publication Policy Restrictions</xref></t>
                  </li>
                </ul>
              </li>
            </ul>
          </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-mirror-client-use">Mirror Client Use</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.5.2">
              <li pn="section-toc.1-1.5.2.1">
                <t indent="0" pn="section-toc.1-1.5.2.1.1"><xref derivedContent="5.1" format="counter" sectionFormat="of" target="section-5.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-client-configuration">Client Configuration</xref></t>
              </li>
              <li pn="section-toc.1-1.5.2.2">
                <t indent="0" pn="section-toc.1-1.5.2.2.1"><xref derivedContent="5.2" format="counter" sectionFormat="of" target="section-5.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-update-notification-file-re">Update Notification File Retrieval</xref></t>
              </li>
              <li pn="section-toc.1-1.5.2.3">
                <t indent="0" pn="section-toc.1-1.5.2.3.1"><xref derivedContent="5.3" format="counter" sectionFormat="of" target="section-5.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-initialization-from-snapsho">Initialization from Snapshot</xref></t>
              </li>
              <li pn="section-toc.1-1.5.2.4">
                <t indent="0" pn="section-toc.1-1.5.2.4.1"><xref derivedContent="5.4" format="counter" sectionFormat="of" target="section-5.4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-processing-delta-files">Processing Delta Files</xref></t>
              </li>
              <li pn="section-toc.1-1.5.2.5">
                <t indent="0" pn="section-toc.1-1.5.2.5.1"><xref derivedContent="5.5" format="counter" sectionFormat="of" target="section-5.5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-error-recovery">Error Recovery</xref></t>
              </li>
              <li pn="section-toc.1-1.5.2.6">
                <t indent="0" pn="section-toc.1-1.5.2.6.1"><xref derivedContent="5.6" format="counter" sectionFormat="of" target="section-5.6"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-signature-and-staleness-ver">Signature and Staleness Verification</xref></t>
              </li>
              <li pn="section-toc.1-1.5.2.7">
                <t indent="0" pn="section-toc.1-1.5.2.7.1"><xref derivedContent="5.7" format="counter" sectionFormat="of" target="section-5.7"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-policy-restrictions">Policy Restrictions</xref></t>
              </li>
            </ul>
          </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-update-notification-file-2">Update Notification File</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.6.2">
              <li pn="section-toc.1-1.6.2.1">
                <t indent="0" pn="section-toc.1-1.6.2.1.1"><xref derivedContent="6.1" format="counter" sectionFormat="of" target="section-6.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-purpose">Purpose</xref></t>
              </li>
              <li pn="section-toc.1-1.6.2.2">
                <t indent="0" pn="section-toc.1-1.6.2.2.1"><xref derivedContent="6.2" format="counter" sectionFormat="of" target="section-6.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-cache-concerns">Cache Concerns</xref></t>
              </li>
              <li pn="section-toc.1-1.6.2.3">
                <t indent="0" pn="section-toc.1-1.6.2.3.1"><xref derivedContent="6.3" format="counter" sectionFormat="of" target="section-6.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-payload-format-and-validati">Payload Format and Validation</xref></t>
              </li>
              <li pn="section-toc.1-1.6.2.4">
                <t indent="0" pn="section-toc.1-1.6.2.4.1"><xref derivedContent="6.4" format="counter" sectionFormat="of" target="section-6.4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-encoding-and-signature">Encoding and Signature</xref></t>
              </li>
            </ul>
          </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-snapshot-file">Snapshot File</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.7.2">
              <li pn="section-toc.1-1.7.2.1">
                <t indent="0" pn="section-toc.1-1.7.2.1.1"><xref derivedContent="7.1" format="counter" sectionFormat="of" target="section-7.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-purpose-2">Purpose</xref></t>
              </li>
              <li pn="section-toc.1-1.7.2.2">
                <t indent="0" pn="section-toc.1-1.7.2.2.1"><xref derivedContent="7.2" format="counter" sectionFormat="of" target="section-7.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-cache-concerns-2">Cache Concerns</xref></t>
              </li>
              <li pn="section-toc.1-1.7.2.3">
                <t indent="0" pn="section-toc.1-1.7.2.3.1"><xref derivedContent="7.3" format="counter" sectionFormat="of" target="section-7.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-file-format-and-validation">File Format and Validation</xref></t>
              </li>
            </ul>
          </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-delta-file">Delta File</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-purpose-3">Purpose</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-cache-concerns-3">Cache Concerns</xref></t>
              </li>
              <li pn="section-toc.1-1.8.2.3">
                <t indent="0" pn="section-toc.1-1.8.2.3.1"><xref derivedContent="8.3" format="counter" sectionFormat="of" target="section-8.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-file-format-and-validation-2">File Format and Validation</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.9">
            <t indent="0" pn="section-toc.1-1.9.1"><xref derivedContent="9" format="counter" sectionFormat="of" target="section-9"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-operational-considerations">Operational Considerations</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.9.2">
              <li pn="section-toc.1-1.9.2.1">
                <t indent="0" pn="section-toc.1-1.9.2.1.1"><xref derivedContent="9.1" format="counter" sectionFormat="of" target="section-9.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-time">Time</xref></t>
              </li>
              <li pn="section-toc.1-1.9.2.2">
                <t indent="0" pn="section-toc.1-1.9.2.2.1"><xref derivedContent="9.2" format="counter" sectionFormat="of" target="section-9.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-irr-object-validation">IRR Object Validation</xref></t>
              </li>
              <li pn="section-toc.1-1.9.2.3">
                <t indent="0" pn="section-toc.1-1.9.2.3.1"><xref derivedContent="9.3" format="counter" sectionFormat="of" target="section-9.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-intermediate-mirror-instanc">Intermediate Mirror Instances</xref></t>
              </li>
              <li pn="section-toc.1-1.9.2.4">
                <t indent="0" pn="section-toc.1-1.9.2.4.1"><xref derivedContent="9.4" format="counter" sectionFormat="of" target="section-9.4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-reading-from-local-files">Reading from Local Files</xref></t>
              </li>
              <li pn="section-toc.1-1.9.2.5">
                <t indent="0" pn="section-toc.1-1.9.2.5.1"><xref derivedContent="9.5" format="counter" sectionFormat="of" target="section-9.5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-storage-considerations">Storage Considerations</xref></t>
              </li>
              <li pn="section-toc.1-1.9.2.6">
                <t indent="0" pn="section-toc.1-1.9.2.6.1"><xref derivedContent="9.6" format="counter" sectionFormat="of" target="section-9.6"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-public-key-rotation">Public Key Rotation</xref></t>
              </li>
              <li pn="section-toc.1-1.9.2.7">
                <t indent="0" pn="section-toc.1-1.9.2.7.1"><xref derivedContent="9.7" format="counter" sectionFormat="of" target="section-9.7"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-scalability">Scalability</xref></t>
              </li>
              <li pn="section-toc.1-1.9.2.8">
                <t indent="0" pn="section-toc.1-1.9.2.8.1"><xref derivedContent="9.8" format="counter" sectionFormat="of" target="section-9.8"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-nrtmv3-compatibility">NRTMv3 Compatibility</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.10">
            <t indent="0" pn="section-toc.1-1.10.1"><xref derivedContent="10" format="counter" sectionFormat="of" target="section-10"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-iana-considerations">IANA Considerations</xref></t>
          </li>
          <li pn="section-toc.1-1.11">
            <t indent="0" pn="section-toc.1-1.11.1"><xref derivedContent="11" format="counter" sectionFormat="of" target="section-11"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-security-considerations">Security Considerations</xref></t>
          </li>
          <li pn="section-toc.1-1.12">
            <t indent="0" pn="section-toc.1-1.12.1"><xref derivedContent="12" format="counter" sectionFormat="of" target="section-12"/>. <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.12.2">
              <li pn="section-toc.1-1.12.2.1">
                <t indent="0" pn="section-toc.1-1.12.2.1.1"><xref derivedContent="12.1" format="counter" sectionFormat="of" target="section-12.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-normative-references">Normative References</xref></t>
              </li>
              <li pn="section-toc.1-1.12.2.2">
                <t indent="0" pn="section-toc.1-1.12.2.2.1"><xref derivedContent="12.2" format="counter" sectionFormat="of" target="section-12.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-informative-references">Informative References</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.13">
            <t indent="0" pn="section-toc.1-1.13.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.a"/><xref derivedContent="" format="title" sectionFormat="of" target="name-acknowledgments">Acknowledgments</xref></t>
          </li>
          <li pn="section-toc.1-1.14">
            <t indent="0" pn="section-toc.1-1.14.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 numbered="true" removeInRFC="false" toc="include" pn="section-1">
      <name slugifiedName="name-introduction">Introduction</name>
      <t indent="0" pn="section-1-1">
      The Internet Routing Registry (IRR) consists of several IRR Databases, each representing objects in the Routing Policy Specification Language (RPSL) <xref target="RFC2622" format="default" sectionFormat="of" derivedContent="RFC2622"/>.
      About a dozen larger IRR Databases are well known and widely used, operated by different organizations such as Regional Internet Registries and some large network operators.
      IRR objects serve many purposes ranging from manual research by operators to automated network configuration and filtering.
      </t>
      <t indent="0" pn="section-1-2">
      Most of these well-known IRR Databases mirror IRR objects from some others so that queries run against these instances provide a comprehensive view.
      Some parties also mirror IRR Databases to private IRR server instances to reduce latency when replying to queries, analyze IRR objects, or other purposes.
      </t>
      <t indent="0" pn="section-1-3">
      NRTM version 4 (NRTMv4) is a protocol for IRR mirroring and is designed to address issues in existing IRR Database mirroring protocols.
      In NRTMv4, IRR Databases publish their records on an HTTPS <xref target="STD97" format="default" sectionFormat="of" derivedContent="STD97"/> endpoint with periodic Snapshot Files and regular Delta Files.
      Signing allows integrity checks.
      By only generating files once and publishing them over HTTPS, scalability is improved.
      NRTMv4 borrows some concepts from the Resource Public Key Infrastructure (RPKI) Repository Delta Protocol <xref target="RFC8182" format="default" sectionFormat="of" derivedContent="RFC8182"/>, as there are overlaps between the two protocols.
      </t>
      <t indent="0" pn="section-1-4">
      Reliable and secure distribution of IRR data is important for global routing operations since network operators depend on IRR objects for route filtering and network configuration.
      Prior mirroring protocols lack integrity verification, have no formal specification, and scale poorly.
      NRTMv4 addresses these shortcomings by providing a formally specified, scalable, and integrity-protected mirroring protocol.
      Of earlier NRTM versions, none were formally specified, but NRTMv3 <xref target="NRTMv3" format="default" sectionFormat="of" derivedContent="NRTMv3"/> was widely deployed.
      Some comparisons are made in <xref target="security_considerations" format="default" sectionFormat="of" derivedContent="Section 11"/>.
      </t>
    </section>
    <section numbered="true" removeInRFC="false" toc="include" pn="section-2">
      <name slugifiedName="name-overview">Overview</name>
      <t indent="0" pn="section-2-1">
      In NRTMv4, a mirror server is an instance of IRR Database software that has a database of IRR objects and makes them available on an HTTPS endpoint to allow mirroring by others.
      These objects can be retrieved by mirror clients, which then load them into their local storage.
      </t>
      <figure align="left" suppress-title="false" pn="figure-1">
        <name slugifiedName="name-nrtmv4-protocol-overview">NRTMv4 Protocol Overview</name>
        <artwork align="center" pn="section-2-2.1">
                    Mirror Server
                   +--------------+
                   | IRR Database |
                   +------+-------+
                          |
      +-------------------+-------------------+
      |                   |                   |
  periodic                |               on change
      |                   |                   |
      v                   v                   v
+------------+      +-----------+      +------------+
|  Snapshot  |      |  Update   |      |   Delta    |
|    File    | refs |   Notif.  | refs |  File(s)   |
|   (all     |&lt;-----|   File    |-----&gt;| (changes   |
|  objects)  |      |  (index)  |      |   only)    |
+-----+------+      +-----------+      +-----+------+
      |                   |                  |
      |          +--------+--------+         |
      +---------&gt;+  Mirror Client  +&lt;--------+
        initial  | Local Database  |   update
                 +-----------------+</artwork>
      </figure>
      <t indent="0" pn="section-2-3">
      Publication consists of three different files:     
      </t>
      <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-2-4">
        <li pn="section-2-4.1">
        A single Update Notification File.
        This specifies the current IRR Database version and locations of the Snapshot File and Delta Files.
        It is signed to allow verification of the authenticity of the Update Notification File.
      </li>
        <li pn="section-2-4.2">
        A single active Snapshot File.
        This contains all published IRR objects at a particular version.
        The mirror server periodically generates a new snapshot.
      </li>
        <li pn="section-2-4.3">
        Zero or more Delta Files.
        These contain the changes between two Database versions.
      </li>
      </ul>
      <t indent="0" pn="section-2-5">
       The Update Notification File <bcp14>MUST</bcp14> be in the JSON Web Signature <xref target="RFC7515" format="default" sectionFormat="of" derivedContent="RFC7515"/> format, where the payload is in JSON format <xref target="RFC8259" format="default" sectionFormat="of" derivedContent="RFC8259"/>.
       The Snapshot File and Delta Files <bcp14>MUST</bcp14> be in the JSON Text Sequences <xref target="RFC7464" format="default" sectionFormat="of" derivedContent="RFC7464"/> format so that each object in large files can be parsed independently.
       Files <bcp14>MAY</bcp14> be compressed with GZIP <xref target="RFC1952" format="default" sectionFormat="of" derivedContent="RFC1952"/>.
      </t>
      <t indent="0" pn="section-2-6">
       Mirror clients initially retrieve the small Update Notification File and a Snapshot File from which they initialize their local copy of the Database.
       After that, mirror clients only retrieve the Update Notification File periodically, typically every minute, to determine whether there are any changes, and then retrieve only the relevant Delta Files, if any.
       This minimizes data transfer.
       Deltas have sequential versions.
      </t>
      <t indent="0" pn="section-2-7">
       Mirror clients are configured with the URL of an Update Notification File, the name of the IRR Database, and a public signing key. This public key is used to verify the Update Notification File, which, in turn, contains hashes of all the Snapshot and Delta Files.
      </t>
      <t indent="0" pn="section-2-8">
       Upon initialization, the mirror server generates a session identifier (session_id) for the Database (<xref target="mirror_server_snapshot_initialization" format="default" sectionFormat="of" derivedContent="Section 4.2"/>).
       This allows long-term caching and is used by the client to determine that the Delta Files continue to form a full set of changes allowing an update to the latest version.
       If the mirror server loses partial history or the mirror client starts mirroring from a different server, the session_id change will force a full reload from the latest Snapshot File, ensuring there are no accidental mirroring gaps.
      </t>
      <t indent="0" pn="section-2-9">
       Mirror servers can use caching to reduce their load, particularly because snapshots and deltas are immutable for a given session_id and version number.
       These are also the largest files. Update Notification Files may not be cached for longer than one minute, but are fairly small.
      </t>
      <t indent="0" pn="section-2-10">
       Note that in NRTMv4, contiguous version numbers are used for the Database version and Delta Files.
       This is different and unrelated to the serial in NRTMv3.
       NRTMv3 serials refer to a single change to a single object, whereas an NRTMv4 version refers to one delta, possibly containing multiple changes to multiple objects.
       NRTMv3 serials can also contain gaps, NRTMv4 versions do not.

      </t>
    </section>
    <section numbered="true" removeInRFC="false" toc="include" pn="section-3">
      <name slugifiedName="name-terminology">Terminology</name>
      <dl spacing="normal" newline="false" indent="3" pn="section-3-1">
        <dt pn="section-3-1.1">IRR Database:</dt>
        <dd pn="section-3-1.2">A logical collection of IRR objects represented in RPSL, grouped by the value in their "source" attribute. That value is the name of the IRR Database. No particular storage technology is implied.</dd>
        <dt pn="section-3-1.3">Snapshot File:</dt>
        <dd pn="section-3-1.4">A file that reflects the complete contents of the IRR objects in an IRR Database at a particular point in time.</dd>
        <dt pn="section-3-1.5">Delta File:</dt>
        <dd pn="section-3-1.6">A file that contains all changes for exactly one incremental update of the IRR Database.</dd>
        <dt pn="section-3-1.7">Update Notification File:</dt>
        <dd pn="section-3-1.8">A file generated by the mirror server and used by mirror clients to discover which changes exist between the state of the IRR mirror server and of the mirror client.</dd>
        <dt pn="section-3-1.9">Mirror Server:</dt>
        <dd pn="section-3-1.10">An instance of IRR Database software that has a database of IRR objects and makes them available for retrieval on an HTTPS endpoint, to allow mirroring by others.</dd>
        <dt pn="section-3-1.11">Mirror Client:</dt>
        <dd pn="section-3-1.12">An instance of IRR Database software that retrieves IRR objects from a mirror server and loads them into its local storage.</dd>
        <dt pn="section-3-1.13">Version:</dt>
        <dd pn="section-3-1.14">A monotonically increasing positive integer, scoped to a session_id, that identifies a particular state of the IRR Database.</dd>
      </dl>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-3.1">
        <name slugifiedName="name-requirements-language">Requirements Language</name>
        <t indent="0" pn="section-3.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 numbered="true" removeInRFC="false" toc="include" pn="section-4">
      <name slugifiedName="name-mirror-server-use">Mirror Server Use</name>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-4.1">
        <name slugifiedName="name-key-configuration">Key Configuration</name>
        <t indent="0" pn="section-4.1-1">
        When enabling NRTMv4 publication for an IRR Database, the operator <bcp14>MUST</bcp14> generate a JSON Web Key <xref target="RFC7517" format="default" sectionFormat="of" derivedContent="RFC7517"/> pair and configure the private key in the mirror server.
        The operator then provides the corresponding public key, the name of the IRR Database, and publication URL of the Update Notification File to any operators of mirror clients.
        The published public key <bcp14>MUST</bcp14> be encapsulated following Textual Encoding of Subject Public Key Info <xref target="RFC7468" section="13" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc7468#section-13" derivedContent="RFC7468"/>, sometimes referred to as "PEM encoding".
        The process for providing this is not in the scope of this protocol, but a typical case is publication on the operator's known website.
        Key rotation is described in <xref target="public_key_rotation" format="default" sectionFormat="of" derivedContent="Section 9.6"/>.
        </t>
        <t indent="0" pn="section-4.1-2">
        It is <bcp14>RECOMMENDED</bcp14> that implementations provide easily accessible tools for operators to generate new signing keys to enter into their configuration and assist with key rotation.
        All configuration options <bcp14>SHOULD</bcp14> be clearly named to indicate that they are private keys. Clear naming reduces the risk of operator error causing accidental exposure.
        </t>
      </section>
      <section anchor="mirror_server_snapshot_initialization" numbered="true" removeInRFC="false" toc="include" pn="section-4.2">
        <name slugifiedName="name-snapshot-initialization">Snapshot Initialization</name>
        <t indent="0" pn="section-4.2-1">
        A mirror server <bcp14>MUST</bcp14> follow the initialization steps upon the first export for an IRR Database by that mirror server, or if the server lost history and can not reliably produce a continuous set of deltas from a previous state.
        </t>
        <t indent="0" pn="section-4.2-2">
        In other words, either the mirror server guarantees that clients following the deltas have a correct and complete view, or the mirror server must reinitialize, which will force clients to reinitialize as well.
        </t>
        <t indent="0" pn="section-4.2-3">
        Initialization consists of these actions:
        </t>
        <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-4.2-4">
          <li pn="section-4.2-4.1">
          The mirror server <bcp14>MUST</bcp14> generate a new session_id.
          This <bcp14>MUST</bcp14> be a Universally Unique Identifier version 4 (UUIDv4) (<xref target="RFC9562" section="5.4" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc9562#section-5.4" derivedContent="RFC9562"/>) and <bcp14>MUST</bcp14> be the same across all client sessions.
          The session_id is unique to the IRR Database, so an instance that serves multiple IRR Databases will create a separate session_id for each.
        </li>
          <li pn="section-4.2-4.2">
          The server <bcp14>MUST</bcp14> generate a snapshot for version number one.
          This may contain an empty array of objects if the IRR Database is currently empty.
        </li>
          <li pn="section-4.2-4.3">
          The server <bcp14>MUST</bcp14> generate a new Update Notification File with the new session_id, a reference to the new snapshot, and no deltas.
        </li>
        </ul>
        <t indent="0" pn="section-4.2-5">
        Note that a publication, and its associated session_ids and versions, always relates to a single specific IRR Database, even if multiple databases are published from one instance.
        For example, a mirror server that serves two IRR Databases named EXAMPLE and EXAMPLE-NONAUTH will generate two Update Notification Files, referring to two Snapshot Files and two sets of Delta Files. Each set of Delta Files has contiguous version numbers. The two publications are completely independent of each other, with different session IDs, and may be published at different times.
        This applies even if the same IRR server instance produces both.
        </t>
      </section>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-4.3">
        <name slugifiedName="name-publishing-updates">Publishing Updates</name>
        <t indent="0" pn="section-4.3-1">
        After creating the initialization files, the mirror server processes updates by generating Delta Files and, periodically, a new Snapshot File, and placing them on the HTTPS endpoint.
        </t>
        <section numbered="true" removeInRFC="false" toc="include" pn="section-4.3.1">
          <name slugifiedName="name-delta-files">Delta Files</name>
          <t indent="0" pn="section-4.3.1-1">
          Changes to IRR objects <bcp14>MUST</bcp14> be recorded in Delta Files. One Delta File can contain multiple changes.
          </t>
          <t indent="0" pn="section-4.3.1-2">
          Updates are generated as follows:
          </t>
          <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-4.3.1-3">
            <li pn="section-4.3.1-3.1">
            A mirror server <bcp14>MUST</bcp14> publish a Delta File approximately every minute if there have been changes to IRR objects in that time frame.
          </li>
            <li pn="section-4.3.1-3.2">
            If a mirror server is lagging in production of Delta Files, such as after an initialization or server downtime, it <bcp14>MUST</bcp14> generate one larger "catch up" Delta File rather than individual Delta Files for every one-minute window.
          </li>
            <li pn="section-4.3.1-3.3">
            A new Delta File <bcp14>MUST</bcp14> be generated with a new version, one greater than the last Delta File version, or one greater than the last Snapshot File version if there were no prior deltas at all.
          </li>
            <li pn="section-4.3.1-3.4">
            The Delta File <bcp14>MUST</bcp14> include all changes that happened during the time frame in the order in which they occurred.
            If multiple changes have occurred within the time frame that would cancel each other out, like an addition and immediate deletion of the same object, the mirror server <bcp14>MUST</bcp14> still include all these changes.
          </li>
            <li pn="section-4.3.1-3.5">
            The URL where the Delta File is published <bcp14>MUST</bcp14> contain the session ID and version number so that the content at a given URL is immutable and can be cached indefinitely by HTTP intermediaries.
            It <bcp14>MUST</bcp14> also contain a random value that can not be predicted before publication to counter negative caching issues.
          </li>
            <li pn="section-4.3.1-3.6">
            The Update Notification File <bcp14>MUST</bcp14> be updated to include the new Delta File.
          </li>
            <li pn="section-4.3.1-3.7">
            References to Delta Files older than 24 hours <bcp14>SHOULD</bcp14> be removed from the Update Notification File.
            This limits the potential length of the Delta chain that clients must process, where a Snapshot refresh may be more efficient, while also preventing overly frequent Snapshot reloads.
            However, a mirror server <bcp14>MUST NOT</bcp14> remove references to Delta Files with a version higher than the current Snapshot File version, as this would leave clients with no path from the snapshot to the current state.
            Refer also to <xref target="storage" format="default" sectionFormat="of" derivedContent="Section 9.5"/>.
          </li>
            <li pn="section-4.3.1-3.8">
            Note that, as Delta Files always contain changes compared to a previous state, there can never be a Delta File with version 1.
          </li>
          </ul>
          <t indent="0" pn="section-4.3.1-4">
          Mirror servers with high object churn are <bcp14>RECOMMENDED</bcp14> to generate new Snapshot Files more frequently than the required minimum to limit the length of the Delta chain that clients must traverse on initialization or after a gap.
          Long Delta chains increase initialization time and resource consumption for mirror clients.
          </t>
        </section>
        <section numbered="true" removeInRFC="false" toc="include" pn="section-4.3.2">
          <name slugifiedName="name-snapshot-files">Snapshot Files</name>
          <t indent="0" pn="section-4.3.2-1">
          Snapshot Files after initialization are generated as follows:
          </t>
          <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-4.3.2-2">
            <li pn="section-4.3.2-2.1">
            If there have been no changes to the IRR objects since the last snapshot, the mirror server <bcp14>MUST NOT</bcp14> generate a new snapshot.
          </li>
            <li pn="section-4.3.2-2.2">
            The mirror server <bcp14>MUST</bcp14> generate a new Snapshot File at least once per day if there have been changes to the IRR objects.
            Mirror servers should not generate new Snapshot Files more than once per hour, as snapshot generation can be resource-intensive.
          </li>
            <li pn="section-4.3.2-2.3">
            The version number of the new snapshot <bcp14>MUST</bcp14> be equal to the last Delta File version at the time the server begins generating the snapshot.
          </li>
            <li pn="section-4.3.2-2.4">
            The URL where the Snapshot File is published <bcp14>MUST</bcp14> contain the session ID and version number so that the content at a given URL is immutable and can be cached indefinitely by HTTP intermediaries.
            It <bcp14>MUST</bcp14> also contain a random value that can not be predicted before publication to counter negative caching issues.
          </li>
            <li pn="section-4.3.2-2.5">
            The Update Notification File <bcp14>MUST</bcp14> be updated to include the new snapshot if one was generated.
          </li>
            <li pn="section-4.3.2-2.6">
            Snapshot generation may take some time, and in that time, newer changes may occur that are not part of the snapshot in progress.
            The mirror server <bcp14>MUST</bcp14> continue to produce Delta Files during this window.
            This means that the server may publish a Snapshot File with a version number older than the most recent Delta File at the time of publication.
          </li>
          </ul>
        </section>
        <section numbered="true" removeInRFC="false" toc="include" pn="section-4.3.3">
          <name slugifiedName="name-update-notification-file">Update Notification File</name>
          <t indent="0" pn="section-4.3.3-1">
          The Update Notification File <bcp14>MUST</bcp14> be updated when a new Delta or Snapshot File is published and at least every 24 hours, even if there have been no changes.
          The full format and validation rules are specified in <xref target="update_notification_file" format="default" sectionFormat="of" derivedContent="Section 6"/>.
          </t>
        </section>
        <section numbered="true" removeInRFC="false" toc="include" pn="section-4.3.4">
          <name slugifiedName="name-publication-policy-restrict">Publication Policy Restrictions</name>
          <t indent="0" pn="section-4.3.4-1">
          A mirror server <bcp14>MAY</bcp14> have a policy that restricts the publication of certain IRR objects or attributes, or modifies these before publication.
          Typical scenarios for this include preventing the distribution of certain personal data or password hashes, or excluding objects which do not meet validation rules like RPKI consistency.
          If objects are modified, it is <bcp14>RECOMMENDED</bcp14> that the mirror server makes it evident to humans reading the object text that the object was modified, for example, by adding remark lines or comments.
          </t>
          <t indent="0" pn="section-4.3.4-2">
          Mirror servers are <bcp14>RECOMMENDED</bcp14> to remove password hashes from the auth lines in mntner objects, as they have little use beyond the authoritative server and their publication may be a security risk.
          </t>
          <t indent="0" pn="section-4.3.4-3">
          If a mirror server has a policy that restricts or modifies object publication, this <bcp14>MUST</bcp14> be applied consistently to Snapshot Files and Delta Files from the moment the policy is enacted or modified.
          </t>
        </section>
      </section>
    </section>
    <section numbered="true" removeInRFC="false" toc="include" pn="section-5">
      <name slugifiedName="name-mirror-client-use">Mirror Client Use</name>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-5.1">
        <name slugifiedName="name-client-configuration">Client Configuration</name>
        <t indent="0" pn="section-5.1-1">
        Mirror clients are configured with the name of the IRR Database, the URL of the Update Notification File, and the public key currently used for signing the Update Notification File.
        Key rotation is described in <xref target="public_key_rotation" format="default" sectionFormat="of" derivedContent="Section 9.6"/>.
        </t>
      </section>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-5.2">
        <name slugifiedName="name-update-notification-file-re">Update Notification File Retrieval</name>
        <t indent="0" pn="section-5.2-1">
        Mirror clients may retrieve the Update Notification File to check for changes every minute.
        Mirror clients <bcp14>MUST NOT</bcp14> check more than once per minute.
        </t>
      </section>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-5.3">
        <name slugifiedName="name-initialization-from-snapsho">Initialization from Snapshot</name>
        <t indent="0" pn="section-5.3-1">
        Clients <bcp14>MUST</bcp14> initialize from a Snapshot File when initially configured, or if they are not able to update their local data from the provided Delta Files:
        </t>
        <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-5.3-2">
          <li pn="section-5.3-2.1">
          The client <bcp14>MUST</bcp14> retrieve the Update Notification File.
        </li>
          <li pn="section-5.3-2.2">
          The client <bcp14>MUST</bcp14> verify that the source attribute in the Update Notification File matches the configured IRR Database name.
        </li>
          <li pn="section-5.3-2.3">
          The client <bcp14>MUST</bcp14> retrieve the Snapshot File and load the objects into its local storage.
        </li>
          <li pn="section-5.3-2.4">
          The mirror client <bcp14>MUST</bcp14> verify that the calculated SHA-256 <xref target="SHS" format="default" sectionFormat="of" derivedContent="SHS"/> hash of the Snapshot File matches the hash in the Update Notification File that referenced it.
          If the Snapshot File was compressed with GZIP, the hash <bcp14>MUST</bcp14> match the compressed data.
          As the Update Notification File is signed, this hash verification proves the integrity and authenticity for the Snapshot File.
          In case of a mismatch of this hash, the file <bcp14>MUST</bcp14> be rejected.
        </li>
          <li pn="section-5.3-2.5">
          The client <bcp14>MUST</bcp14> record the session_id and version of the loaded Snapshot File.
        </li>
          <li pn="section-5.3-2.6">
          The file <bcp14>MUST</bcp14> be rejected if an Update Notification File or a Snapshot File has an invalid syntax (e.g., missing mandatory parameters).
          For validating the IRR objects contained in the files, see <xref target="irr_object_validation" format="default" sectionFormat="of" derivedContent="Section 9.2"/>.
        </li>
        </ul>
      </section>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-5.4">
        <name slugifiedName="name-processing-delta-files">Processing Delta Files</name>
        <t indent="0" pn="section-5.4-1">
        If a mirror client has previously initialized from a snapshot:
        </t>
        <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-5.4-2">
          <li pn="section-5.4-2.1">
          The client <bcp14>MUST</bcp14> retrieve the Update Notification File.
        </li>
          <li pn="section-5.4-2.2">
          The client <bcp14>MUST</bcp14> verify that the source attribute in the Update Notification File matches the configured IRR Database name.
        </li>
          <li pn="section-5.4-2.3">
          The client <bcp14>MUST</bcp14> verify that the session_id matches the previously known session_id.
          If this does not match, the client <bcp14>MUST</bcp14> reinitialize from the snapshot.
        </li>
          <li pn="section-5.4-2.4">
          The client <bcp14>MUST</bcp14> verify that the Update Notification File version is the same or higher than the client's current most recent version.
          If not, the Update Notification File <bcp14>MUST</bcp14> be rejected.
          It is <bcp14>RECOMMENDED</bcp14> for the client to distinguish between an Update Notification File that is a single version older, and a much older version, in any status messages.
          The former can occur from time to time in synchronization issues and the latter is more likely a faulty implementation.
        </li>
          <li pn="section-5.4-2.5">
          The client <bcp14>MUST</bcp14> verify that the Update Notification File contains one contiguous set of Delta File versions after the client's current most recent version up to the latest version in the Update Notification File.
          If the Delta File versions are not contiguous, the Update Notification File <bcp14>MUST</bcp14> be rejected.
          If the available Delta File versions do not range from the client's most recent version plus one, the client <bcp14>MUST</bcp14> reinitialize from the snapshot.
        </li>
          <li pn="section-5.4-2.6">
          The mirror client <bcp14>MUST</bcp14> verify that the hashes of each Delta and Snapshot File have not changed compared to the previous valid Update Notification File for the same file type and version.
          If a newer Update Notification File contains a different hash for a specific file, this indicates a misconfiguration in the server and the client <bcp14>MUST</bcp14> reject the Update Notification File.
        </li>
          <li pn="section-5.4-2.7">
          The client <bcp14>MUST</bcp14> retrieve all Delta Files for versions since the client's last known version, if there are any.
        </li>
          <li pn="section-5.4-2.8">
          The mirror client <bcp14>MUST</bcp14> verify that the calculated SHA-256 hash of each newly downloaded Delta File matches the hash in the Update Notification File that referenced it.
          If the Delta File was compressed with GZIP, the hash <bcp14>MUST</bcp14> match the compressed file.
          As the Update Notification File is signed, this hash verification proves the integrity and authenticity for the Delta File.
          In case of a mismatch of this hash, the Delta File <bcp14>MUST</bcp14> be rejected.
        </li>
          <li pn="section-5.4-2.9">
          The client <bcp14>MUST</bcp14> process all changes in the Delta Files in order: lowest Delta File version number first, and in the order of the changes list in the Delta File.
        </li>
          <li pn="section-5.4-2.10">
          The client <bcp14>MUST</bcp14> update its records of the most recent version to the version of the Update Notification File.
        </li>
          <li pn="section-5.4-2.11">
          If an Update Notification File or a Delta File has an invalid syntax (including missing mandatory parameters), the file <bcp14>MUST</bcp14> be rejected.
          For validating the IRR objects contained in the files, see <xref target="irr_object_validation" format="default" sectionFormat="of" derivedContent="Section 9.2"/>.
        </li>
        </ul>
        <t indent="0" pn="section-5.4-3">
        If the Update Notification File or one of the Delta Files is rejected, the mirror client <bcp14>MUST NOT</bcp14> process any newer Deltas than those that are valid and have been successfully verified.
        If some Delta Files are rejected, it <bcp14>MAY</bcp14> process the valid Delta Files, but <bcp14>MUST NOT</bcp14> skip over any rejected Delta Files while doing so.
        Additionally, the changes in a specific Delta File <bcp14>MUST</bcp14> be processed either completely, or not at all, i.e., a Delta File must never be partially processed.
        </t>
      </section>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-5.5">
        <name slugifiedName="name-error-recovery">Error Recovery</name>
        <t indent="0" pn="section-5.5-1">
        When a mirror client fails to retrieve any file due to a transient error, such as a network failure or an HTTP 5xx response, the client <bcp14>SHOULD</bcp14> retry before concluding the retrieval has failed.
        It is <bcp14>RECOMMENDED</bcp14> that implementations use a bounded exponential backoff strategy, starting from a short initial interval (e.g., a few seconds) up to a capped maximum interval (e.g., several minutes), with a bounded total retry duration.
        This prevents unnecessary Snapshot imports on clients and can prevent clients overwhelming a server on transient failures.
        Mirror clients <bcp14>SHOULD</bcp14> log retry and recovery events, including the reason, to assist operators in diagnosing mirroring failures.
        </t>
        <t indent="0" pn="section-5.5-2">
        If a file is rejected, the mirror client <bcp14>MUST NOT</bcp14> load any data from it.
        If the error may be transient, the mirror client <bcp14>SHOULD</bcp14> retry.
        After exhausting retries, if the required Delta Files remain unavailable or are still rejected, the mirror client <bcp14>SHOULD</bcp14> reinitialize from the Snapshot File to prevent using stale data.
        If the Snapshot File itself cannot be retrieved or is rejected after retries, as there is no further fallback, the client <bcp14>SHOULD</bcp14> alert the operator and stop until the issue is resolved.
        </t>
      </section>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-5.6">
        <name slugifiedName="name-signature-and-staleness-ver">Signature and Staleness Verification</name>
        <t indent="0" pn="section-5.6-1">
        Every time a mirror client retrieves a new version of the Update Notification File, it <bcp14>MUST</bcp14> verify the included signature.
        The signature <bcp14>MUST</bcp14> be valid for the configured public key for the contents of the Update Notification File.
        If the signature does not match, the mirror client <bcp14>MUST</bcp14> reject the Update Notification File unless a key rotation is in progress as described in <xref target="public_key_rotation" format="default" sectionFormat="of" derivedContent="Section 9.6"/>.
        </t>
        <t indent="0" pn="section-5.6-2">
        A mirror client can use the generation timestamp in the Update Notification File to check whether the file is stale, as the mirror server must update this file at least every 24 hours.
        If the generation timestamp is more than 24 hours ago, the file is stale and the mirror client <bcp14>SHOULD</bcp14> warn the operator in log messages or other alerting, but <bcp14>MAY</bcp14> continue to process it otherwise.
        </t>
      </section>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-5.7">
        <name slugifiedName="name-policy-restrictions">Policy Restrictions</name>
        <t indent="0" pn="section-5.7-1">
        A mirror client <bcp14>MAY</bcp14> have a policy that restricts the processing of objects to certain object classes, or other limitations on which objects it processes.
        </t>
        <t indent="0" pn="section-5.7-2">
        If a mirror client has a policy that restricts object processing, this <bcp14>MUST</bcp14> be applied consistently to Snapshot Files and Delta Files from the moment the policy is enacted or modified.
        </t>
      </section>
    </section>
    <section anchor="update_notification_file" numbered="true" removeInRFC="false" toc="include" pn="section-6">
      <name slugifiedName="name-update-notification-file-2">Update Notification File</name>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-6.1">
        <name slugifiedName="name-purpose">Purpose</name>
        <t indent="0" pn="section-6.1-1">
        The Update Notification File is generated by the mirror server and used by mirror clients to discover whether any changes exist between the state of the IRR mirror server and of the mirror client.
        It also describes the location of the Snapshot File and incremental Delta Files.
        Finally, the generation timestamp can be used to detect whether the file is stale.
        </t>
        <t indent="0" pn="section-6.1-2">
        The mirror server <bcp14>MUST</bcp14> generate a new Update Notification File every time there are new deltas or snapshots and at least every 24 hours, even if there have been no changes.
        </t>
      </section>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-6.2">
        <name slugifiedName="name-cache-concerns">Cache Concerns</name>
        <t indent="0" pn="section-6.2-1">
        A mirror server may use caching infrastructure to cache the Update Notification File and reduce the load of HTTPS requests.
        </t>
        <t indent="0" pn="section-6.2-2">
        However, since this file is used by mirror clients to determine whether any updates are available, the mirror server <bcp14>SHOULD</bcp14> ensure that this file is not cached for longer than one minute.
        An exception to this rule is that it is better to serve a stale Update Notification File rather than no Update Notification File.
        </t>
        <t indent="0" pn="section-6.2-3">
        Mirror servers <bcp14>SHOULD</bcp14> set the HTTP <tt>Cache-Control</tt> response header on the Update Notification File to <tt>no-cache</tt> or <tt>max-age=60</tt>, consistent with the one-minute caching limit.
        Mirror servers <bcp14>SHOULD</bcp14> set <tt>Cache-Control: immutable</tt> on responses for Snapshot Files and Delta Files, as these are immutable for a given session_id and version.
        Otherwise, clients and intermediaries may unnecessarily refetch large files.
        Mirror clients <bcp14>MAY</bcp14> use HTTP conditional requests (e.g., using <tt>If-None-Match</tt> with ETags or <tt>If-Modified-Since</tt>) when polling the Update Notification File to reduce bandwidth consumption when no changes have occurred.
        </t>
      </section>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-6.3">
        <name slugifiedName="name-payload-format-and-validati">Payload Format and Validation</name>
        <t indent="0" pn="section-6.3-1">
        An example payload of an Update Notification File is provided below:
        </t>
        <sourcecode type="json" markers="false" pn="section-6.3-2">
{
  "nrtm_version": 4,
  "timestamp": "2025-12-01T15:00:00Z",
  "type": "notification",
  "next_signing_key": "bnJ0..bXY0",
  "source": "EXAMPLE",
  "session_id": "ca128382-78d9-41d1-8927-1ecef15275be",
  "version": 4,
  "snapshot": {
    "version": 3,
    "url":
"ca128382-78d9-41d1-8927-1ecef15275be/nrtm-snapshot.3.04759.json.gz",
    "hash": "9a..86"
  },
  "deltas": [
    {
      "version": 2,
      "url":
"ca128382-78d9-41d1-8927-1ecef15275be/nrtm-delta.2.784a2a6.json",
      "hash": "62..a2"
    },
    {
      "version": 3,
      "url":
"ca128382-78d9-41d1-8927-1ecef15275be/nrtm-delta.3.0f681f0.json",
      "hash": "25..9a"
    },
    {
      "version": 4,
      "url":
"ca128382-78d9-41d1-8927-1ecef15275be/nrtm-delta.4.d9c194a.json",
      "hash": "b4..13"
    }
  ],
  "metadata": {}
}</sourcecode>
        <aside pn="section-6.3-3">
          <t indent="0" pn="section-6.3-3.1">
        Note: Hash and key values in this example are shortened because of formatting.
          </t>
        </aside>
        <t indent="0" pn="section-6.3-4">
        In this example, the overall version is 4, the snapshot is at version 3, and deltas are listed for versions 2, 3, and 4.
        The deltas at versions 2 and 3 predate the snapshot, but are still within the 24-hour retention window.
        A new client would initialize from the snapshot at version 3 and then apply only delta 4.
        An existing client already at version 1 can instead apply deltas 2, 3, and 4 without reinitializing from the snapshot.
        </t>
        <t indent="0" pn="section-6.3-5">
        The following validation rules <bcp14>MUST</bcp14> be observed when creating or parsing Update Notification Files:
        </t>
        <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-6.3-6">
          <li pn="section-6.3-6.1">
          The nrtm_version <bcp14>MUST</bcp14> be 4.
        </li>
          <li pn="section-6.3-6.2">
          The timestamp <bcp14>MUST</bcp14> be in the format specified in <xref target="RFC3339" format="default" sectionFormat="of" derivedContent="RFC3339"/> with the time-offset set to "Z".
        </li>
          <li pn="section-6.3-6.3">
          The type <bcp14>MUST</bcp14> be "notification".
        </li>
          <li pn="section-6.3-6.4">
          The optional field next_signing_key is used for in-band key rotation.
          If present, it <bcp14>MUST</bcp14> be a JWK <xref target="RFC7517" format="default" sectionFormat="of" derivedContent="RFC7517"/> public key encoded in PEM, which matches the private key the mirror server will start using to sign the Update Notification File in the near future.
          Key rotation is described in <xref target="public_key_rotation" format="default" sectionFormat="of" derivedContent="Section 9.6"/>.
          If there is no next signing key, this key <bcp14>MUST</bcp14> be omitted.
        </li>
          <li pn="section-6.3-6.5">
          The source <bcp14>MUST</bcp14> be a valid IRR object name <xref target="RFC2622" format="default" sectionFormat="of" derivedContent="RFC2622"/>.
        </li>
          <li pn="section-6.3-6.6">
          The session_id attribute <bcp14>MUST</bcp14> be a UUIDv4 (<xref section="5.4" target="RFC9562" format="default" sectionFormat="of" derivedLink="https://rfc-editor.org/rfc/rfc9562#section-5.4" derivedContent="RFC9562"/>) unique to this session for this source.
        </li>
          <li pn="section-6.3-6.7">
          The version <bcp14>MUST</bcp14> be an unsigned positive integer and be equal to the highest version of the deltas and snapshot.
        </li>
          <li pn="section-6.3-6.8">
          The file <bcp14>MUST</bcp14> contain exactly one snapshot.
        </li>
          <li pn="section-6.3-6.9">
          The file <bcp14>MAY</bcp14> contain one or more deltas.
        </li>
          <li pn="section-6.3-6.10">
          The deltas <bcp14>MUST</bcp14> have a sequential contiguous set of version numbers.
        </li>
          <li pn="section-6.3-6.11">
          Each snapshot and delta element <bcp14>MUST</bcp14> have a version, URL, and hash attribute.
          The URL must be relative to the path of the Update Notification File.
          For example, if the Update Notification File example above is published on https://example.com/nrtm/update-notification-file.jose, the full URL for the referred snapshot is https://example.com/nrtm/ca128382-78d9-41d1-8927-1ecef15275be/nrtm-snapshot.3.04759.json.gz.
          If the snapshot or delta file was compressed with GZIP, the filename <bcp14>MUST</bcp14> end in ".gz", and the hash <bcp14>MUST</bcp14> match the compressed data.
        </li>
          <li pn="section-6.3-6.12">
          The hash attribute in snapshot and delta elements <bcp14>MUST</bcp14> be the hexadecimal encoding of the SHA-256 hash of the referenced file.
          This hash algorithm, used to verify the integrity of the Snapshot and Delta Files, is fixed and independent of the JWS signing algorithm used for the Update Notification File.
          The mirror client <bcp14>MUST</bcp14> verify this hash when the file is retrieved and reject the file if the hash does not match.
        </li>
          <li pn="section-6.3-6.13">
          The metadata key <bcp14>MAY</bcp14> be present and is used for metadata produced by the server to aid in tracing and debugging.
          This can contain information like the name of the host on which the file was generated or the name and version of the software used.
          Each mirror server may choose which fields to include or choose to not include any metadata.
          The mirror server <bcp14>SHOULD NOT</bcp14> cause excessive size increases by adding extensive metadata in the Update Notification File, as it is the most frequently retrieved file.
        </li>
        </ul>
      </section>
      <section anchor="encoding_and_signature" numbered="true" removeInRFC="false" toc="include" pn="section-6.4">
        <name slugifiedName="name-encoding-and-signature">Encoding and Signature</name>
        <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-6.4-1">
          <li pn="section-6.4-1.1">
          The actual Update Notification File content is a JSON Web Signature <xref target="RFC7515" format="default" sectionFormat="of" derivedContent="RFC7515"/> using JWS Compact Serialization.
        </li>
          <li pn="section-6.4-1.2">
          The JWS Payload is the JSON <xref target="RFC8259" format="default" sectionFormat="of" derivedContent="RFC8259"/> serialization of the structure described in the previous section.
        </li>
          <li pn="section-6.4-1.3">
          The filename of the serialized data <bcp14>MUST</bcp14> be "update-notification-file.jose".
        </li>
          <li pn="section-6.4-1.4">
          Mirror clients <bcp14>MUST</bcp14> implement ES256.
          Mirror servers <bcp14>MAY</bcp14> use ES256 or other digital signature algorithms from the IANA "JSON Web Signature and Encryption Algorithms" registry <xref target="IANA_jose" format="default" sectionFormat="of" derivedContent="IANA_jose"/>; the algorithm <bcp14>MUST NOT</bcp14> be "none", a MAC algorithm, or <tt>Deprecated</tt> or <tt>Prohibited</tt>.
          It is <bcp14>RECOMMENDED</bcp14> to use ES256 or other Recommended or Recommended+ algorithms.
          If a server uses an algorithm other than ES256, it is the server operator's responsibility to ensure their mirror clients support that algorithm.
        </li>
        </ul>
      </section>
    </section>
    <section numbered="true" removeInRFC="false" toc="include" pn="section-7">
      <name slugifiedName="name-snapshot-file">Snapshot File</name>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-7.1">
        <name slugifiedName="name-purpose-2">Purpose</name>
        <t indent="0" pn="section-7.1-1">
        The Snapshot File reflects the complete and current contents of all IRR objects in an IRR Database.
        Mirror clients <bcp14>MUST</bcp14> use this to initialize their local copy of the IRR Database.
        Snapshot Files are not individually signed.
        Their integrity is verified by comparing the calculated SHA-256 hash with the hash listed in the signed Update Notification File (see <xref target="encoding_and_signature" format="default" sectionFormat="of" derivedContent="Section 6.4"/>).
        </t>
      </section>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-7.2">
        <name slugifiedName="name-cache-concerns-2">Cache Concerns</name>
        <t indent="0" pn="section-7.2-1">
        A snapshot reflects the content of the IRR Database at a specific point in time; for that reason, it can be considered immutable data.
        Snapshot Files are published at a URL that is unique to the specific session and version.
        The URL also contains a random value that can not be predicted before publication to counter negative caching issues.
        </t>
        <t indent="0" pn="section-7.2-2">
        Because these files never change, they can be cached.
        However, as snapshots are large and old snapshots will no longer be referred by newer Update Notification Files, it is <bcp14>RECOMMENDED</bcp14> that a limited cache interval is used.
        </t>
      </section>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-7.3">
        <name slugifiedName="name-file-format-and-validation">File Format and Validation</name>
        <t indent="0" pn="section-7.3-1">
        Example Snapshot File, where ␞ (U+241E) represents the record separator control character (U+001E) as specified in <xref target="RFC7464" format="default" sectionFormat="of" derivedContent="RFC7464"/>:
        </t>
        <sourcecode type="json" markers="false" pn="section-7.3-2">
␞{
  "nrtm_version": 4,
  "type": "snapshot",
  "source": "EXAMPLE",
  "session_id": "ca128382-78d9-41d1-8927-1ecef15275be",
  "version": 3
}
␞{"object": "route: 192.0.2.0/24\norigin: AS64500\nsource: EXAMPLE"}
␞{"object": "route6: 2001:db8::/32\norigin: AS64500\nsource: EXAMPLE"}
</sourcecode>
        <aside pn="section-7.3-3">
          <t indent="0" pn="section-7.3-3.1">
        Note: IRR object texts in this example are shortened because of formatting.
          </t>
        </aside>
        <t indent="0" pn="section-7.3-4">
        The file is in JSON Text Sequences <xref target="RFC7464" format="default" sectionFormat="of" derivedContent="RFC7464"/> format and <bcp14>MUST</bcp14> contain one or more records (it must contain at least the header).
        The first record is the file header and the following validation rules <bcp14>MUST</bcp14> be observed when creating or parsing a Snapshot File header:
        </t>
        <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-7.3-5">
          <li pn="section-7.3-5.1">
          The nrtm_version <bcp14>MUST</bcp14> be 4.
        </li>
          <li pn="section-7.3-5.2">
          The type <bcp14>MUST</bcp14> be "snapshot".
        </li>
          <li pn="section-7.3-5.3">
          The source <bcp14>MUST</bcp14> match the source in the Update Notification File.
        </li>
          <li pn="section-7.3-5.4">
          The session_id attribute <bcp14>MUST</bcp14> match the session_id in the Update Notification File.
        </li>
          <li pn="section-7.3-5.5">
          The version <bcp14>MUST</bcp14> be an unsigned positive integer, matching the Update Notification File entry for this snapshot.
        </li>
        </ul>
        <t indent="0" pn="section-7.3-6">
        The remaining records (zero or more) <bcp14>MUST</bcp14> each contain a string representation of an IRR object.
        The source attribute in the IRR object texts <bcp14>MUST</bcp14> match the source attribute of the Snapshot File.
        </t>
      </section>
    </section>
    <section numbered="true" removeInRFC="false" toc="include" pn="section-8">
      <name slugifiedName="name-delta-file">Delta File</name>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-8.1">
        <name slugifiedName="name-purpose-3">Purpose</name>
        <t indent="0" pn="section-8.1-1">
        A Delta File contains all changes for exactly one incremental update of the IRR Database.
        It may include new, modified, and deleted objects. Delta Files can contain multiple alterations to multiple objects.
        Delta Files are not individually signed.
        Their integrity is verified by comparing the calculated SHA-256 hash with the hash listed in the signed Update Notification File (see <xref target="encoding_and_signature" format="default" sectionFormat="of" derivedContent="Section 6.4"/>).
        </t>
      </section>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-8.2">
        <name slugifiedName="name-cache-concerns-3">Cache Concerns</name>
        <t indent="0" pn="section-8.2-1">
        Deltas reflect the difference in content of the IRR Database from one version to another; for that reason, it can be considered immutable data.
        Delta Files are published at a URL that is unique to the specific session and version.
        The URL also contains a random value that can not be predicted before publication to counter negative caching issues.
        </t>
        <t indent="0" pn="section-8.2-2">
        To avoid race conditions where a mirror client retrieves an Update Notification File moments before it's updated, mirror servers <bcp14>SHOULD</bcp14> retain old Delta Files for at least 5 minutes after a new Update Notification File is published that no longer contains these Delta Files.
        </t>
      </section>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-8.3">
        <name slugifiedName="name-file-format-and-validation-2">File Format and Validation</name>
        <t indent="0" pn="section-8.3-1">
        Example Delta File, where ␞ (U+241E) represents the record separator control character (U+001E) as   
specified in <xref target="RFC7464" format="default" sectionFormat="of" derivedContent="RFC7464"/>:
        </t>
        <sourcecode type="json" markers="false" pn="section-8.3-2">
␞{
  "nrtm_version": 4,
  "type": "delta",
  "source": "EXAMPLE",
  "session_id": "ca128382-78d9-41d1-8927-1ecef15275be",
  "version": 3
}
␞{
  "action": "delete",
  "object_class": "person",
  "primary_key": "PRSN1-EXAMPLE"
}
␞{
  "action": "delete",
  "object_class": "route",
  "primary_key": "192.0.2.0/24AS64500"
}
␞{
  "action": "add_modify",
  "object": "route6: 2001:db8::/32\norigin: AS64500\nsource: EXAMPLE"
}</sourcecode>
        <aside pn="section-8.3-3">
          <t indent="0" pn="section-8.3-3.1">
        Note: IRR object texts in this example are shortened because of formatting.
          </t>
        </aside>
        <t indent="0" pn="section-8.3-4">
        The file is in JSON Text Sequences <xref target="RFC7464" format="default" sectionFormat="of" derivedContent="RFC7464"/> format and <bcp14>MUST</bcp14> contain two or more records (at least the header and one change).
        The first record is the file header and the following validation rules <bcp14>MUST</bcp14> be observed when creating or parsing a Delta File header:
        </t>
        <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-8.3-5">
          <li pn="section-8.3-5.1">
          The nrtm_version <bcp14>MUST</bcp14> be 4.
        </li>
          <li pn="section-8.3-5.2">
          The type <bcp14>MUST</bcp14> be "delta".
        </li>
          <li pn="section-8.3-5.3">
          The source <bcp14>MUST</bcp14> match the source in the Update Notification File.
        </li>
          <li pn="section-8.3-5.4">
          The session_id attribute <bcp14>MUST</bcp14> match the session_id in the Update Notification File.
        </li>
          <li pn="section-8.3-5.5">
          The version <bcp14>MUST</bcp14> be an unsigned positive integer, matching the Update Notification File entry for this delta.
        </li>
        </ul>
        <t indent="0" pn="section-8.3-6">
        The remaining records (one or more) <bcp14>MUST</bcp14> each contain a JSON object that represents a change. The JSON object <bcp14>MUST</bcp14> meet the following rules: 
        </t>
        <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-8.3-7">
          <li pn="section-8.3-7.1">
          It has an "action" attribute, which is either "delete" for object deletions or "add_modify" for additions or modifications.
        </li>
          <li pn="section-8.3-7.2">
          If action is "delete": It has an "object_class" attribute with the RPSL object class name, and a "primary_key" attribute with the primary key of the deleted object.
          For objects that are listed in <xref target="RFC2622" format="default" sectionFormat="of" derivedContent="RFC2622"/> and <xref target="RFC4012" format="default" sectionFormat="of" derivedContent="RFC4012"/>, the primary key is the value of the RPSL field defined as "class key".
          For object classes that define a pair of attributes as class key, e.g. route, the values of the individual attributes are appended together without separators.
          For any other objects, the primary key is the value of the RPSL field with the same name as the object class name.
          The primary key and object class name are not case-sensitive. Therefore, mirror clients <bcp14>MUST</bcp14> use case-insensitive matching against their local database.
        </li>
          <li pn="section-8.3-7.3">
          If action is "add_modify": It has an "object" attribute with the RPSL text of the new version of the object.
      </li>
        </ul>
      </section>
    </section>
    <section numbered="true" removeInRFC="false" toc="include" pn="section-9">
      <name slugifiedName="name-operational-considerations">Operational Considerations</name>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-9.1">
        <name slugifiedName="name-time">Time</name>
        <t indent="0" pn="section-9.1-1">
        IRR clients and servers are <bcp14>RECOMMENDED</bcp14> to use <xref target="RFC5905" format="default" sectionFormat="of" derivedContent="RFC5905">NTP</xref> synchronization to avoid timing discrepancies.
        </t>
      </section>
      <section anchor="irr_object_validation" numbered="true" removeInRFC="false" toc="include" pn="section-9.2">
        <name slugifiedName="name-irr-object-validation">IRR Object Validation</name>
        <t indent="0" pn="section-9.2-1">
        Throughout the years, various implementations of IRR servers have taken liberties with the various RFCs regarding RPSL.
        Implementations have introduced different new object classes, attributes, and validation rules.
        Current IRR Databases also contain legacy objects that were created under different validation rules.
        In practice, there is no uniformly implemented standard for RPSL, but merely rough outlines partially documented in different places.
        </t>
        <t indent="0" pn="section-9.2-2">
        This has the potential to create interoperability issues.
        Some are addressed by NRTMv4, like having a consistent character set when mirroring data between implementations.
        However, some issues can not be addressed in this way, such as one implementation introducing a new object class that is entirely unknown to another implementation.
        </t>
        <t indent="0" pn="section-9.2-3">
        A mirror client <bcp14>SHOULD</bcp14> be able to handle unknown object classes and objects that are invalid according to its own validation rules, which may mean simply discarding them without rejecting remaining objects or preventing future updates.
        </t>
        <t indent="0" pn="section-9.2-4">
        It is <bcp14>RECOMMENDED</bcp14> for mirror clients to log these cases, particularly those where an object was discarded due to violating validation rules.
        These cases create an inconsistency between the IRR objects of the server and client, and logs facilitate later analysis.
        </t>
        <t indent="0" pn="section-9.2-5">
        It is recommended for mirror clients to be flexible where possible and reasonable when applying their own validation rules to IRR objects retrieved from mirror servers.
        For example, a route object with an origin attribute that is not a valid AS number can't be usefully interpreted.
        There is no way for an IRR server to correctly parse and index such an object.
        However, a route-set object whose name does not start with "RS-" <xref target="RFC2622" format="default" sectionFormat="of" derivedContent="RFC2622"/>, or an inetnum with an unknown extra "org" attribute, still allows the mirror client to interpret it unambiguously even if it does not meet the mirror client's own validation rules for authoritative records.
        </t>
      </section>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-9.3">
        <name slugifiedName="name-intermediate-mirror-instanc">Intermediate Mirror Instances</name>
        <t indent="0" pn="section-9.3-1">
        An IRR Database generally has a single authoritative source.
        In some cases, an instance run by a third party will function as a kind of intermediate: both being a mirror client, mirroring IRR objects from the authoritative source, and simultaneously functioning as a mirror server to yet another mirror client.
        </t>
        <t indent="0" pn="section-9.3-2">
        There are various operational reasons for such a setup, such as the intermediate filtering certain records.
        Regardless of the reason, the mirror client and server function of an IRR server must be treated as separate processes.
        In particular, this means they <bcp14>MUST</bcp14> have separate session IDs.
        The intermediate server <bcp14>MUST NOT</bcp14> republish the same files it retrieved from the authoritative source with the same session ID.
        </t>
      </section>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-9.4">
        <name slugifiedName="name-reading-from-local-files">Reading from Local Files</name>
        <t indent="0" pn="section-9.4-1">
        In the typical use case for NRTMv4, a mirror client retrieves files from an HTTPS endpoint.
        However, implementations <bcp14>MAY</bcp14> also support reading from files on the local filesystem instead for when operators want to use a different method to retrieve or distribute the files.
        When reading from local files, mirror clients <bcp14>SHOULD</bcp14> still follow all validation rules, including the validation of the signature and hashes, to prevent corrupted or tampered data from being loaded.
        </t>
      </section>
      <section anchor="storage" numbered="true" removeInRFC="false" toc="include" pn="section-9.5">
        <name slugifiedName="name-storage-considerations">Storage Considerations</name>
        <t indent="0" pn="section-9.5-1">
        After publishing a new Update Notification File and absent local policy, a mirror server <bcp14>SHOULD</bcp14> remove any Snapshot and Delta Files that are no longer referenced, as unreferenced files consume storage unnecessarily.
        To avoid race conditions where a mirror client retrieves an Update Notification File moments before it is updated, mirror servers <bcp14>SHOULD</bcp14> retain unreferenced files for at least 5 minutes after a new Update Notification File is published.
        </t>
      </section>
      <section anchor="public_key_rotation" numbered="true" removeInRFC="false" toc="include" pn="section-9.6">
        <name slugifiedName="name-public-key-rotation">Public Key Rotation</name>
        <t indent="0" pn="section-9.6-1">
        It is recommended that the IRR Database operators rotate the signing key on their mirror server with a frequency that is not disruptive to operations but preserves the familiarity of the practices to accomplish key rotation.
        Many organizations have settled on annual cycles.
        The next_signing_key field in the Update Notification File supports in-band key rotation using the following process:
        </t>
        <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-9.6-2">
          <li pn="section-9.6-2.1">
            The server operator generates a new key and configures this in the mirror server implementation as the upcoming new signing key.
          </li>
          <li pn="section-9.6-2.2">
            The mirror server <bcp14>MUST</bcp14> include this key in the next_signing_key field in any Update Notification File generated while the new signing key is configured.
            Hence, the new signing key will start being propagated to the mirror clients with the next publication of the Notification File, which will take at most 24 hours.
            Mirror server implementations <bcp14>MAY</bcp14> offer a method to cause the Update Notification File to be refreshed earlier, with the next_signing_key included, and thus start the propagation earlier.
          </li>
          <li pn="section-9.6-2.3">
            When mirror clients retrieve the Update Notification File next, they <bcp14>MUST</bcp14> detect the next_signing_key field and store the key in their configuration.
          </li>
          <li pn="section-9.6-2.4">
            After allowing mirror clients time to have seen the new Update Notification File with the next_signing_key field, the mirror server operator configures the new key as the currently active key and removes the old key.
            Any Update Notification File generated after this point <bcp14>MUST</bcp14> be signed with this new key and will not contain a next_signing_key field.
          </li>
          <li pn="section-9.6-2.5">
            The <bcp14>RECOMMENDED</bcp14> period between publication of the upcoming key in the next_signing_key field and removal of the old key is one week. This offers all active clients a reasonable chance to follow the rotation process.
          </li>
          <li pn="section-9.6-2.6">
            When mirror clients retrieve an Update Notification File and find that the signature does not match, they <bcp14>MUST</bcp14> attempt to verify against a next_signing_key encountered in a previous (valid) file.
            If the signature matches for this new key, the client <bcp14>MUST</bcp14> update its configuration to use the new key for validation.
            After this, the client <bcp14>MUST NOT</bcp14> use the old key for validation at any time; a mirror server cannot switch back to an old key.
          </li>
        </ul>
        <t indent="0" pn="section-9.6-3">
        If a mirror client never retrieves an Update Notification file at any point during the rotation process, it will no longer be able to verify the signature.
        In that scenario manual recovery is required, similar to a first time configuration of a new mirror client.
        </t>
      </section>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-9.7">
        <name slugifiedName="name-scalability">Scalability</name>
        <t indent="0" pn="section-9.7-1">
        As NRTMv4 uses HTTPS for all file retrieval, mirror servers can use standard HTTP caching infrastructure, horizontal scaling, and CDN integration to handle load.
        Caching considerations for each file type are discussed in the respective Cache Concerns sections.
        </t>
        <t indent="0" pn="section-9.7-2">
        Delta Files are typically small, as they only contain changes since the previous version.
        Snapshot Files can be larger, but all files may be compressed with GZIP to reduce storage and bandwidth requirements.
        </t>
      </section>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-9.8">
        <name slugifiedName="name-nrtmv3-compatibility">NRTMv3 Compatibility</name>
        <t indent="0" pn="section-9.8-1">
        NRTMv4 is a new protocol that is not backwards compatible with NRTMv3.
        There is no migration path between the two protocols; operators wishing to support both can run them in parallel.
        </t>
      </section>
    </section>
    <section anchor="IANA" numbered="true" removeInRFC="false" toc="include" pn="section-10">
      <name slugifiedName="name-iana-considerations">IANA Considerations</name>
      <t indent="0" pn="section-10-1">
      This document has no IANA actions.
      </t>
    </section>
    <section anchor="security_considerations" numbered="true" removeInRFC="false" toc="include" pn="section-11">
      <name slugifiedName="name-security-considerations">Security Considerations</name>
      <t indent="0" pn="section-11-1">
      IRR objects serve many purposes, including automated network configuration and filtering.
      Manipulation of IRR objects can therefore have a significant security impact.
      However, security in existing protocols is mostly absent.
      </t>
      <t indent="0" pn="section-11-2">
      Before NRTMv4, the most common protocols for IRR Database mirroring are FTP for retrieving full snapshots and NRTM version 3 for retrieving later changes.
      There are no provisions for integrity or authenticity and there are various scenarios where mirroring may not be reliable.
      </t>
      <t indent="0" pn="section-11-3">
      NRTMv4 requires integrity verification.
      The Update Notification File is signed and clients must verify its signature.
      The signed Update Notification File contains SHA-256 hashes of all Delta and Snapshot Files, which clients must verify through calculating and comparing hashes on retrieval.
      Together, the signature and hash verification form a chain of trust from the signing key to each individual file.
      Additionally, the channel security offered by HTTPS further limits security risks.
      </t>
      <t indent="0" pn="section-11-4">
      By allowing publication on any HTTPS endpoint, NRTMv4 allows for extensive scaling and there are many existing techniques and services to protect against denial-of-service attacks.
      In contrast, NRTMv3 required mirror clients to directly query the IRR server instance with special WHOIS queries.
      This scales poorly and there are no standard protections against denial-of-service available.
      </t>
      <t indent="0" pn="section-11-5">
      Since Snapshot and Delta Files may be compressed with GZIP, a maliciously crafted compressed file could expand to a much larger size than expected, potentially exhausting memory or disk resources.
      Implementations <bcp14>SHOULD</bcp14> enforce limits on the decompressed size of files relative to the compressed size or the expected data volume for the IRR Database.
      See also the security considerations of <xref target="RFC6713" format="default" sectionFormat="of" derivedContent="RFC6713"/>.
      </t>
      <t indent="0" pn="section-11-6">
      The HTTPS endpoint used for NRTMv4 <bcp14>MUST</bcp14> be configured according to the best practices in <xref target="BCP195" format="default" sectionFormat="of" derivedContent="BCP195"/>.
      Mirror clients <bcp14>MUST NOT</bcp14> use other protocols than HTTPS, such as HTTP or FTP.
      </t>
    </section>
  </middle>
  <back>
    <references pn="section-12">
      <name slugifiedName="name-references">References</name>
      <references pn="section-12.1">
        <name slugifiedName="name-normative-references">Normative References</name>
        <referencegroup anchor="BCP195" target="https://www.rfc-editor.org/info/bcp195" derivedAnchor="BCP195">
          <reference anchor="RFC8996" target="https://www.rfc-editor.org/info/rfc8996" quoteTitle="true">
            <front>
              <title>Deprecating TLS 1.0 and TLS 1.1</title>
              <author fullname="K. Moriarty" initials="K." surname="Moriarty"/>
              <author fullname="S. Farrell" initials="S." surname="Farrell"/>
              <date month="March" year="2021"/>
              <abstract>
                <t indent="0">This document formally deprecates Transport Layer Security (TLS) versions 1.0 (RFC 2246) and 1.1 (RFC 4346). Accordingly, those documents have been moved to Historic status. These versions lack support for current and recommended cryptographic algorithms and mechanisms, and various government and industry profiles of applications using TLS now mandate avoiding these old TLS versions. TLS version 1.2 became the recommended version for IETF protocols in 2008 (subsequently being obsoleted by TLS version 1.3 in 2018), providing sufficient time to transition away from older versions. Removing support for older versions from implementations reduces the attack surface, reduces opportunity for misconfiguration, and streamlines library and product maintenance.</t>
                <t indent="0">This document also deprecates Datagram TLS (DTLS) version 1.0 (RFC 4347) but not DTLS version 1.2, and there is no DTLS version 1.1.</t>
                <t indent="0">This document updates many RFCs that normatively refer to TLS version 1.0 or TLS version 1.1, as described herein. This document also updates the best practices for TLS usage in RFC 7525; hence, it is part of BCP 195.</t>
              </abstract>
            </front>
            <seriesInfo name="BCP" value="195"/>
            <seriesInfo name="RFC" value="8996"/>
            <seriesInfo name="DOI" value="10.17487/RFC8996"/>
          </reference>
          <reference anchor="RFC9325" target="https://www.rfc-editor.org/info/rfc9325" quoteTitle="true">
            <front>
              <title>Recommendations for Secure Use of Transport Layer Security (TLS) and Datagram Transport Layer Security (DTLS)</title>
              <author fullname="Y. Sheffer" initials="Y." surname="Sheffer"/>
              <author fullname="P. Saint-Andre" initials="P." surname="Saint-Andre"/>
              <author fullname="T. Fossati" initials="T." surname="Fossati"/>
              <date month="November" year="2022"/>
              <abstract>
                <t indent="0">Transport Layer Security (TLS) and Datagram Transport Layer Security (DTLS) are used to protect data exchanged over a wide range of application protocols and can also form the basis for secure transport protocols. Over the years, the industry has witnessed several serious attacks on TLS and DTLS, including attacks on the most commonly used cipher suites and their modes of operation. This document provides the latest recommendations for ensuring the security of deployed services that use TLS and DTLS. These recommendations are applicable to the majority of use cases.</t>
                <t indent="0">RFC 7525, an earlier version of the TLS recommendations, was published when the industry was transitioning to TLS 1.2. Years later, this transition is largely complete, and TLS 1.3 is widely available. This document updates the guidance given the new environment and obsoletes RFC 7525. In addition, this document updates RFCs 5288 and 6066 in view of recent attacks.</t>
              </abstract>
            </front>
            <seriesInfo name="BCP" value="195"/>
            <seriesInfo name="RFC" value="9325"/>
            <seriesInfo name="DOI" value="10.17487/RFC9325"/>
          </reference>
          <reference anchor="RFC9852" target="https://www.rfc-editor.org/info/rfc9852" quoteTitle="true">
            <front>
              <title>New Protocols Using TLS Must Require TLS 1.3</title>
              <author fullname="R. Salz" initials="R." surname="Salz"/>
              <author fullname="N. Aviram" initials="N." surname="Aviram"/>
              <date month="July" year="2026"/>
              <abstract>
                <t indent="0">TLS 1.3 is widely used, has had comprehensive security proofs, and improves both security and privacy deficiencies in TLS 1.2. Therefore, new protocols that use TLS must require TLS 1.3. As DTLS 1.3 is not widely available or deployed, this prescription does not pertain to DTLS (in any DTLS version); it pertains to TLS only.</t>
                <t indent="0">This document updates RFC 9325. It discusses post-quantum cryptography and the security and privacy improvements in TLS 1.3 as the rationale for the update.</t>
              </abstract>
            </front>
            <seriesInfo name="BCP" value="195"/>
            <seriesInfo name="RFC" value="9852"/>
            <seriesInfo name="DOI" value="10.17487/RFC9852"/>
          </reference>
        </referencegroup>
        <reference anchor="IANA_jose" target="https://www.iana.org/assignments/jose" quoteTitle="true" derivedAnchor="IANA_jose">
          <front>
            <title>JSON Object Signing and Encryption (JOSE)</title>
            <author>
              <organization showOnFrontPage="true">IANA</organization>
            </author>
          </front>
        </reference>
        <reference anchor="RFC1952" target="https://www.rfc-editor.org/info/rfc1952" quoteTitle="true" derivedAnchor="RFC1952">
          <front>
            <title>GZIP file format specification version 4.3</title>
            <author fullname="P. Deutsch" initials="P." surname="Deutsch"/>
            <date month="May" year="1996"/>
            <abstract>
              <t indent="0">This specification defines a lossless compressed data format that is compatible with the widely used GZIP utility. This memo provides information for the Internet community. This memo does not specify an Internet standard of any kind.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="1952"/>
          <seriesInfo name="DOI" value="10.17487/RFC1952"/>
        </reference>
        <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="RFC2622" target="https://www.rfc-editor.org/info/rfc2622" quoteTitle="true" derivedAnchor="RFC2622">
          <front>
            <title>Routing Policy Specification Language (RPSL)</title>
            <author fullname="C. Alaettinoglu" initials="C." surname="Alaettinoglu"/>
            <author fullname="C. Villamizar" initials="C." surname="Villamizar"/>
            <author fullname="E. Gerich" initials="E." surname="Gerich"/>
            <author fullname="D. Kessens" initials="D." surname="Kessens"/>
            <author fullname="D. Meyer" initials="D." surname="Meyer"/>
            <author fullname="T. Bates" initials="T." surname="Bates"/>
            <author fullname="D. Karrenberg" initials="D." surname="Karrenberg"/>
            <author fullname="M. Terpstra" initials="M." surname="Terpstra"/>
            <date month="June" year="1999"/>
            <abstract>
              <t indent="0">RPSL allows a network operator to be able to specify routing policies at various levels in the Internet hierarchy; for example at the Autonomous System (AS) level. At the same time, policies can be specified with sufficient detail in RPSL so that low level router configurations can be generated from them. RPSL is extensible; new routing protocols and new protocol features can be introduced at any time. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="2622"/>
          <seriesInfo name="DOI" value="10.17487/RFC2622"/>
        </reference>
        <reference anchor="RFC3339" target="https://www.rfc-editor.org/info/rfc3339" quoteTitle="true" derivedAnchor="RFC3339">
          <front>
            <title>Date and Time on the Internet: Timestamps</title>
            <author fullname="G. Klyne" initials="G." surname="Klyne"/>
            <author fullname="C. Newman" initials="C." surname="Newman"/>
            <date month="July" year="2002"/>
            <abstract>
              <t indent="0">This document defines a date and time format for use in Internet protocols that is a profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="3339"/>
          <seriesInfo name="DOI" value="10.17487/RFC3339"/>
        </reference>
        <reference anchor="RFC4012" target="https://www.rfc-editor.org/info/rfc4012" quoteTitle="true" derivedAnchor="RFC4012">
          <front>
            <title>Routing Policy Specification Language next generation (RPSLng)</title>
            <author fullname="L. Blunk" initials="L." surname="Blunk"/>
            <author fullname="J. Damas" initials="J." surname="Damas"/>
            <author fullname="F. Parent" initials="F." surname="Parent"/>
            <author fullname="A. Robachevsky" initials="A." surname="Robachevsky"/>
            <date month="March" year="2005"/>
            <abstract>
              <t indent="0">This memo introduces a new set of simple extensions to the Routing Policy Specification Language (RPSL), enabling the language to document routing policies for the IPv6 and multicast address families currently used in the Internet. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="4012"/>
          <seriesInfo name="DOI" value="10.17487/RFC4012"/>
        </reference>
        <reference anchor="RFC7464" target="https://www.rfc-editor.org/info/rfc7464" quoteTitle="true" derivedAnchor="RFC7464">
          <front>
            <title>JavaScript Object Notation (JSON) Text Sequences</title>
            <author fullname="N. Williams" initials="N." surname="Williams"/>
            <date month="February" year="2015"/>
            <abstract>
              <t indent="0">This document describes the JavaScript Object Notation (JSON) text sequence format and associated media type "application/json-seq". A JSON text sequence consists of any number of JSON texts, all encoded in UTF-8, each prefixed by an ASCII Record Separator (0x1E), and each ending with an ASCII Line Feed character (0x0A).</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7464"/>
          <seriesInfo name="DOI" value="10.17487/RFC7464"/>
        </reference>
        <reference anchor="RFC7468" target="https://www.rfc-editor.org/info/rfc7468" quoteTitle="true" derivedAnchor="RFC7468">
          <front>
            <title>Textual Encodings of PKIX, PKCS, and CMS Structures</title>
            <author fullname="S. Josefsson" initials="S." surname="Josefsson"/>
            <author fullname="S. Leonard" initials="S." surname="Leonard"/>
            <date month="April" year="2015"/>
            <abstract>
              <t indent="0">This document describes and discusses the textual encodings of the Public-Key Infrastructure X.509 (PKIX), Public-Key Cryptography Standards (PKCS), and Cryptographic Message Syntax (CMS). The textual encodings are well-known, are implemented by several applications and libraries, and are widely deployed. This document articulates the de facto rules by which existing implementations operate and defines them so that future implementations can interoperate.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7468"/>
          <seriesInfo name="DOI" value="10.17487/RFC7468"/>
        </reference>
        <reference anchor="RFC7515" target="https://www.rfc-editor.org/info/rfc7515" quoteTitle="true" derivedAnchor="RFC7515">
          <front>
            <title>JSON Web Signature (JWS)</title>
            <author fullname="M. Jones" initials="M." surname="Jones"/>
            <author fullname="J. Bradley" initials="J." surname="Bradley"/>
            <author fullname="N. Sakimura" initials="N." surname="Sakimura"/>
            <date month="May" year="2015"/>
            <abstract>
              <t indent="0">JSON Web Signature (JWS) represents content secured with digital signatures or Message Authentication Codes (MACs) using JSON-based data structures. Cryptographic algorithms and identifiers for use with this specification are described in the separate JSON Web Algorithms (JWA) specification and an IANA registry defined by that specification. Related encryption capabilities are described in the separate JSON Web Encryption (JWE) specification.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7515"/>
          <seriesInfo name="DOI" value="10.17487/RFC7515"/>
        </reference>
        <reference anchor="RFC7517" target="https://www.rfc-editor.org/info/rfc7517" quoteTitle="true" derivedAnchor="RFC7517">
          <front>
            <title>JSON Web Key (JWK)</title>
            <author fullname="M. Jones" initials="M." surname="Jones"/>
            <date month="May" year="2015"/>
            <abstract>
              <t indent="0">A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. This specification also defines a JWK Set JSON data structure that represents a set of JWKs. Cryptographic algorithms and identifiers for use with this specification are described in the separate JSON Web Algorithms (JWA) specification and IANA registries established by that specification.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7517"/>
          <seriesInfo name="DOI" value="10.17487/RFC7517"/>
        </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="RFC8259" target="https://www.rfc-editor.org/info/rfc8259" quoteTitle="true" derivedAnchor="RFC8259">
          <front>
            <title>The JavaScript Object Notation (JSON) Data Interchange Format</title>
            <author fullname="T. Bray" initials="T." role="editor" surname="Bray"/>
            <date month="December" year="2017"/>
            <abstract>
              <t indent="0">JavaScript Object Notation (JSON) is a lightweight, text-based, language-independent data interchange format. It was derived from the ECMAScript Programming Language Standard. JSON defines a small set of formatting rules for the portable representation of structured data.</t>
              <t indent="0">This document removes inconsistencies with other specifications of JSON, repairs specification errors, and offers experience-based interoperability guidance.</t>
            </abstract>
          </front>
          <seriesInfo name="STD" value="90"/>
          <seriesInfo name="RFC" value="8259"/>
          <seriesInfo name="DOI" value="10.17487/RFC8259"/>
        </reference>
        <reference anchor="RFC9562" target="https://www.rfc-editor.org/info/rfc9562" quoteTitle="true" derivedAnchor="RFC9562">
          <front>
            <title>Universally Unique IDentifiers (UUIDs)</title>
            <author fullname="K. Davis" initials="K." surname="Davis"/>
            <author fullname="B. Peabody" initials="B." surname="Peabody"/>
            <author fullname="P. Leach" initials="P." surname="Leach"/>
            <date month="May" year="2024"/>
            <abstract>
              <t indent="0">This specification defines UUIDs (Universally Unique IDentifiers) --
also known as GUIDs (Globally Unique IDentifiers) -- and a Uniform
Resource Name namespace for UUIDs. A UUID is 128 bits long and is
intended to guarantee uniqueness across space and time. UUIDs were
originally used in the Apollo Network Computing System (NCS), later
in the Open Software Foundation's (OSF's) Distributed Computing
Environment (DCE), and then in Microsoft Windows platforms.</t>
              <t indent="0">This specification is derived from the OSF DCE specification with the
kind permission of the OSF (now known as "The Open Group"). Information from earlier versions of the OSF DCE specification have
been incorporated into this document. This document obsoletes RFC
4122.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9562"/>
          <seriesInfo name="DOI" value="10.17487/RFC9562"/>
        </reference>
        <reference anchor="SHS" target="https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf" quoteTitle="true" derivedAnchor="SHS">
          <front>
            <title>Secure Hash Standard (SHS)</title>
            <author>
              <organization abbrev="NIST" showOnFrontPage="true">National Institute of Standards and Technology</organization>
            </author>
            <date month="August" year="2015"/>
          </front>
          <seriesInfo name="NIST FIPS" value="180-4"/>
          <seriesInfo name="DOI" value="10.6028/NIST.FIPS.180-4"/>
        </reference>
        <referencegroup anchor="STD97" target="https://www.rfc-editor.org/info/std97" derivedAnchor="STD97">
          <reference anchor="RFC9110" target="https://www.rfc-editor.org/info/rfc9110" quoteTitle="true">
            <front>
              <title>HTTP Semantics</title>
              <author fullname="R. Fielding" initials="R." role="editor" surname="Fielding"/>
              <author fullname="M. Nottingham" initials="M." role="editor" surname="Nottingham"/>
              <author fullname="J. Reschke" initials="J." role="editor" surname="Reschke"/>
              <date month="June" year="2022"/>
              <abstract>
                <t indent="0">The Hypertext Transfer Protocol (HTTP) is a stateless application-level protocol for distributed, collaborative, hypertext information systems. This document describes the overall architecture of HTTP, establishes common terminology, and defines aspects of the protocol that are shared by all versions. In this definition are core protocol elements, extensibility mechanisms, and the "http" and "https" Uniform Resource Identifier (URI) schemes.</t>
                <t indent="0">This document updates RFC 3864 and obsoletes RFCs 2818, 7231, 7232, 7233, 7235, 7538, 7615, 7694, and portions of 7230.</t>
              </abstract>
            </front>
            <seriesInfo name="STD" value="97"/>
            <seriesInfo name="RFC" value="9110"/>
            <seriesInfo name="DOI" value="10.17487/RFC9110"/>
          </reference>
        </referencegroup>
      </references>
      <references pn="section-12.2">
        <name slugifiedName="name-informative-references">Informative References</name>
        <reference anchor="NRTMv3" target="https://docs.db.ripe.net/RIPE-Database-Mirror/Access-to-NRTM/" quoteTitle="true" derivedAnchor="NRTMv3">
          <front>
            <title>Access to NRTM</title>
            <author>
              <organization showOnFrontPage="true">RIPE NCC</organization>
            </author>
            <date month="March" year="2026"/>
          </front>
        </reference>
        <reference anchor="RFC5905" target="https://www.rfc-editor.org/info/rfc5905" quoteTitle="true" derivedAnchor="RFC5905">
          <front>
            <title>Network Time Protocol Version 4: Protocol and Algorithms Specification</title>
            <author fullname="D. Mills" initials="D." surname="Mills"/>
            <author fullname="J. Martin" initials="J." role="editor" surname="Martin"/>
            <author fullname="J. Burbank" initials="J." surname="Burbank"/>
            <author fullname="W. Kasch" initials="W." surname="Kasch"/>
            <date month="June" year="2010"/>
            <abstract>
              <t indent="0">The Network Time Protocol (NTP) is widely used to synchronize computer clocks in the Internet. This document describes NTP version 4 (NTPv4), which is backwards compatible with NTP version 3 (NTPv3), described in RFC 1305, as well as previous versions of the protocol. NTPv4 includes a modified protocol header to accommodate the Internet Protocol version 6 address family. NTPv4 includes fundamental improvements in the mitigation and discipline algorithms that extend the potential accuracy to the tens of microseconds with modern workstations and fast LANs. It includes a dynamic server discovery scheme, so that in many cases, specific server configuration is not required. It corrects certain errors in the NTPv3 design and implementation and includes an optional extension mechanism.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="5905"/>
          <seriesInfo name="DOI" value="10.17487/RFC5905"/>
        </reference>
        <reference anchor="RFC6713" target="https://www.rfc-editor.org/info/rfc6713" quoteTitle="true" derivedAnchor="RFC6713">
          <front>
            <title>The 'application/zlib' and 'application/gzip' Media Types</title>
            <author fullname="J. Levine" initials="J." surname="Levine"/>
            <date month="August" year="2012"/>
            <abstract>
              <t indent="0">This document defines the 'application/gzip' and 'application/zlib' media types for compressed data using the gzip and zlib compression formats. This document is not an Internet Standards Track specification; it is published for informational purposes.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="6713"/>
          <seriesInfo name="DOI" value="10.17487/RFC6713"/>
        </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>
    <section numbered="false" removeInRFC="false" toc="include" pn="section-appendix.a">
      <name slugifiedName="name-acknowledgments">Acknowledgments</name>
      <t indent="0" pn="section-appendix.a-1">
      The authors would like to thank
        <contact fullname="George Michaelson"/>, <contact fullname="Shon Huang"/>, <contact fullname="Tim Bruijnzeels"/>, <contact fullname="Mahesh Aggarwal"/>, <contact fullname="Fedor Vompe"/>, <contact fullname="Paul Etchells"/>,
        and <contact fullname="Mohamed Boucadair"/>
      for their helpful review of this document and/or work on implementations.
      The authors would also like to thank
        <contact fullname="Daniele Ceccarelli"/>, <contact fullname="Claudio Allocchio"/>, <contact fullname="Menachem Dodge"/>, <contact fullname="Julian Reschke"/>, <contact fullname="Watson Ladd"/>, and <contact fullname="Paul Kyzivat"/>
      for their reviews during IETF Last Call.
      The authors thank <contact fullname="Gorry Fairhurst"/>, <contact fullname="Andy Newton"/>, <contact fullname="Éric Vyncke"/>, <contact fullname="Mike Bishop"/>, <contact fullname="Deb Cooley"/>, <contact fullname="Roman Danyliw"/>, <contact fullname="Mahesh Jethanandani"/>, <contact fullname="Ketan Talaulikar"/>, <contact fullname="Gunter Van de Velde"/>, <contact fullname="Christopher Inacio"/>, <contact fullname="Jim Guichard"/>, and <contact fullname="Tommy Jensen"/> for the reviews and feedback.
      </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="Sasha Romijn" initials="S." surname="Romijn">
        <organization showOnFrontPage="true">Reliably Coded</organization>
        <address>
          <postal>
            <city>Amsterdam</city>
            <country>Netherlands</country>
          </postal>
          <email>sasha@reliablycoded.nl</email>
          <uri>https://www.reliablycoded.nl/</uri>
        </address>
      </author>
      <author fullname="Job Snijders" initials="J." surname="Snijders">
        <organization abbrev="BSD" showOnFrontPage="true">BSD Software Development</organization>
        <address>
          <postal>
            <city>Amsterdam</city>
            <country>Netherlands</country>
          </postal>
          <email>job@bsd.nl</email>
          <uri>https://www.bsd.nl/</uri>
        </address>
      </author>
      <author fullname="Edward Shryane" initials="E." surname="Shryane">
        <organization showOnFrontPage="true">RIPE NCC</organization>
        <address>
          <postal>
            <city>Amsterdam</city>
            <country>Netherlands</country>
          </postal>
          <email>eshryane@ripe.net</email>
        </address>
      </author>
      <author fullname="Stavros Konstantaras" initials="S." surname="Konstantaras">
        <organization showOnFrontPage="true">AMS-IX</organization>
        <address>
          <postal>
            <city>Amsterdam</city>
            <country>Netherlands</country>
          </postal>
          <email>stavros.konstantaras@ams-ix.net</email>
        </address>
      </author>
    </section>
  </back>
</rfc>
