- Home
- RFC 10102
RFC 10102: BCP 250: Guidance to Avoid Carrying Resource Public Key Infrastructure (RPKI) Validation States in BGP Path Attributes
- J. Snijders,
- T. Fiebig,
- M. A. Stucchi
Abstract
This document provides guidance to avoid carrying validation states derived from the Resource Public Key Infrastructure (RPKI) in Border Gateway Protocol (BGP) Path Attributes whose change triggers a BGP UPDATE being sent across External BGP (EBGP) sessions. Annotating routes with BGP Path Attributes carried across EBGP sessions to signal validation states may cause needless flooding of BGP UPDATE messages through the global Internet routing system, for example, when Route Origin Authorizations (ROAs) are issued, or are revoked, or when RPKI-To-Router (RTR) sessions are terminated.¶
Operators should ensure RPKI-derived validation states are not signaled in BGP Path Attributes whose change triggers a BGP UPDATE being sent across EBGP sessions. Specifically, operators should not associate BGP Prefix Origin Validation state with BGP routes using any form of BGP Communities carried across EBGP sessions.¶
Status of This Memo
This memo documents an Internet Best Current Practice.¶
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 BCPs is available in Section 2 of RFC 7841.¶
Information about the current status of this document, any
errata, and how to provide feedback on it may be obtained at
https://
Copyright Notice
Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(https://
1. Introduction Skip to TOC
The Resource Public Key Infrastructure (RPKI) [RFC6480] allows for validation of received Border Gateway Protocol (BGP) [RFC4271] routes. By means of a validation process, e.g., BGP Prefix Origin Validation [RFC6811], routers attain locally significant validation states.¶
In the past, some operators and vendors suggested the use of BGP Communities (see [RFC1997] and [RFC8092]) to annotate received routes with validation states local to a router. Some claim that the practice of signaling validation states could be useful, for example, to Internal BGP (IBGP) speakers (e.g., using [RFC8097]), in order to avoid each IBGP speaker having to perform its own BGP Prefix Origin Validation. However, such a practice not only conflicts with core concepts of RPKI but also threatens the stability of networks when those states leak through to External BGP (EBGP) speakers.¶
Annotating a route with a BGP Path Attribute carried across an EBGP session (based on validation states) means that BGP UPDATE messages have to be sent to every neighbor when the aforementioned validation states change. This means that when, for example, Route Origin Authorizations (ROAs) [RFC9582] are issued, or are revoked, or RPKI-To-Router (RTR) [RFC8210] sessions are terminated, new BGP UPDATE messages will have to be sent for all routes that were previously annotated with a BGP Community associated with a different validation state. Furthermore, given that many BGP Communities are carried across EBGP sessions, such a BGP UPDATE might end up propagating through large portions of the Default-Free Zone (DFZ).¶
Hence, this document provides guidance (Section 6) to avoid carrying RPKI-derived validation states in BGP Path Attributes carried across EBGP sessions. Specifically, operators should not associate BGP Prefix Origin Validation results [RFC6811] with BGP routes using community or community-like attributes, including:¶
- BGP Communities [RFC1997]¶
- BGP Extended Communities [RFC4360]¶
- BGP Large Communities [RFC8092]¶
- IPv6 Address Specific BGP Extended Community [RFC5701]¶
Furthermore, this document contains data on the measured current impact of BGP Communities used to signal validation states.¶
Avoiding the use of BGP Communities to signal RPKI-derived validation states prevents BGP UPDATE messages from being flooded into the global Internet routing system.¶
2. Terminology Skip to TOC
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.¶
In this document, the term EBGP refers to a BGP session between different administrative domains.¶
3. Scope Skip to TOC
This document discusses signaling locally significant RPKI validation states through BGP Path Attributes whose change leads to BGP UPDATE messages being sent to EBGP neighbors.
This includes operator-
The guidance in this document applies to all current and future BGP Path Attributes that may be implicitly or explicitly used to signal validation states to EBGP neighbors. Similarly, this guidance also applies to non-ROA validation mechanics based on RPKI (e.g., Autonomous System Provider Authorization (ASPA) [ASPA-PROFILE] and BGPsec [RFC8205]) and any other future validation mechanic built upon the RPKI.¶
In deployment scenarios where an EBGP session is between Autonomous Systems (ASes) within a single administrative domain, the session can be considered "internal" when interpreting this document's guidance.¶
4. Risks of Signaling Validation States to EBGP Neighbors Skip to TOC
This section outlines the risks of signaling RPKI-derived validation states using BGP Communities. While the current description is specific to BGP Communities, the observations hold in a similar way for all attributes that may be added to BGP routes and propagated to EBGP neighbors.¶
4.1. Triggers for Large-Scale Validation Changes Skip to TOC
This section describes examples of how a large number of RPKI ROA changes may occur in a short time, leading to the generation of large numbers of BGP UPDATE messages.¶
4.1.1. ROA Issuance Skip to TOC
Large-scale ROA issuance events should be comparatively rare for individual networks. However, several cases exist where issuance by individual operators or (malicious) coordinated issuance of ROAs by multiple operators may lead to high route churn, triggering a continuous flow of BGP UPDATE messages caused by operators using BGP Path Attributes carried across EBGP sessions to signal validation states.¶
Specifically:¶
- When an operator issues new ROAs for their IP address blocks, possibly by issuing one ROA with a non-minimal maxLength (Section 4.3.2.2 of [RFC9582]) covering a large number of prefixes. This may also occur when incorrectly migrating to minimally covering ROAs [RFC9319]. One example of such a circumstance is when the previous ROA is first revoked (see Section 4.1.2) and the new ROAs are issued only after this revocation has been propagated (due to an operational error or a bug in the issuance pipeline).¶
- When multiple Certification Authorities (CAs) coordinate to issue new ROAs at the same time.¶
- When a CA has been unavailable or unable to publish for some time but then publishes all updates at once, or (as unlikely as it is) if a key rollover encounters issues.¶
4.1.2. ROA Revocation Skip to TOC
Large-scale ROA revocation events should be comparatively rare for individual networks. However, several cases exist where revocations by individual operators or (malicious) coordinated revocation of ROAs by multiple operators may lead to high route churn, triggering a continuous flow of BGP UPDATE messages caused by operators signaling validation states using BGP Path Attributes carried across EBGP sessions.¶
Specifically:¶
- When one large operator revokes all ROAs for their IP address blocks at once. This can occur when migrating to minimally covering ROAs [RFC9319] or when revoking one ROA with a long maxLength covering a large number of prefixes.¶
- When multiple CAs coordinate to revoke ROAs at the same time.¶
- When a CA becomes unavailable or unable to publish for some time, e.g., due to the CA expiring (see [CA-Outage1], [CA-Outage2], [CA-Outage3], and [CA-Outage4]).¶
4.1.3. Loss of Cached Validated Payload Information Skip to TOC
Similar to the issuance and revocation of ROAs, the validation pipeline of a Relying Party (RP) may encounter issues. Issues may occur on the cache side (Section 4.1.3.1) or on the router side (Section 4.1.3.2), with network connectivity issues having a specific impact on either of the two.¶
While, in general, implementations should not have bugs, operators should not make mistakes, and the network should be reliable, this is usually not the case in practice. Instead, the worst case of sudden and unexpected, yet unintentional, loss of cached validated payloads is an event that, however unlikely in a specific system, can and will happen. Hence, systems should be resilient in case of unexpected issues and should not exacerbate issues by inadvertently contributing to BGP UPDATE floods.¶
Below, examples of events that may lead to the validation state of routes in one or multiple routers of an operator changing from Valid to NotFound (Section 2 of [RFC6811]) are provided for both categories.
These lists are for illustrative purposes and are not exhaustive.¶
4.1.3.1. Potential Issues with a Cache
The following events may impact a cache's ability to provide validated payload information to routers:¶
- The RTR service may have to temporarily be taken offline by the RP operator for maintenance. While operators should, in general, take care to provision sufficient redundancy, critical vulnerabilities may necessitate the immediate simultaneous shutdown of all RTR instances.¶
- A cache may crash due to bugs when ingesting unexpected data from the RPKI or run into performance issues due to insufficient available memory or limited I/O performance on the host. In the worst case, especially memory issues can lead to a flapping cache, for example, when the system runs out of memory after a few minutes of transmitting validated payloads to routers.¶
- Validation state may lapse due to issues with time synchronization. For example, the clock of the cache may drift significantly, causing certificates to be considered invalid.¶
- The cache may lose its network connectivity in general or to specific CAs. While, in general, the cache server should be able to temporarily operate from locally stored non-expired data, an operator may have to shut down the cache in such a case to prevent dropping prefixes as invalid due to stale data.¶
4.1.3.2. Potential Ingestion Issues with a Router
Examples of encountered issues are:¶
-
An RTR client, especially when implemented as a dedicated daemon, may fail to start or may terminate when receiving unexpected data.
This is particularly problematic if it leads to a flapping client.
Flapping may be caused by a bug in the handling of incremental updates that leads to a crash. In this case, even though the initial retrieval is successful, each subsequent crash will cause routes to flap between
ValidandNotFound.¶ - A misconfiguration may impact a router's ability to communicate with the RTR service. For example, an RTR client may lose its credentials or may not receive updated credentials in time when these are changed, or the address of the RTR service changes and is not updated on the router in time.¶
-
An RTR client may lose network connectivity to the RTR service.
Generally, caches should prevent this event from causing an immediate impact on the RTR service.
However, a flapping network connection with frequent interruptions may lead to unexpected RTR client behavior and cache invalidation.
Similarly, after cache expiry, routes will change from
ValidtoNotFound.¶ -
As an extension of the previous point, multiple operators might use one central RTR service hosted by an external party or depend on a similar cache, which becomes unavailable (e.g., due to maintenance or an outage).
If local instances are not able to handle the loss of this external service without changing validation states, routes will change local validation states from
ValidtoNotFound. (Loss of external service can be handled by serving from cache, but even this technique fails if the cached information expires.) Naturally, the negative impact in such a case is significantly larger than if each operator runs their own cache.¶
4.1.4. Outage Scenario Summary Skip to TOC
The above non-exhaustive listing suggests that issues in general operations, CA operations, and RPKI cache implementations are simply unavoidable. Hence, operators have to plan and design accordingly.¶
4.2. Scaling Issues Skip to TOC
In the case of BGP Prefix Origin Validation [RFC6811], for each change in the validation state of a route, in an AS in which the local routing policy sets a BGP Community based on the validation state, routers would need to send BGP UPDATE messages for more than half of the global Internet routing table if the validation state changes to NotFound.
The reverse case would also be true for every new ROA created by the address space holders: a new BGP UPDATE would be generated, as the validation state would change to Valid.
Similar scaling concerns apply to other RPKI-derived validation mechanisms, such as the one described in [ASPA].¶
Furthermore, adding attributes to routes increases their size and memory consumption in the Routing Information Base of BGP routers. Given the continuous growth of the global routing table, operators should, in general, be conservative regarding the additional information they add to routes.¶
4.3. Flooding and Cascading of BGP UPDATE Messages Skip to TOC
The aforementioned scaling issues are not confined to single BGP UPDATE events. Instead, changes in validation state may lead to floods and/or cascades of BGP UPDATE messages throughout the Internet.¶
4.3.1. Flooding of BGP UPDATE Messages Skip to TOC
Flooding events are caused by an individual operator losing validation states.
If that operator annotates validation states using BGP Communities, the AS will send updates to its customers for all routes that changed from Valid to NotFound, as well as updates to its providers for routes received from customers.¶
Following an outage affecting RPKI service Section 4.1, such convergence events represent a significant burden, given that, at the time of writing, more than half the global Internet routing table [CIDR_
4.3.2. Cascading of BGP UPDATE Messages Skip to TOC
Some events that are not specific to one operator can also cascade for ASes annotating validation states using BGP Communities. These events might include a malicious revocation of a ROA, loss of a major CA, or unexpected downtime of a major centralized RTR service. Given that routers' views of the RPKI with RTR are only loosely consistent, BGP UPDATE messages may cascade, such that one event affecting validation states may actually trigger multiple subsequent BGP UPDATE floods.¶
Assume, for example, that AS65536 is a customer of AS65537 (both annotating validation states with BGP Communities and using a 300-second RTR cycle) and that a centralized RTR service fails. In this example, AS65536 has its routers updated from that cache one second before the service goes down, while AS65537 is due for a refresh one second thereafter.¶
This means that one second after the RTR service goes down, AS65537 triggers a BGP UPDATE flood towards its customer cone. AS65536 ingests and propagates these BGP UPDATE messages towards its own customer cone as well.¶
When, roughly 300 seconds later, AS65536 also fails to disseminate validated payload information, the community set by AS65536 changes again for ROA-covered routes, triggering a BGP UPDATE flood that propagates further.¶
Even if either or both of AS65536 and AS65537 use a cache after RTR expiry, the underlying issue would not change, assuming the RTR service downtime extends beyond the cache TTL. Assuming a 30-minute cache TTL, both ASes using a cache would only delay the cascading event by 30 minutes. If only one of the two uses a cache, the two flood events would be moved further apart. However, the overall issue of two independent floods due to one event would remain.¶
4.4. Observed Data Skip to TOC
In February 2024, a data-gathering initiative [Side-Effect] reported that between 8% and 10% of BGP UPDATE messages seen on the Routing Information Service (RIS) contained publicly known communities from large ISPs signaling either NotFound or Valid BGP Prefix Origin Validation results. The study also demonstrated that the creation or removal of a ROA object triggered a chain of updates over a period of approximately one hour following the change.¶
Such a high percentage of unnecessary BGP UPDATE messages constitutes a considerable level of noise, impacting the capacity of the global Internet routing system while generating load on router CPUs and occupying more RAM than necessary. Containing this information within the administrative boundaries of a single AS helps reduce the burden on the rest of the global Internet routing system, reducing workload and noise.¶
Please note that this data stems from a point-in-time measurement and may be subject to change in the future.¶
4.5. Lacking Benefit of Signaling Validation States Skip to TOC
RTR has been developed to communicate validated payload information to routers. BGP Path Attributes are not signed and provide no assurance against third parties adding them. While BGP Communities might be filtered at a network edge, this does not fix the problem of BGP Path Attributes being added in IBGP or EBGP. In contrast, using RTR provides direct information that can be used to secure BGP Path Attributes.¶
Given that BGP Path Attributes carried across EBGP sessions are not signed, they provide even less information to other parties except introspection into internal validation mechanics of an AS.
Crucially, such attributes provide no actionable information for EBGP neighbors.
If an AS performs RPKI-based validation and enforcement (e.g., BGP Prefix Origin Validation), then Invalid routes would never be imported and, hence, never be sent to neighbors.
Therefore, the argument that exposing validation states through, for example, BGP Communities enables customers to filter Invalid routes is moot, as the only routes a customer should see are NotFound and Valid.¶
5. Advantages of Dissociating Validation States and BGP Path Attributes Skip to TOC
As outlined in Section 4, signaling validation states through BGP Path Attributes carried across EBGP sessions poses risks to the stability of the global Internet routing system. Therefore, not signaling validation states has tangible benefits, specifically:¶
- Reduction of memory consumption on customer- and peer-facing Provider Edge (PE) routers (fewer BGP Communities means less memory pressure).¶
- No effect on the age of a BGP route when a ROA or ASPA is issued or revoked.¶
- No need to resend, e.g., more than 850,000 BGP routes to BGP neighbors (an operator's own customer cone to peers and providers, and the full table to customers) if the RPKI cache crashes and RTR sessions are terminated or if flaps in validation are caused by other events. This corresponds to point-in-time IPv4/IPv6 combined data as of mid-2026, based on a global Internet routing table size of around 1,300,000 prefixes, of which roughly 65% are covered by ROAs.¶
6. Guidance Skip to TOC
Operators MUST NOT signal RPKI-derived validation states using BGP Path Attributes carried over EBGP sessions across administrative boundaries.¶
This document acknowledges that specific operational requirements, such as a BGP implementation used by an operator still depending on annotating RPKI-derived validation states using BGP Path Attributes, may necessitate using BGP Path Attributes to signal validation states between IBGP speakers within the same AS. If this is the case, the dependent operator MUST ensure that these attributes are removed before announcing Network Layer Reachability Information (NLRI) to EBGP neighbors. Depending on the supported functionality of the BGP implementations in use in a given AS, removal of the aforementioned attributes may not be consistently possible across the AS, leading to the conditions this document discusses.¶
7. Operational Considerations Skip to TOC
BGP routers participating in the global Internet routing system may not be equipped to handle BGP message churn in all directions at global scale, especially if routing churn cascades, persists, or repeats periodically. Following the guidance in Section 6 allows operators to enhance the stability of local routing tables and, in particular, the global Internet routing system.¶
8. Security Considerations Skip to TOC
BGP is not guaranteed to converge, and the view of the global RPKI within an individual administrative domain is only loosely consistent. External validation states annotated in a received NLRI may depend on a different view of the RPKI than the one in the local administrative domain, or the NLRI itself may be several hours old. Hence, any purported validation states contained in a received route announcement would only have significance in the sender's own local scope.¶
Additionally, the use of BGP Path Attributes carried across EBGP sessions to signal RPKI-derived validation states may enable attackers to cause notable route churn. This can be accomplished by an attacker issuing and revoking signed objects (e.g., ROAs for their prefixes) or by the attacker continuously altering such attributes used to signal RPKI-derived validation states for NLRI they re-advertise. The latter is possible as NLRI contains no information allowing an ingesting party to validate the authenticity and integrity of the aforementioned attributes.¶
9. IANA Considerations Skip to TOC
This document has no IANA actions.¶
10. References Skip to TOC
10.1. Normative References Skip to TOC
- [RFC1997]
-
Chandra, R., Traina, P., and T. Li, "BGP Communities Attribute", RFC 1997, DOI 10.17487
/RFC1997 , , <https://www >..rfc- editor .org /info /rfc1997 - [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 - [RFC4271]
-
Rekhter, Y., Ed., Li, T., Ed., and S. Hares, Ed., "A Border Gateway Protocol 4 (BGP-4)", RFC 4271, DOI 10.17487
/RFC4271 , , <https://www >..rfc- editor .org /info /rfc4271 - [RFC4360]
-
Sangli, S., Tappan, D., and Y. Rekhter, "BGP Extended Communities Attribute", RFC 4360, DOI 10.17487
/RFC4360 , , <https://www >..rfc- editor .org /info /rfc4360 - [RFC5701]
-
Rekhter, Y., "IPv6 Address Specific BGP Extended Community Attribute", RFC 5701, DOI 10.17487
/RFC5701 , , <https://www >..rfc- editor .org /info /rfc5701 - [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 - [RFC6811]
-
Mohapatra, P., Scudder, J., Ward, D., Bush, R., and R. Austein, "BGP Prefix Origin Validation", RFC 6811, DOI 10.17487
/RFC6811 , , <https://www >..rfc- editor .org /info /rfc6811 - [RFC8092]
-
Heitz, J., Ed., Snijders, J., Ed., Patel, K., Bagdonas, I., and N. Hilliard, "BGP Large Communities Attribute", RFC 8092, DOI 10.17487
/RFC8092 , , <https://www >..rfc- editor .org /info /rfc8092 - [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 - [RFC8210]
-
Bush, R. and R. Austein, "The Resource Public Key Infrastructure (RPKI) to Router Protocol, Version 1", RFC 8210, DOI 10.17487
/RFC8210 , , <https://www >..rfc- editor .org /info /rfc8210
10.2. Informative References Skip to TOC
- [ASPA]
-
Azimov, A., Bogomazov, E., Bush, R., Patel, K., Snijders, J., and K. Sriram, "BGP AS_
PATH Verification Based on Autonomous System Provider Authorization (ASPA) Objects" , Work in Progress, Internet-Draft, draft- , , <https://ietf- sidrops- aspa- verification-31 datatracker >..ietf .org /doc /html /draft- ietf- sidrops- aspa- verification-31 - [ASPA-PROFILE]
-
Snijders, J., Azimov, A., Uskov, E., Bush, R., Housley, R., and B. Maddison, "A Profile for Autonomous System Provider Authorization", Work in Progress, Internet-
Draft, draft- , , <https://ietf- sidrops- aspa- profile-31 datatracker >..ietf .org /doc /html /draft- ietf- sidrops- aspa- profile-31 - [CA-Outage1]
-
ARIN, "RPKI Service Notice Update", , <https://
www >..arin .net /announcements /20200813/ - [CA-Outage2]
-
de Kock, T., "Issue affecting rsync RPKI repository fetching", message to the RIPE Routing Working Group mailing list, , <https://
www >..ripe .net /ripe /mail /archives /routing-wg /2021- April /004314 .html - [CA-Outage3]
-
Snijders, J., "problemas con el TA de RPKI de LACNIC", message to the Latin America and Caribbean Region Network Operators Group mailing list, , <https://
mail >..lacnic .net /pipermail /lacnog /2023- April /009471 .html - [CA-Outage4]
-
Snijders, J., "AFRINIC RPKI VRP graph for November 2023 - heavy fluctuations affecting 2 members", message to the AFRINIC Database Working Group mailing list, , <https://
lists >..afrinic .net /pipermail /dbwg /2023- November /000493 .html - [CIDR_
Report] -
Huston, G., "CIDR REPORT", , <https://
www >..cidr- report .org /as2.0/ - [How-to-break]
-
Snijders, J., "How to break the Internet: a talk about outages that never happened", CERN Academic Training Lecture Regular Programme; 2021-2022, , <https://
cds >..cern .ch /record /2805326 - [NIST]
-
NIST, "NIST RPKI Monitor", , <https://
rpki- >.monitor .antd .nist .gov/ - [RFC8097]
-
Mohapatra, P., Patel, K., Scudder, J., Ward, D., and R. Bush, "BGP Prefix Origin Validation State Extended Community", RFC 8097, DOI 10.17487
/RFC8097 , , <https://www >..rfc- editor .org /info /rfc8097 - [RFC8205]
-
Lepinski, M., Ed. and K. Sriram, Ed., "BGPsec Protocol Specification", RFC 8205, DOI 10.17487
/RFC8205 , , <https://www >..rfc- editor .org /info /rfc8205 - [RFC9319]
-
Gilad, Y., Goldberg, S., Sriram, K., Snijders, J., and B. Maddison, "The Use of maxLength in the Resource Public Key Infrastructure (RPKI)", BCP 185, RFC 9319, DOI 10.17487
/RFC9319 , , <https://www >..rfc- editor .org /info /rfc9319 - [RFC9582]
-
Snijders, J., Maddison, B., Lepinski, M., Kong, D., and S. Kent, "A Profile for Route Origin Authorizations (ROAs)", RFC 9582, DOI 10.17487
/RFC9582 , , <https://www >..rfc- editor .org /info /rfc9582 - [Side-Effect]
-
Stucchi, M., "A BGP Side Effect of RPKI", , <https://
labs >..ripe .net /author /stucchimax /a- bgp- side- effect- of- rpki/
Acknowledgements Skip to TOC
The authors would like to thank Aaron Groom, Wouter Prins, Gunnar Guðvarðarson, Nick Hilliard, William McCall, Theo Buehler, Jeffrey Haas, Luigi Iannone, Mohamed Boucadair, Scott Kelly, Susan Hares, John Scudder, Gunter Van de Velde, Donald Sharp, Mahesh Jethanandani, Ketan Talaulikar, and Henry Thompson for their helpful review of this document.¶