My biggest problem with Cloudflare is that most people do not need DDoS protection, and that choosing Cloudflare lowers uptime when compared to a simple VPS at reliable provider. Like GitHub and other massive providers, it’s just very common for one of the parts of that massive system to go haywire and take the whole thing down for a few hours. Datacenters with VPSes as far as I know don’t often go down.
> 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?
> I also believe the industry should consider adding functionality so CDNs and other intermediate networks can expose origin TLS connection information alongside their own. This would allow users and network researchers to better understand the encryption state of the entire path and hold website owners accountable for bad security practices. A similar mechanism could expose which IP version is being used to communicate with the origin server.
The whole point of cloudflare is to shield origin servers from the internet, why would I want them to expose more info about origins than they currently do?
"But Cloudflare's connection to the origin server might be entirely unencrypted and rely exclusively on IPv4"
Cloudflare can generate a certificate to connect to the origin server, you should use that.
In my experience, Cloudflare will pretty loudly encourage users to set up Full strict encryption to origins.
If you have both equivelent IPv4 to origin and IPv6 to origin, IPv4 to origin saves 4 bytes per packet of overhead. (Remember, the internet runs on layer 2 packets of 1500 bytes, after layer 2 overhead)
If you want IPv6 to origin (EG to bypass NAT), then you can still tell it do to that by setting a proxied AAAA and deleting the A.
I think most people who use Cloudflare ought to be using Cloudflare Tunnel to make the connection to the origin server, instead of just proxied DNS. That won’t work for everyone, but it should be presented as the default. Doing so would solve the underlying concerns here and allow a lot of firewalls to remain closed.
I use Fastly, but I also use straight http for origin. Why? Because it’s marginally faster and I don’t really care about the security of my static content. And less processing is always better. And as a bonus I don’t have to worry about my origin showing up in some certificate list scraper.
If I was handling HIPAA data it would be different.
I think this is a non-issue, but if we are going to complain -- It's a problem for Akamai, Fastly, AWS, etc. etc. If you don't want the origin to be hit over IPv4, use a name that only resolves IPv6?
My own little gripe is that they made it harder to set up a static-only site rather than spin up Cloudflare Workers: the steps to put up a simple site were buried inside upsell verbiage.
What's the technical reason behind Cloudflare preferring IPv4 over IPv6 for the origin connection?
The post introduces an IPv4/IPv6 discussion which distracts from the more egregious design flaw, Flexible SSL[0]. I wish the discussion focused more on this because I've tried raising awareness of this multiple times over the last decade.
Letting the users browser feel safe by thinking it's using a strong TLS connection (and unlocking certain APIs gated by HTTPS such as geoLocation) only to blast the connection over the internet using plain-text is antithetical to the design of HTTPS (notwithstanding first-hop/mile attacks).
[0]: https://developers.cloudflare.com/ssl/origin-configuration/s...
So how do site operators deal with revealing full user credentials (usernames, passwords, etc.) and other information to a third party like this?
One of the other things cf does not tell you.
> ... they actively prefer IPv4 over IPv6 when making origin server requests, which is particularly disappointing ...
I understand how lack of TLS from Cloudflare to origin server materially impacts privacy/security.
But how does it matter whether Cloudflare uses IPv4 or IPv6 to connect to the origin server? Or if the origin even supports IPv6?
Cloudflare does often hide many shorcomings of my underlying infrastructure skills.
> This creates a huge mismatch between what is being presented to users and the reality of the connection
Of course it does, the mismatch between what is presented to users and the reality of the connection is Cloudflare's fundamental source of value.
> Even when website administrators invest in deploying IPv6 on their origin servers, Cloudflare still prioritizes IPv4.
Who cares, the result is the same. I want everything to be available via IPv6. If they want to pay extra to pointlessly use IPv4 for what is essentially an internal connection, it makes no difference to me or you.
> I also believe the industry should consider adding functionality so CDNs and other intermediate networks can expose origin TLS connection information alongside their own.
This is like if SSH announced to anyone who connected that the admin user's password was set to a well known default. Surely that'll hold negligent system administrators accountable!
I haven't been able to figure out whether my origin connection is quantum secure, not for a lack of trying.
Must be a busy day for southdakota (matts) I don't see a response here yet :)
This has got SNL "fix it" vibes. They are exactly doing what we want here. It takes time.
I think they should heavily push Cloudflare tunnels and encourage 0 ingress backends. The open internet is an increasingly terrifying place and I want no part of it.
I ran an origin server that only had port 443 open and only had an ipv6 address for a year behind cloudflare. Never had any issues.
"Exposing the origin" - um nope, ngh and a somewhat draft proposal. What kind of article is this?
Connecting to the origin server via IPv4 or lower grade TLS requirements is how Cloudflare can service more webmasters than not. As a for-profit enterprise, they choose not to lose their customer over strict Internet standard. I don't see CF intentionally hiding anything. In fact, it's extremely hard to change behaviors the free tier customer let alone the paid ones. At the end of the day, they are making less-tech savvy webmasters conveniently connect to the modern software defined networks and the Internet as a whole painlessly at a very generous free tier allowance than most providers. I don't see why they deserve this type of article / critisism.
Non click-bait title: Cloudflare prefers IPv4 over IPv6 for internal connections.
I think this post mostly misunderstands how to view Cloudflare. Cloudflare should be viewed as corps servers hosted at Cloudflare.
same thing with those consumer product vpns, if you want to connect with a server in your country and you use a vpn in switzerland, your connection goes encrypted to switzerland, and then unencrypted (the vpn part) all the way back to your country.
some people think of security like an additive consumable, you are hungry you eat a food product, you are sick you apply a medicine, you are insecure you apply a security thing
that said, it does work to deidentify your traffic by effectively pooling your connections and laundering them to appear as coming from switzerland, if that’s your threat model it can work for you, but it works for avoiding the ISP employee knowing where you like to get your porn from (and maybe for criminals that don’t want to make subpoenas more complex), but it does not for any kind of corporate grade security whose threat model os a mitm, not because of the quality of the product, but by its category
[flagged]
> One of my biggest problems with this is the fact that Cloudflare doesn't do enough to notify website administrators about these issues.
I think we made a very large effort to make sure our customers were using TLS to the origin.
In 2022, we released the SSL/TLS Recommender (https://blog.cloudflare.com/ssl-tls-recommender) which helps a customer figure out what settings they can use for their origin connection. This is a bigger deal than you might think at Cloudflare scale because end customers aren't always in control of their TLS configuration on their server (e.g. imagine they are using a WordPress hosting company).
In 2024, we had confidence that at scale the recommender worked and announced we were going to automatically set the TLS level for origin connections (https://blog.cloudflare.com/introducing-automatic-ssl-tls-se...).
In 2025, we followed up on that with a review of how that roll out had gone and announced post-quantum origin connections (https://blog.cloudflare.com/automatically-secure).
Doing something at Cloudflare scale is always... weird. For example, we'd see situations where a customer had configured HTTP to their origin and if we switched to HTTPS automatically we'd get different content! You can read about those issues in this 2020 research paper: https://www.cs.umd.edu/~dml/papers/https_tma20.pdf