RPKI ROV Deployment Reaches Major Milestone

May 8, 2024

News

RPKI ROV Deployment Reaches Major Milestone

A Brief Review: The Latest RPKI ROV Deployment Metrics

by Doug Madory

BGP experts Doug Madory of Kentik and Job Snijders of Fastly review the latest RPKI ROV deployment metrics in light of a major milestone.

May 1, 2024 — Internet routing security has passed a significant milestone! For the first time in the history of RPKI (Resource Public Key Infrastructure), the majority of IPv4 routes in the global routing table, are covered by Route Origin Authorizations (ROAs), according to the NIST RPKI Monitor. IPv6 crossed this milestone late last year.

rpki-rov-analysis-2024

In light of this milestone, let’s take the opportunity to update the figures we've been publishing on adopting the RPKI ROV (Route Origin Validation) in recent years.

It is widely known that RPKI ROV remains the best defense against accidental BGP hijacks and origination leaks. For ROV to do its job (rejecting RPKI-invalid routes), two steps must be taken:

1. ROAs must be created.

2. ASes must reject routes that aren't consistent with the ROAs.

The first part of this analysis began when we explored the first step of ROV: ROA creation. Two years ago at NANOG 84, Doug presented his analysis, which showed that we were, in fact, farther along in ROA creation than could be ascertained by analyzing BGP alone. Utilizing Kentik's aggregate NetFlow, he revealed that most traffic (measured in bits/sec) was heading to routes with ROAs, despite only one-third of BGP routes having ROAs.

 

Ultimate Guide to BGP Routing

An effective BGP configuration is pivotal to controlling your organization's online destiny. Learn the basics and evolution of BGP.

This discrepancy was because major content providers and eyeball networks had completed RPKI deployments in recent years, accounting for a disproportionate share of internet traffic volume. Of course, traffic volume isn't the only criterion for achievement—there is plenty of critical but not voluminous traffic (e.g., DNS). The idea was to provide another dimension to consider our progress in deploying RPKI ROV.

To measure the second step of ROV (rejection of invalids), we looked at the differences in propagation based on a route's RPKI evaluation. At the time, the conclusion was that invalid routes could achieve a propagation no greater than 50% of the BGP sources in Routeviews, the public BGP repository from the University of Oregon, now managed by the Network Startup Resource Center. Often, invalids are propagated far less than 50%—it all depends on the upstreams involved.

The dramatic reduction in the propagation of RPKI-invalid routes can be primarily attributed to the tier-1 backbone providers that reject invalids. These providers cast a long shadow with their outsized influence on internet routing. Regardless, the reduction in propagation is RPKI ROV doing its thing: suppressing problematic routes so they don't cause disruption.

ROA (Route Origin Authorization) Creation Update

As mentioned above, over 50% of IPv4 routes in the global routing table now have ROAs and are evaluated as valid (with IPv6 at 52%). Let's check what that means for Kentik's aggregate NetFlow.

According to our analysis two years ago, roughly one-third of routes had ROAs, and just over 50% of internet traffic was "valid" (traffic to routes evaluated as valid in bits/sec). Now, with over half of IPv4 routes having ROAs, our current aggregate NetFlow reveals that a whopping 70.3% of internet traffic is valid!

internet-traffic-rpki-202405

How much higher can this metric go? It remains to be seen. As depicted below in another NIST diagram, the upward slope of the percentage of ROA routes has remained remarkably steady for the past four years. We will eventually see the slope flatten out as the number of easy wins begins to dwindle. However, it is essential to recognize the progress made to date.

rpki-rov-history

Invalid Route Propagation Update

The aforementioned progress in creating ROAs is useless if networks are not rejecting RPKI-invalid BGP routes. So, the next step in understanding where we are at with RPKI ROV adoption is to better understand the degree to which the Internet rejects RPKI-invalid routes.

Among the Internet's largest transit providers (i.e., transit-free), all but a couple were rejecting RPKI-invalid routes when we published our post, How much does RPKI ROV reduce the propagation of invalid routes? As a result, we concluded that "the evaluation of a route as invalid reduces its propagation by anywhere between one half to two thirds."

Two years later, we can explore how this metric has evolved over this period. Using historical RPKI data made available via Job's RPKI views site and BGP routing data from Routeviews, we evaluated the IPv4 global routing table every month going back to the beginning of 2022 to determine how the propagation of RPKI-invalid routes has changed over time.

In this methodology, we measure a route's propagation by counting how many Routeviews vantage points have the route in their tables. More vantage points mean greater propagation. For more explanation on this approach, see our invalid route propagation analysis.

The graphic below shows the average number of Routeviews vantage points for each RPKI-invalid route over time. We only include routes seen by at least ten vantage points to avoid internal routes shared with Routeviews vantage points. At the beginning of the plot, we identified 4,978 RPKI-invalid routes that were seen, on average, by 82.5 vantage points. In the last data point from April 1, 2024, we observe 4,211 RPKI-invalid routes seen by 62.5 vantage points. Note that we used a well-known globally routed prefix (Google's 8.8.8.0/24) as a control prefix for the effects of temporary changes in the count of Routeviews vantage points.

average-propagation-rpki-invalids

The main challenge to this type of analysis is that it is quite noisy. The set of persistently RPKI-invalid routes does not stay constant, and propagation is heavily influenced by the providers transiting a route. Those challenges notwithstanding, the analysis above shows a 24% decline in the propagation of RPKI-invalid routes since the beginning of 2022.

To explore this phenomenon further, we can examine the routing of intentionally RPKI-invalid routes over time and see that they also experience a similar decline in propagation.

RIPE NCC announces numerous "Routing Beacons" for measurement purposes. Among these are intentionally RPKI-invalid routes (and RPKI-valid for a control). Not to be outdone, Job also announces RPKI-invalid routes along with a control route from his network, AS15562.

Below is a graphic displaying the Routeviews vantage point count for each measurement route over time. The plots corresponding to the RPKI-invalid routes appear in the lower portion of the graphs, in keeping with our observation that RPKI-invalid routes propagate significantly less.

routeviews-graphs

The three plots in this graphic show a noticeable decline in the number of vantage points observing the various RPKI-invalid routes. This decline matches the drop in the average number of vantage points observing any given RPKI route from earlier.

Based on this analysis, I have one final observation. In the panel on the right ("Job's Beacons"), there are two RPKI-invalid routes with slightly differing degrees of propagation.

209.24.0.0/24 (green) has its ROA published via the ARIN Trust Anchor Locator (TAL), while 194.32.71.0/24 (orange) is reachable via the RIPE TAL. A TAL is a file with a public key used by Relying Parties to retrieve RPKI data from a repository.

The likely issue is that using the ARIN TAL requires agreeing to a lengthy Relying Party Agreement, which some providers refuse. As a result, ROAs published by ARIN are seen by slightly fewer networks that reject RPKI-invalid routes, decreasing the efficacy of RPKI for ARIN-managed IP space.

ARIN's strong indemnification clause stems from their worry about being sued because of something that happens as a result of the data they publish in the RPKI. Professors Christopher S. Yoo and David A. Wishnick of the University of Pennsylvania covered this obstacle to RPKI ROV adoption in a 2019 academic article, Lowering Legal Barriers to RPKI Adoption.

But alas, let's get back to the progress we're seeing in rejecting RPKI-invalids.

At the beginning of this section, we mentioned how all but two transit-free providers were rejecting RPKI-invalid routes. The other milestone this past month was that that number dropped to just one as US telecom operator Zayo (AS6461) began rejecting RPKI-invalid routes from its customers.

In 2022, Zayo announced that it had begun rejecting RPKI-invalids from its settlement-free peers. However, the impact was relatively minor since nearly all of its big peers were already rejecting those routes.

However, on April 1, we saw AS6461 begin rejecting RPKI invalids from customers for the first time. In the Kentik visualization below, RPKI invalid route 103.36.106.0/24 stopped being transited by AS6461 at 16:24 UTC.

rpji-invalid-as6461

The rollout of Zayo's rejection of RPKI invalids was done in phases, and a couple of weeks later, we started seeing other parts of their global network rejecting RPKI invalids. At 18:54 UTC on April 12, we observed AS6461 begin rejecting RIPE's RPKI invalid beacons, 93.175.147.0/24 and 2001:7fb:fd03::/48, for the first time.

ripe-rpki-beacon

Once completed, we expect Zayo's rejection of RPKI-invalid routes from its customer base to continue to lower the propagation of these problematic routes, reducing the risk of traffic disruption or misdirection due to many routing mishaps.

And finally, for anyone still skeptical about the degree to which invalid routes are being rejected, may we direct your attention to the Orange España outage in January. I summarized the incident in a blog post published the day after the hack.

Using a password found in a public leak of stolen credentials, a hacker could log into Orange España's RIPE NCC portal using the password "ripeadmin." Oops! Once in, this individual altered Orange España's RPKI configuration, rendering many of its BGP routes RPKI-invalid.

The wielding of RPKI as a tool for denial of service was only possible due to the pervasive extent to which ASNs reject RPKI-invalid routes.

rpki-orange-espana

Propagation for an Orange España route dropped to less than 20% during the attack.

Benefits of Deploying RPKI

In our blog post from one year ago, we made the following bold prediction:

If we assume steady growth of the share of BGP routes with ROAs, it should become the majority case about a year from now (May 2024). Mark your calendars! 

rpki-rov-trend

In December, we polled fellow BGP nerds on Twitter/X and LinkedIn when they believed we would hit this mark, and they were decidedly more pessimistic than the prediction above:

li-poll

The progress detailed in this blog post was years in the making and involved the dedicated efforts of hundreds of engineers at dozens of companies. Improving the security of the global internet routing system is a large task and will continue to be a years-long effort.

Each of the two lines of analysis in this post should motivate additional networks to deploy RPKI ROV.

1. Reject RPKI-invalid BGP routes on EBGP sessions. Most internet routes are covered by ROAs (including a supermajority of traffic), so network operators should reject RPKI-invalid routes to avoid mistakenly egressing customer traffic towards mis-originated routes.

2. Create ROAs. And given the scale to which RPKI-invalid routes are suppressed, it would benefit resource holders to create ROAs for their address ranges to enable networks worldwide to reject mis-originated routes automatically.

Networks that do so enjoy immediate benefits!

However, RPKI ROV only solves some issues surrounding internet routing security. This is only an opening salvo towards addressing the various "determined adversary" scenarios best characterized by the recent attacks against cryptocurrency services. These attacks take advantage of existing weaknesses in internet security that we will need to work to limit by building off the progress made by routing security mechanisms like RPKI ROV.


job

Job Snijders

Job Snijders is a principal engineer at Fastly where he analyses and architects global networks for future growth. Prior to this role, Job led routing security initiatives at NTT Ltd's Global IP Network. Job has been actively involved in the Internet community in both an operational and engineering capacity, and is a frequent presenter at network operator meetings such as RIPE, ITNOG, DKNOG, NANOG, APRICOT and NLNOG. Job co-chairs the IETF GROW and RIPE Routing working group, is director of the Route Server Support Foundation, and vice-president of PeeringDB. Job also is an OpenBSD developer.

Share:


doug-2

Doug Madory

Doug Madory is the director of internet analysis for Kentik where he works on internet infrastructure analysis. The Washington Post dubbed him “The Man who can see the Internet” for his reputation in identifying significant developments in the global layout of the internet. Doug is regularly quoted by major news outlets about developments ranging from national blackouts to BGP hijacks to the activation of submarine cables. Prior to Kentik, he was the lead analyst for Oracle’s internet intelligence team (formerly Dyn Research and Renesys).

All Author Posts

Recent Articles

May 15, 2024 • NANOG TV

Meet NANOG’s New Executive Director
An interview with Jonathan Black

 

Learn More

May 8, 2024 • News

RPKI ROV Deployment Reaches Major Milestone
A Brief Review: The Latest RPKI ROV Deployment Metrics

May 1, 2024 — Internet routing security has passed a significant milestone! For the first time in the history of RPKI (Resource Public Key Infrastructure), the majority …

Learn More

April 18, 2024 • Stories

Career Stories: “With Great Risk Comes Great Reward”
A (Tech) Road Less Traveled with ISC's CEO Jeff Osborn

"When you're a kid working with venture capitalists, everybody talks about taking their money and running to a tropical island…and nobody ever does. But I did," Jeff Osb…

Learn More