SRv6: Is There Anybody Out There?

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

Abstract

Segment routing is a modern form of source-based routing where routing decisions are predetermined by the source or a specific hop on the path. Since its initial standardization in 2013, Segment Routing over IPv6 (SRv6) has garnered significant industry attention, advertised for its flexibility in 5G operations and traffic engineering. However, critics argue that SRv6 poses significant security threats if Segment Routing Headers (SRHs) leak outside administrative domains. This paper presents the first empirical analysis of SRv6 deployment in the wild. Through network emulation, BGP data mining, and large-scale traceroute campaigns, we investigate whether SRv6 is being used and if it is leaking sensitive information. Despite claims of widespread adoption, we find no empirical evidence of SRv6 traces in the public internet, suggesting either strictly internal deployments or the successful implementation of security best practices.

Introduction

Segment Routing (SR) represents a shift toward source-routing architectures, allowing a headend node to steer packets through a specific sequence of "segments" (nodes or functions). The IPv6 implementation, SRv6, is particularly attractive to operators because it eliminates the need for complex label-distribution protocols like MPLS by encoding instructions directly into IPv6 extension headers.

While SRv6 offers unprecedented flexibility for traffic engineering, it is a double-edged sword. If Segment Routing Headers (SRHs) leak outside a controlled administrative domain, they can expose internal network topologies or allow attackers to bypass firewalls. This study seeks to determine the actual footprint of SRv6 on the public internet and assess whether these security risks are manifesting in real-world deployments.

Methodology

To hunt for SRv6, we employed a three-pronged empirical approach:

1. Controlled Emulation

Using IPMininet, we simulated a multi-Autonomous System (AS) environment to establish a baseline for SRv6 behavior. We specifically tested two operational modes:

  • H.Encap (Encapsulation): The SRH is encapsulated within a new IPv6 header.
  • H.Insert (Inline Insertion): The SRH is inserted directly into the original IPv6 packet.

Our emulation revealed that H.Insert mode is "loud." When a packet encounters an error (e.g., TTL expiration), the resulting ICMPv6 "Time Exceeded" message includes the SRH in its payload, making the deployment visible to standard traceroute tools.

2. BGP Data Mining

We analyzed historical data from September 2021 across 10 major BGP route collectors, including RIPE RIS and RouteViews. We searched for specific signaling indicators used for inter-domain SRv6, such as "Color Extended Communities" (0x03/0x0b) and specific path attributes like BGP Prefix-SID or BGP-LS.

3. Active Probing (Traceroute)

We conducted massive traceroute campaigns using a modified version of Yarrp. Our targets included:

  • A random sample of 10 million responsive IPv6 addresses (the "IPv6 Hitlist").
  • Prefixes belonging to "SR-suspect" companies—organizations like SoftBank, Iliad, China Unicom, and CERNET2 that have publicly claimed to deploy SRv6.
  • All BGP-announced IPv6 prefixes.

Key Results

The BGP Signaling Gap

Despite heavy promotion by vendors like Cisco and Huawei, our analysis of public BGP data yielded zero instances of SR-specific path attributes or Color Extended Communities. While we initially identified some shared BGP communities among suspect ASes, further investigation revealed these were standard location-tagging communities shared by "sibling" ASes (different networks under the same corporate umbrella) rather than SRv6 signals.

Traceroute and Leakage Analysis

Our active probing campaigns targeted over 213,000 addresses within suspect networks and 10 million addresses globally. The results were consistent: zero SRv6 leaks were detected. Even when we sent probes containing an SRH to see if intermediate routers would modify or reflect them, no SRv6-specific behavior was observed.

Discussion: Security Success or Vaporware?

The total lack of visible SRv6 traces leads to two primary interpretations:

  1. Strict Security Adherence: Network operators may be strictly following IETF security recommendations, which mandate filtering SRv6 traffic at administrative boundaries. If filtering is performed correctly, SRv6 remains invisible to external probes.
  2. Internal Isolation: SRv6 deployment may currently be confined to private backbones or 5G cores that do not interact with the public IPv6 internet.

Conclusion and Future Work

This first empirical study on SRv6 reveals a significant disparity between industry hype and public visibility. While companies claim active deployments, SRv6 remains virtually invisible from an "outside-in" perspective. This lack of leakage is a positive sign for network security, suggesting that operators are successfully containing SRv6 traffic within their own domains.

Future research will expand this study by increasing the number of vantage points for active probing and utilizing hardware-based testing labs. We aim to determine if physical routers from major vendors (Cisco, Juniper) exhibit different leakage behaviors than the Linux-based systems used in our initial emulation, and whether SRv6 is more prevalent in isolated 5G-specific deployments.

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},
}
Figure