| RFC 10102 | Avoid RPKI States in BGP | November 2026 |
| Snijders, et al. | Best Current Practice | [Page] |
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.¶
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://www.rfc-editor.org/info/rfc10102.¶
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://trustee.ietf.org/license-info) 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.¶
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:¶
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.¶
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.¶
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-specific BGP Communities to signal validation states, as well as any current or future standardized well-known BGP Communities denoting validation states.¶
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.¶
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.¶
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.¶
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:¶
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:¶
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.¶
The following events may impact a cache's ability to provide validated payload information to routers:¶
Examples of encountered issues are:¶
Valid and NotFound.¶
Valid to NotFound.¶
Valid to NotFound.
(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.¶
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.¶
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.¶
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.¶
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_Report] is covered by RPKI ROAs [NIST]. See [How-to-break] for an elaboration on this phenomenon.¶
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.¶
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.¶
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.¶
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:¶
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.¶
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.¶
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.¶
This document has no IANA actions.¶
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.¶