Internet-Draft Monitoring of RPKI Repositories' Health July 2026
Fu, et al. Expires 21 January 2027 [Page]
Workgroup:
SIDR Operations Working Group
Internet-Draft:
draft-fu-sidrops-rpki-repositories-monitoring-01
Published:
Intended Status:
Standards Track
Expires:
Authors:
Y. Fu
Zhongguancun Laboratory
M. Xu
Tsinghua
Y. Wang
Tsinghua University
J. Zhang
Zhongguancun Laboratory
Y. Zhang
Zhongguancun Laboratory

Operational Monitoring of RPKI Repositories' Health and Safety

Abstract

The Resource Public Key Infrastructure (RPKI) relies on a globally distributed set of repositories to deliver signed routing authorization data to Relying Parties (RPs). Internet Service Providers (ISPs) depend on RPs to collect RPKI objects from distributed repositories and validate them cryptographically, resulting in hundreds of thousands of Validated Route origin authorization Payloads (VRPs). Nevertheless, even with multiple RPs deployed, ISPs have limited insight into the operational health and reliability of each Publication Point (PP). When a large number of RPKI objects change unexpectedly, operators often lack sufficient visibility into individual PPs to determine the source of the changes. Consequently, ISPs cannot easily determine whether these changes are caused by routine updates, malicious behavior, or underlying repository instability.

This document provides operational guidance for monitoring the health and safety of RPKI repositories on a per-publication point basis. It defines measurable indicators related to reachability, availability, and content integrity, and explains how these metrics can be used to detect degraded performance or potentially unsafe repository behavior. The document discusses and provides recommendations for repositories alerting and operational response. The goal is to improve the transparency, operational availability and security of the RPKI ecosystem.

Status of This Memo

This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.

Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."

This Internet-Draft will expire on 21 January 2027.

Table of Contents

1. Introduction

The Resource Public Key Infrastructure (RPKI) architecture is described in [RFC6480]. It defines a framework that represents the allocation hierarchy of IP address space and Autonomous System (AS) numbers, as well as a distributed repository system for the storage and dissemination of the signed objects used to improve routing security. Internet Service Providers (ISPs) and other participants rely on Relying Parties (RPs) to retrieve and validate this published information from the repositories. RP uses rsync protocol and RPKI Repository Delta Protocol (RRDP) protocol for efficient synchronization of repository contents. The rsync protocol and RPKI Repository Delta Protocol (RRDP) are described in [RFC5781] and [RFC8182]. An operational best current practices for deployment and management of an RPKI Publication Server is described in [I-D.ietf-sidrops-publication-server-bcp-profile].

1.1. Requirements Language

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.

2. Problem Statement

The RPKI infrastructure consists of a large and growing number of Publication Points (PPs) distributed across multiple networks, organizations, and geographic regions. Internet Service Providers (ISPs) depend on Relying Parties (RPs) to collect RPKI objects from the distributed PPs and validate them cryptographically, resulting in hundreds of thousands of Validated ROA Payloads (VRPs).

However, even with multiple RPs deployed, ISPs have limited insight into the operational health and reliability of each Publication Point(PP). Because RPs generally treat all repositories uniformly and do not maintain a persistent behavioral profile for each PP. When a large number of RPKI objects change unexpectedly, operators often lack sufficient visibility into individual PPs to determine the source of the changes. Meanwhile, not all PPs are well maintained—some are unreachable, and others contain outdated objects. As a result, ISPs lack clear visibility into the status of each PP.

At present, ISPs lack the ability to distinguish whether changes in RPKI objects are due to routine updates, malicious behavior, or systemic issues within the PPs. In the absence of consistent per-Publication Point (per-PP) monitoring and operational visibility, operators face significant challenges in identifying degraded repositories, correlating incidents across networks, and proactively detecting emerging risks.

This document seeks to address these gaps. It provides operational guidance for monitoring the health and safety of RPKI repositories on a per-PP basis. It identifies measurable indicators related to reachability, availability, content integrity. It describes how these indicators can be used to detect degraded or unsafe repository behavior. The document discusses and provides recommendations for repositories alerting and operational response. The goal is to improve the transparency, operational availability and security of the RPKI ecosystem.

3. Metric Model

3.1. Overview

This section summarizes all metrics defined in this document.

Metrics are divided into three classes:

Base Counters: Primitive observable events. Used for diagnostics and as inputs to derived metrics.

Health Indicators: Ratios or computed values representing instantaneous repository correctness and usability. These indicators SHOULD be used for alerting.

State-Change (Churn) Indicators: Metrics representing differences between successive repository snapshots. These indicators detect abnormal or unexpected publication behavior over time.

Monitoring systems:

MUST implement Base Counters,

MUST compute Health Indicators,

SHOULD compute State-Change Indicators.

3.2. Observation Window

Indicators SHOULD be computed over a configurable time window. Windows MAY be sliding or tumbling. Implementations SHOULD document the window duration.

4. Base Counters

Counters defined in this section are per repository and per transport unless otherwise stated.

4.1. DNS Resolution Counters

attempted_dns_resolutions: Number of DNS resolutions attemps initiated.

successful_dns_resolutions: Number of successful DNS resolutions.

failed_dns_resolutions: Number of failed DNS resolutions.

4.2. Transport Counters

attempted_connections: Number of TCP/TLS connection attempts initiated.

successful_connections: Number of TCP/TLS successful connections.

failed_connections: Number of unsuccessful TCP/TLS connections.

4.3. Synchronization Counters

attempted_syncs: Number of synchronization attempts initiated.

successful_syncs: Number of successful synchronization completed.

failed_syncs: Number of failed synchronization.

4.4. Object Retrieval Counters

attempted_object_fetches: The total number of objects attempted retrieval during repository synchronization.

successful_object_fetches: Number of objects download successful.

failed_object_fetches: Number of objects downloaded failed.

4.5. Validation Counters

total_objects: Number of successfully fetched RPKI objects, including ROAs, certificates, manifests, CRLs, and other signed objects.

valid_objects: Number of valid objects that pass cryptographic and syntactic validation.

invalid_objects: Number of invalid objects that fail cryptographic or syntactic validation.

referenced_objects: Number of objects in the manifest file.

present_referenced_objects: The actual downloaded objects.

4.6. Repository Update Time

observed_repository_update: Observed repository update time.

5. Derived Health Indicators

The indicators defined in this section measure the instantaneous operational health of a repository, including reachability, availability, and integrity.

5.1. Reachability Indicators

5.1.1. DNS Resolution Success Rate (DRSR)

DRSR = successful_dns_resolutions / attempted_dns_resolutions

Measures DNS resolution success rate.

5.1.2. Transport Reachability Rate (TRR)

TRR = successful_connections / attempted_connections

Measures probability that the publication point can be contacted.

5.2. Availability Indicators

5.2.1. Fetch Success Rate (FSR)

FSR = successful_object_fetches / attempted_object_fetches

Measures reliability of object delivery.

5.2.2. Synchronization Success Rate (SSR)

SSR = successful_syncs / attempted_syncs

Measures probability that a complete update can be obtained.

Persistent low values indicate degraded availability.

5.2.3. Update Freshness (UF)

UF = now − last_observed_repository_update

UF measures repository staleness and is time-based rather than a ratio.

5.3. Content Integrity Indicators

5.3.1. Validation Success Rate (VSR)

VSR = valid_objects / total_objects

Indicates cryptographic and syntactic validity.

5.3.2. Object Consistency Ratio (OCR)

OCR = present_referenced_objects / referenced_objects

referenced_objects= files the manifest says must exist

present_referenced_objects= files actually download successfully

5.3.3. Hash Mismatch Rate (HMR)

HMR = hash_mismatches / hash_verifications

This index indicates the proportion of hash verification operations that result in mismatches for RPKI objects, including manifests, certificates, CRLs, and ROAs.

5.4. Alerting Guidance

Monitoring systems SHOULD generate alerts when TRR, SRR, FSR,OCR, HMR falls below a configured threshold value.

6. State-Change and Churn Indicators

6.1. Overview

A repository MAY remain fully reachable and internally consistent while exhibiting abnormal or unsafe publication behavior. Examples include: sudden bulk withdrawal of ROAs, excessive object churn, incomplete or partially applied updates. Such events can materially affect routing outcomes even when health indicators remain nominal.

To detect these conditions, monitoring systems should evaluate state-change indicators—also known as churn indicators—that measure the differences between consecutive repository states. When the change in these indicators exceeds an ISP-configured threshold, the monitoring system sends an alarm.

These indicators provide temporal visibility and enable detection of unexpected or anomalous repository behavior.

6.2. Snapshot Model

After each successful synchronization, a monitoring system SHOULD construct a repository snapshot containing at least:

validated object identifiers,

object hashes,

object types (ROA, certificate, CRL, manifest, etc.),

RRDP session identifiers and serial numbers.

Change indicators are computed by comparing the current snapshot with the most recent prior successful snapshot.

6.3. General Object Churn

6.3.1. Object Change Count (OCC)

OCC = added_objects + removed_objects + modified_objects

added_objects are objects newly observed,

removed_objects are previously observed objects no longer present,

modified_objects are objects whose content hash has changed.

OCC provides a count-based measure of repository churn.

6.3.2. Object Change Ratio (OChR)

OChR = OCC / previous_total_objects

This indicator normalizes churn by repository size and enables comparison across repositories.

Large values MAY indicate: bulk re-publication, tooling errors, storage faults, or abnormal behavior.

Monitoring systems SHOULD track historical baselines for this value.

6.4. ROA Stability Indicators

Because ROAs directly affect route validation outcomes, their stability is particularly important.

6.4.1. ROA Count Delta (RCD)

RCD = added_roas + removed_roas + modified_roas

Large negative values MAY indicate accidental withdrawal

Large positive values MAY indicate bulk reissuance.

6.4.2. ROA Change Ratio (RCR)

RCR = (added_roas + removed_roas + modified_roas) / previous_roa_count

Measures relative ROA churn.

Persistent or sudden spikes SHOULD generate alerts.

6.4.3. ROA Withdrawal Ratio (RWR)

RWR = removed_roas / previous_roa_count

Unexpectedly large withdrawal ratios exceeds the configured threshold by ISP SHOULD send an alarm.

6.5. Certificate and CA Stability Indicators

6.5.1. Certificate Change Ratio (CCR)

CCR = (added_certs + removed_certs + modified_certs) / previous_cert_count

Large values MAY indicate:key rollover, mass reissuance, misconfiguration, or abnormal behavior.

6.5.2. Expired Object Ratio (EOR)

EOR = expired_objects / total_objects

Expired objects SHOULD NOT normally appear in a properly maintained repository.

Values greater than zero SHOULD trigger alerts.

6.5.3. Invalid Object Ratio (IOR)

IOR = invalid_objects / total_objects

Increasing IOR over time MAY indicate publication or signing defects.

6.6. RRDP Publication Continuity

6.6.1. Serial Progression Delta (SPD)

SPD = current_serial − previous_serial

The SPD ≥ 0.

6.6.2. Delta Volume (DV)

DV = number_of_objects_changed_in_rrdp_delta

Large deltas MAY indicate excessive churn.

6.7. Alerting Guidance

Monitoring systems SHOULD generate alarms when: RCR or CCR significantly exceed historical norms, RWR, EOR exceeds an operator-defined threshold, SPD ≤ 0 unexpectedly.

7. Security Considerations

This document defines operational monitoring metrics for assessing the reachability, availability, integrity, and stability of RPKI repositories. It does not modify the RPKI trust model, cryptographic validation procedures, or protocol behavior.

8. IANA Considerations

This document has no IANA actions

9. References

9.1. Normative References

[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, , <https://www.rfc-editor.org/info/rfc2119>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, , <https://www.rfc-editor.org/info/rfc8174>.
[RFC6480]
Lepinski, M. and S. Kent, "An Infrastructure to Support Secure Internet Routing", RFC 6480, DOI 10.17487/RFC6480, , <https://www.rfc-editor.org/info/rfc6480>.
[RFC5781]
Weiler, S., Ward, D., and R. Housley, "The rsync URI Scheme", RFC 5781, DOI 10.17487/RFC5781, , <https://www.rfc-editor.org/info/rfc5781>.
[RFC8182]
Bruijnzeels, T., Muravskiy, O., Weber, B., and R. Austein, "The RPKI Repository Delta Protocol (RRDP)", RFC 8182, DOI 10.17487/RFC8182, , <https://www.rfc-editor.org/info/rfc8182>.

9.2. Informative References

[I-D.ietf-sidrops-publication-server-bcp-profile]
Bruijnzeels, T., Kock, T., Hill, F., and T. Harrison, "RPKI Publication Server Best Current Practices", Work in Progress, Internet-Draft, draft-ietf-sidrops-publication-servere-bcp, , <https://datatracker.ietf.org/doc/draft-ietf-sidrops-publication-server-bcp/05/>.

Authors' Addresses

Yonghong Fu
Zhongguancun Laboratory
Beijing
China
Mingwei Xu
Tsinghua
Beijing
China
Yangyang Wang
Tsinghua University
Beijing
China
Jia Zhang
Zhongguancun Laboratory
Beijing
China
Yuanyuan Zhang
Zhongguancun Laboratory
Beijing
China