SRv6: Is There Anybody Out There?

Victor-Alexandru Padurean, Oliver Gasser, Randy Bush, Anja Feldmann

TL;DR

Despite significant industry hype and claims of widespread adoption, Segment Routing over IPv6 (SRv6) is virtually invisible on the public internet. Through a combination of network emulation, BGP data mining, and massive traceroute campaigns, researchers found no empirical evidence of SRv6 leakage, suggesting that either deployments are strictly internal or operators are successfully following "best practice" security filtering.

What Problem Does This Paper Address?

Segment Routing (SR) is a modern source-routing architecture that allows a headend node to steer a packet through a specific path of "segments" (nodes or functions). The IPv6 implementation, SRv6, is particularly attractive because it eliminates the need for complex protocols like MPLS, encoding instructions directly into IPv6 extension headers.

However, SRv6 is a double-edged sword. While it offers incredible flexibility for traffic engineering and 5G services, it poses significant security risks if Segment Routing Headers (SRHs) leak outside a controlled administrative domain. Attackers could potentially use leaked headers to bypass firewalls or map internal network topologies. This paper asks a fundamental question: Is SRv6 actually being used in the wild, and if so, is it leaking sensitive information?

Methods

The authors employed a three-pronged approach to hunt for SRv6:

  1. Controlled Emulation: Using IPMininet, they simulated a multi-AS environment to determine how SRv6 behaves. They tested two modes: H.Encap (encapsulation) and H.Insert (inline insertion). They discovered that H.Insert mode is "loud"—it leaks SRH information in ICMPv6 "Time Exceeded" messages during traceroutes.
  2. BGP Data Mining: They analyzed data from 10 major BGP route collectors (RIPE RIS and RouteViews). They searched for specific "Color Extended Communities" and path attributes (like BGP Prefix-SID or BGP-LS) that are standard indicators of SRv6 signaling between networks.
  3. Active Probing (Traceroute): They conducted large-scale traceroute campaigns using a modified version of Yarrp. They targeted three groups: a 10-million-address IPv6 hitlist, prefixes belonging to "SR-suspect" companies (those claiming to use SRv6, like SoftBank and Iliad), and all BGP-announced IPv6 prefixes.

Datasets

  • BGP Archives: Data from September 2021 across 10 collectors (rv2, rv4, rrc00, etc.).
  • IPv6 Hitlist: A random sample of 10 million responsive IPv6 addresses.
  • SR-Suspect AS List: AS numbers for companies publicly claiming SRv6 deployment (e.g., SoftBank, Line Corp, China Unicom, CERNET2).
  • PeeringDB & BGPView: Used to map organizations to their respective IPv6 prefixes.

Key Insights and Ideas

  • The "Inline" Leak: The most significant finding from emulation was that if a network uses the "inline" (H.Insert) mode of SRv6, it should be detectable via standard traceroute because the SRH is included in the ICMP error response.
  • The Invisible Footprint: Despite companies like Cisco and Huawei heavily promoting SRv6, and operators claiming active deployments, the researchers found zero SR-specific attributes in public BGP data.
  • Security Success or Vaporware? The total lack of traces in the wild leads to two possibilities:
  • Operators are strictly following IETF security recommendations by filtering SRv6 traffic at their borders.
  • SRv6 is currently confined to private backbones or 5G cores that do not interact with the public internet.
  • Sibling AS Confusion: When searching for BGP communities, the authors initially found some commonalities among "suspect" ASes, but these turned out to be standard location-tagging communities shared by "sibling" ASes (different networks owned by the same company), not SRv6 signals.

Key Results

  • BGP Analysis: 0 instances of Color Extended Communities (0x03/0x0b) or SR-specific path attributes were found in the collector data.
  • Traceroute Results: Out of 213.8k addresses in "suspect" networks and 10M hitlist addresses, zero SRv6 leaks were detected.
  • SR-Enabled Probing: Even when the researchers sent probes containing an SRH to see if routers would modify them, no modifications or leaks were observed.

Limitations and Future Work

The study's primary limitation is its "outside-in" perspective. Because the researchers probed from a single vantage point (MPI-INF), they might have missed deployments that are heavily firewalled or geographically isolated.

Future Work includes: * Expanding the BGP analysis to cover longer time spans and more collectors. * Increasing the number of vantage points for active probing. * Setting up a hardware-based testing lab to see if physical routers (Cisco, Juniper, etc.) behave differently than the Linux-based emulation used in this study. * Investigating if SRv6 is more prevalent in 5G-specific deployments which are typically more isolated from the general IPv6 internet.

Summary updated

Abstract

Segment routing is a modern form of source-based routing, i.e., a routing technique where all or part of the routing decision is predetermined by the source or a hop on the path. Since initial standardization efforts in 2013, segment routing seems to have garnered substantial industry and operator support. Especially segment routing over IPv6 (SRv6) is advertised as having several advantages for easy deployment and flexibility in operations in networks. Many people, however, argue that the deployment of segment routing and SRv6 in particular poses a significant security threat if not done with the utmost care. In this paper we conduct a first empirical analysis of SRv6 deployment in the Internet. First, we analyze SRv6 behavior in an emulation environment and find that different SRv6 implementations have the potential to leak information to the outside. Second, we search for signs of SRv6 deployment in publicly available route collector data, but could not find any traces. Third, we run large-scale traceroute campaigns to investigate possible SRv6 deployments. In this first empirical study on SRv6 we are unable to find traces of SRv6 deployment even for companies that claim to have it deployed in their networks. This lack of leakage might be an indication of good security practices being followed by network operators when deploying SRv6.
BibTeX
@inproceedings{padurean2022srv,
  author = {Victor-Alexandru Padurean and Oliver Gasser and Randy Bush and Anja Feldmann},
  title = {{SRv6: Is There Anybody Out There?}},
  booktitle = {EuroS\&P Workshops},
  year = {2022},
  url = {https://openreview.net/forum?id=GdP4CgbEcY9},
}

Loading related content...

Figure