> 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?
Hmm. Good point. I'd personally argue that Cloudflare is mainly meant to hide the origin servers IP address, not the metadata about the connection. DDoS attacks are really what they are protecting with that. So what would be the harm in exposing that metadata?
That metadata may expose more than we realize. I can't tell you everything it reveals about the origin server or site itself, and until I can, I'd rather err on the side of not revealing that information because a lot of people smarter than me might be able to misuse it.
I can tell you for sure that Cloudflare is also used to protect servers from the absolute barrage of automated attacks out there. And that was the case even before LLMs!
At some point I locked them down completely, all external ports closed; Cloudflare reaches them via a tunnel daemon. Since then, I have peace, and I don’t want that compromised just for some cozy feeling of transparency.
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.
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.
> > > Cloudflare can generate a certificate to connect to the origin server, you should use that.
> You should generate origin server cert yourself and not let Cloudflare touch that private key.
What difference does key ownership make in this scenario? Cloudflare is encrypting the plain text to send to you, because they terminate the end user TLS session themselves.
Another way to serve HTTP is to run it over CF Tunnels. Since everything is unencrypted (HTTP) but Tunnel is encrypted you shouldn't be hesitated about certificates.
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.
Historically a lot of IPv6 was broken. I'm not sure if that is still true. Many consumer ISPs have great IPv6 support (and have for nearly a decade), but companies often lag behind and may not have IPv4 at all on their network.
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
> 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's how it's ideally supposed to work. TLS is built on that idea.
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?
At some point I locked them down completely, all external ports closed; Cloudflare reaches them via a tunnel daemon. Since then, I have peace, and I don’t want that compromised just for some cozy feeling of transparency.
If I was handling HIPAA data it would be different.
Cloudflare can generate a certificate to connect to the origin server, you should use that.
You should generate origin server cert yourself and not let Cloudflare touch that private key.
This is anyway beside their point that I as a user can't know how it looks between Cloudflare and your origin.
> You should generate origin server cert yourself and not let Cloudflare touch that private key.
What difference does key ownership make in this scenario? Cloudflare is encrypting the plain text to send to you, because they terminate the end user TLS session themselves.
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 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?
I'd assume given Cloudflare's traffic that they know on average the performance will be better on IPv4 so they default to that.
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
That's how it's ideally supposed to work. TLS is built on that idea.