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:
- 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.
- 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