Start With traceroute6: What Changed in the Path?
traceroute6 toward your server from an affected client location (or from a remote shell you control). You want to see which ASes the packets traverse.
BASH
traceroute6 -A your.server.ipv6.address-A flag (on Linux) appends AS numbers to each hop. If your hosting provider's IPv6 prefix normally reaches users through, say, two or three transit ASes, and suddenly you see unfamiliar AS numbers in the path, or the path is significantly longer than usual, that is your first clue.
What to look for:
- Hops through ASes that have no business being in the path between your users and your server.
- Sudden increases in latency at a specific hop, especially where the path enters an unexpected AS.
- Timeouts (
* * *) at hops that normally respond, suggesting a congested or filtering link.
traceroute6 -A output to a dated file gives you something to diff later.
One important note: traceroute6 shows you the current path. If the leak already resolved (they often last minutes to an hour), you will see a normal path now. You need historical data to confirm what happened during the incident window.
Check RIPE RIS Live for BGP Update Anomalies
https://stat.ripe.net/ and search for your IPv6 prefix (or the prefix of the destination you are investigating). The "BGP Updates" and "Routing History" widgets show you:
- When new AS paths appeared for your prefix.
- Whether any unexpected origin AS announced your prefix.
- Whether the AS path length changed suddenly (a leak often introduces longer, abnormal paths).
BASH
wscat -c 'wss://ris-live.ripe.net/v1/ws/' -x '{"type": "ris_subscribe", "data": {"prefix": "2001:db8::/32", "type": "UPDATE"}}'2001:db8::/32 with your actual IPv6 prefix. This streams BGP UPDATE messages as they arrive at RIS collectors. During a leak, you would see UPDATE messages with AS paths that include ASes not normally in the path for your prefix.
What confirms a leak versus normal path changes:
- A leak typically shows your prefix (or a covering prefix) appearing with an AS path that includes an AS which is not your upstream, not your upstream's upstream, and has no logical transit relationship to your network.
- Multiple RIS collectors in different geographic regions report the anomalous path simultaneously. A normal peering change usually shows up from collectors near the change, not globally.
- The anomalous paths appear and disappear within a short window (minutes to an hour), matching when your users reported problems.
Cross-Reference With Looking Glass Servers
Use Cloudflare Radar for a Broader View
Distinguishing a Leak From a Hijack
- Route leak: the AS path still contains the legitimate origin AS. The route just propagated further than intended. The path is valid but should not exist in that scope.
- Route hijack: a different AS announces your prefix as if it originated from them. The origin AS in the path is wrong.
Why IPv6 Gets Hit More Often
- Prefix filters for IPv6 are sometimes less strict or less frequently updated.
- Operators may have less operational experience with IPv6 BGP policy, leading to misconfigurations during routine maintenance.
- RPKI (Resource Public Key Infrastructure) coverage for IPv6 prefixes, while growing, still lags behind IPv4 in some regions.
What You Can Do After Confirming a Leak
traceroute6 -A to key destinations every hour, saving output to a log, gives you something to compare against when the next incident happens.
BGP route leaks are not something you can prevent from your end if you are not the leaking AS. But you can detect them faster, confirm them with evidence instead of guessing, and have the data ready to push your upstream providers toward better filtering. The tools are free and public. The gap is usually just knowing they exist and checking them when the symptoms appear.