> 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.
Part of the reason you use TLS is because the moment you used edge networking or even just regional distribution there is no canonical “there” there. You and I do not connect to the same google.com. And probably never have.
Also packet switched, routed networks, you don’t have any way to know that the resquest you sent to 1.1.1.1 actually got there instead of being intercepted. In fact service providers have done this for ages which is a big part of why we went TLS always in the first place. All TLS tells you actually is that someone trustworthy said the certificate used to establish the session was issued to the party you believe you are talking to. Nota bene, that doesn’t say that the trusted party can prove the person you are actually talking to is the people they said they are or that someone else hasn’t stolen that certificate and is impersonating them. That’s why it’s so important to protect your private keys, and why signing authorities try hard to get a positive ID. They do occasionally get fooled, and keys lose containment, which is why revocation exists.
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.
What was previously hard to manually check about different chains of metadata is now gone. Every permutation and combination of approaches can be semi intelligently tried by ai bot. It’s many orders of magnitude higher than before. The internet is entering a less safer time right now with the biggest question being which routers and core networking equipment are and can stay the most secure, and respond and repair the quickest, when they are inevitably hit by something? Microsoft’s outage could be any cloud provider in the future. On the other hand, the more that is known internally, the better. Maybe there can be more data internally.
If that is the case then those people would really only need a simple layer 4 proxy and there would be no need to decrypt at the CDN. e.g. options like TCPShield, NeoProtect, or Path.net I think even Cloudflare offers simple layer 4 tunnels.
Would you really be learning much in a ddos, it's all bot farms, iot devices and booters, doubt you'd be discovering much without a dedicated team.
As someone on the edge of these things I'm happy to trust them with the info and internal response instead of handing it over to anyone who might happen to be under attack. It would be the easiest way for these people to work out how cf works and why they block certain requests and not others
A lot of people just don't understand how hostile the internet is.
'Reverse hacking' has been talked about for years and the ethics or lack of ethics behind it debated, but I'm really getting to the point that believing the nuclear option is the only way forward. This is, if your devices/machines are in part of a botnet they should be hacked and deleted, and if possible the hardware made inoperable. People will start caring more about security when there are harsh and absolute costs for being involved. The "oh it's not the users fault when they get hacked" model of internet security is not working and is presenting even larger risks as AI can automate absolutely massive hacking campaigns. As they say, Darwin wins, when there are less hosts to spread on disease dies out.
How about the industry also consider returning a header that includes all current CVEs in the upstream stack? You can argue that seeing a site uses TLS at the edge creates a presumption that you're getting TLS all the way through, and it's bad for consumers of websites to be mislead in this way. But ... if the website isn't doing TLS from CF to origin, they're not doing 10 other things that are probably worse anyway. You ultimately have to trust the upstream, and this signal wouldn't confirm that the trust is warranted.
There is no way to “include” a certificate in a communications channel and know that it isn’t replay unless you have the private key.
Mechanically, the way you would do this instead would be for the origin to countersign a certificate for Cloudflare to use. Deputizing them as the man in the middle formally. But that would be adding functionality, as browsers don’t report that and Let’s Encrypt doesn’t issue certs for that at present. But those who care could vote with their feet and upgrade or switch browsers in order to get what they want. Cloudflare could even use the same certs for all customers. People are used to thinking of “certificate chains” but they can in fact be inverted trees. The browser needs to find one chain it trusts, not all. That’s how Let’s Encrypt got started after all. Then Cloudflare can prune the tree down to the relevant actors before sending it out. However that would not address Cloudflare using http for upstream connections. But who the hell is still exposing http without a redirect in 2026?
After further consideration, perhaps this is something Let’s Encrypt should do directly, doing a three party signing ceremony and adding metadata to their signature. Something to the effect of:
Signed for CloudFlare on behalf of Bank of America.
> hold website owners accountable for bad security practices
This indeed seems like it's focusing on the 1% of the attack surface of a service/company that can be observed externally, simply because it can, not because it necessarily makes sense.
Comments (107) 34 threads
Show all comments
Showing thread 4 of 34
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?
Also packet switched, routed networks, you don’t have any way to know that the resquest you sent to 1.1.1.1 actually got there instead of being intercepted. In fact service providers have done this for ages which is a big part of why we went TLS always in the first place.
All TLS tells you actually is that someone trustworthy said the certificate used to establish the session was issued to the party you believe you are talking to. Nota bene, that doesn’t say that the trusted party can prove the person you are actually talking to is the people they said they are or that someone else hasn’t stolen that certificate and is impersonating them. That’s why it’s so important to protect your private keys, and why signing authorities try hard to get a positive ID. They do occasionally get fooled, and keys lose containment, which is why revocation exists.
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.
What was previously hard to manually check about different chains of metadata is now gone. Every permutation and combination of approaches can be semi intelligently tried by ai bot. It’s many orders of magnitude higher than before.
The internet is entering a less safer time right now with the biggest question being which routers and core networking equipment are and can stay the most secure, and respond and repair the quickest, when they are inevitably hit by something?
Microsoft’s outage could be any cloud provider in the future.
On the other hand, the more that is known internally, the better. Maybe there can be more data internally.
As someone on the edge of these things I'm happy to trust them with the info and internal response instead of handing it over to anyone who might happen to be under attack. It would be the easiest way for these people to work out how cf works and why they block certain requests and not others
'Reverse hacking' has been talked about for years and the ethics or lack of ethics behind it debated, but I'm really getting to the point that believing the nuclear option is the only way forward.
This is, if your devices/machines are in part of a botnet they should be hacked and deleted, and if possible the hardware made inoperable. People will start caring more about security when there are harsh and absolute costs for being involved. The "oh it's not the users fault when they get hacked" model of internet security is not working and is presenting even larger risks as AI can automate absolutely massive hacking campaigns. As they say, Darwin wins, when there are less hosts to spread on disease dies out.
How about the industry also consider returning a header that includes all current CVEs in the upstream stack?
You can argue that seeing a site uses TLS at the edge creates a presumption that you're getting TLS all the way through, and it's bad for consumers of websites to be mislead in this way. But ... if the website isn't doing TLS from CF to origin, they're not doing 10 other things that are probably worse anyway. You ultimately have to trust the upstream, and this signal wouldn't confirm that the trust is warranted.
Mechanically, the way you would do this instead would be for the origin to countersign a certificate for Cloudflare to use. Deputizing them as the man in the middle formally. But that would be adding functionality, as browsers don’t report that and Let’s Encrypt doesn’t issue certs for that at present. But those who care could vote with their feet and upgrade or switch browsers in order to get what they want.
Cloudflare could even use the same certs for all customers. People are used to thinking of “certificate chains” but they can in fact be inverted trees. The browser needs to find one chain it trusts, not all. That’s how Let’s Encrypt got started after all. Then Cloudflare can prune the tree down to the relevant actors before sending it out.
However that would not address Cloudflare using http for upstream connections. But who the hell is still exposing http without a redirect in 2026?
Signed for CloudFlare on behalf of Bank of America.
This indeed seems like it's focusing on the 1% of the attack surface of a service/company that can be observed externally, simply because it can, not because it necessarily makes sense.