Lurker News

Comments (100) 31 threads

jgrahamc#
> 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

huijzer9 replies#
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.
lezojeda1 reply#
Most people do not need it _until_ they do need it. I guess for many the trade-off between knowing that is taken care of vs the uptime cost is worthwhile.
huijzer1 reply#
If someone DDoSses my services, I just don’t use them till they are bored of DDoSsing me. Or I disconnect my Pi and connect directly or something.

All hypotheticals by the way. I keep having a big mouth at these DDoS discussions and how my servers have never been taken down, and yet they are never taken down. Here is the previous discussion: https://news.ycombinator.com/item?id=45965060

Capricorn2481#
> If someone DDoSses my services, I just don’t use them till they are bored of DDoSsing me.

Why even complain that choosing Cloudflare "reduces uptime" if you admit you would just let your site be taken down at the whims of other people? That's astronomically worse.
If don't care if your websites stay up, that's fine, but don't say "most people don't need it." You'd be surprised what small sites can get attacked if people are vindictive enough.

bastawhiz#
Most people choose Cloudflare because they have much more generous egress bandwidth pricing than other providers.
enlyth3 replies#
I use their tunnels to host public websites from my home server, that's something I definitely don't want to expose, especially these days
taraindara5 replies#
I think that’s a false sense of security though. You can definitely still be compromised even with Cloudflare in front of you. A vulnerable service is still vulnerable, you’re just praying that Cloudflare recognizes the signature to stop an exploit for you.

But the onus is still on you to monitor your environment and keep things updated and secure.

huijzer2 replies#
I also wonder sometimes what people are doing that they’re so afraid of hacks? Rust web server with password auth having explicit auth tests on each sensitive endpoint plus constant time string check goes a long way. Sure there are many nuances for more complex applications, but regular joe will usually not need more than this. If this is not safe then please tell me. Or use Caddy basic auth implementation plus HTTPS if you want an even more foolproof method.

Continue this thread — 2 replies

Grimburger#
cloudflare tunnels are updated all the time, by one of the best security teams on the planet

there's simply no way it can compete with some random guy in Nebraska who just wants to host a webserver

itake#
CF lets me limit which countries or emails have access to my home services.

CF acts as a firewall protecting my home machine’s ssh ports.
You are correct about the service itself, but everything around the service still needs to be protected too

jgalt212#
Yes and No. For example, CF was protecting sites against PHP Shell before the announcement was even made public.
HackerThemAll#
You can configure your service to only communicate with Cloudflare, and enable WAF, and perhaps block countries or IP ranges you're not addressing your service for. It helps stop almost all bots.

This is not to say the service shouldn't be fixed, but using Cloudflare is not "false sense of security". It's great value added, at least from my experience.

cliche#
I love cloudflare for tunnels, happy to host compute and storage for small services myself on my hardware but leave all the networking to cloudflare and Tailscale.
aeonik#
Why not? I'm curious.
jppope#
I love Cloudflare for a variety of reasons. Needing protection against DDoS for my personal site was not one of those, however it is a nice piece of mind if it were to happen.
robomc1 reply#
You don't get Cloudflare for DDOS generally because like you say, DDOS is unlikely for most services. You get it for the managed WAF ruleset and the hope that "huh it is behind the CF WAF" is enough to put it lower on the list of targets for attacks of all sorts. And to a lesser degree, free edge caching.
sixothree#
Yeah, it's a bit scary to have clients connecting directly to services hosted in a VPS.
selfmodruntime1 reply#
Come on. This is a complete non-argument and your VPS provider will most likely have more downtime than Cloudflare.
BenjiWiebe2 replies#
If you put cloudflare in front of your vps, though, you're adding more points of failure.
pixl97#
And removing other points of failure.
vntok#
If the VPS fails, Cloudflare's "Always Online" feature continues to serve pages in its place for a little while. Using Cloudflare does not, in fact, add more points of failure for the vast vast majority of websites hosted on VPS (mostly reads, barely any write), for the vast majority of VPS outages (crash/unplanned reboot, core freeze, huge lags/swapping for a few minutes).
bearjaws1 reply#
I thought that was true until I ran a vaccination website, good luck predicting what websites do and do not need it!

Also I've had a forum for cancer survivors DDOS'd, yup.

pixl97#
"You have a small site, you won't get DDOS'ed"

The only people that say this are the ones that have never been randomly DDOS'ed.
I had been in the ISP business for years and have seen all kind of crap. I've seen hundred megabit floods to IPs that have never had anything assigned to them on port 80. And if you're on a dynamic IP you have no idea of its history and who or why someone would try to attack it.
Other times you'll have Google cache something that once existed in the past and something that is trying to exploit the thing that doesn't exist just send absolute floods of traffic getting 404's.
The internet is a weird and unsafe place.

snowwrestler1 reply#
DDOSes have been happening randomly for well over a decade. I say this as someone who has run hundreds of little sites over that time, and they all got DOS’d occasionally.

It’s even more of an issue now due to poorly behaved scrapers for AI training.
And you can’t hide a site that offers TLS because of cert transparency logs. As soon as a new cert pops up, it will attract scripts and spiders.
That said, most little sites will not cause any problem by being down for a little while. But if you don’t want your site to go down every now and then, you’ll need a layer to soak up requests.

dspillett#
> And you can’t hide a site that offers TLS because of cert transparency logs.

You can on a subdomain with a wildcard cert. Though that probably isn't as convenient as you are looking for.

Continue this thread — 1 more reply

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.
viraptor#
Why would ipv6 be down on its own? They go over the same link.
e63f67dd-065b4 replies#
> 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?

fishcharlie5 replies#
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?
drakythe1 reply#
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.
hinkley#
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.

9dev#
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.

j45#
The less that is exposed, the better.

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.

Bender#
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.
Grimburger1 reply#
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

pixl97#
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.

robomc#
It's an insane suggestion.

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.

hinkley1 reply#
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?

Continue this thread — 1 reply

Continue this thread — 1 more reply

Load more comments