Lurker News

Comments (108) 34 threads

Show all comments

Showing thread 3 of 34

viraptor1 reply#
> they actively prefer IPv4 over IPv6 when making origin server requests

This feels extremely irrelevant. If you want IPv6, you can disable IPv4. Why would you expose both for CloudFlare to choose from? What's the actual problem here?

venussnatch1 reply#
I actually ran into this issue a while ago. I thought it would give more redundancy if ipv6 was down that it would fallback to ipv4 like a browser would.
viraptor1 reply#
Why would ipv6 be down on its own? They go over the same link.
lxgr1 reply#
Not end to end. Practical v6 routes can run very differently from v4 ones even between the same two hosts, e.g. due to (the lack of) CG-NAT, which is often more centralized than plain IP connectivity these days.

CG-NAT requires scarce v4 addresses and beefier stateful hardware, so it's actually possible that a direct v6 connection to some CDN cache colocated with your ISP runs more directly than any v4 route.
Since NAT is inherently stateful, you can also see different reliability profiles, e.g. for long-running TCP connections. (For v4, there's a tough choice between sending keepalive pings at the TCP or application layer, which can kill otherwise good connections during intermittent connection dropouts, or not sending them, which will inevitably cause NAT mappings to be recycled. For v6, unless there's a stateful firewall deployed somewhere, that's not the case, and even then the limit is memory, not scarce v4 ports.)

viraptor1 reply#
In general, sure. But I meant in the scenario that likely applies here - between CloudFlare DC and whoever is hosting. Even at home the weird cgnat doesn't apply because CF wouldn't be able to connect to you. (You could only tunnel out to them)

Continue this thread — 1 reply