FULL AI ANALYSIS

Linux source‑based routing causes intermittent IPv6 HTTPS failures for routed clients

Generated Oct 19, 2026, 9:33:36 AM

Analysis summary

Symptoms point to asymmetric routing / source selection mismatch: ip rules routing outbound packets via an uplink that does not match the upstream path the remote host uses to respond, so return packets are delivered to a different upstream or dropped by an intermediate with reverse‑path checks. Alternatively, reverse path filtering (rp_filter) on a next‑hop or the ISP firewall may drop replies when the source address doesn't match the expected incoming interface. PMTU issues could cause stalls for large transfers, but small requests succeeding and server replies being observed upstream indicate asymmetric path/response delivery is primary.

Possible causes

Outbound packets selected source address or route that causes server replies to return on a different uplink; asymmetric routing means replies never reach original client (wrong reverse path)

85%

Reverse Path Filtering (rp_filter) enabled on router or upstream peer dropping return packets when incoming interface doesn't match source prefix

65%

Partial conntrack or NAT table mismatch created by source routing + stateful firewall causing replies to be ignored for some flows

40%

PMTU / ICMPv6 fragmentation or black‑holing causing large transfers to stall while small requests work

30%

Suggested fixes

1

Diagnostic step 1

Capture IPv6 flow (tcpdump -n -i <uplink> ip6) for an affected client during a failure and note the source address used and the outgoing interface.

2

Diagnostic step 2

Run 'ip rule show' and 'ip -6 route show table all' to verify which table is used for the client's source prefix and check the per‑table default route.

3

Diagnostic step 3

Temporarily disable rp_filter: echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter (and per‑iface) to see if replies are accepted; revert after test. Use sysctl for persistence only after verifying.

4

Diagnostic step 4

Force correct source selection for that client subnet by adding a specific route with 'ip -6 route add default via <gw> dev <if> src <client::prefix>' or set 'from <prefix> lookup <table>' rules so replies follow the same path.

5

Diagnostic step 5

If asymmetric routes are unavoidable, consider SNAT for IPv6 (NAT66) or using stateful connection tracking on the edge (or request upstream ACL changes) to ensure reverse packets return over same link, then verify with repeated downloads and tcpdump.