TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Cloudflare is breaking the internet by requiring "JavaScript and cookies“

79 pointsby EastSmithover 2 years ago

14 comments

netsectodayover 2 years ago
If you expose a web server to the internet today you&#x27;ll get 10 malicious requests for every 1 legitimate request.<p>This constant and unrelenting beating at your doors doesn&#x27;t go away unless you add perimeter protection.<p>The options here are:<p>1) Block the IP and cidr ranges that are giving you trouble<p>2) Silently scan the connection request and block it when things look fishy<p>3) Provide a challenge in the return response that is difficult for bots to complete<p>Most of the bot protection on the internet is #2 where you don&#x27;t notice you&#x27;ve been verified as a human and the site just loads. People hate #3 of completing a challenge, but the other option here is #1 where the site doesn&#x27;t load at all.<p>I&#x27;d argue that bots are breaking the internet.
评论 #33096542 未加载
评论 #33104048 未加载
评论 #33110774 未加载
评论 #33095627 未加载
IceWreckover 2 years ago
Another thing that annoys me so much is that a lot of websites offer RSS feeds and then their RSS feeds are broken because of cloudflare.<p>If your feed reader periodically requests a feed, cloudflare starts showing their javascript based checking your browser thingy.
评论 #33100352 未加载
phillipseamoreover 2 years ago
The site owner has complete control over this in the CF dashboard, and can easily disable it or lower the threshold. Myself, I&#x27;m quite happy with stopping bad traffic (about 20% of the requests to my sites) at the edge with CF and keeping my hosting costs down.
评论 #33094510 未加载
LinuxBenderover 2 years ago
I&#x27;ve never used Cloudflare so apologies for what is probably documented somewhere. Can the site owners not set JS requirements per-URL? I ask because the same JS hidden browser tests can be added to NGinx and HAProxy using LUA scripting and it can be done by ACL for specific URL&#x27;s. e.g. No-JS for static content and URL&#x27;s that use GET but then require passing the JS hidden browser test prior to using a page that would require a POST. That is just one example of the myriad of possibilities. Can that not be set up in CF? Or is it all-or-none?<p>For people not using a CDN and wanting to keep bots off the static content, this can <i>for now</i> be partially accomplished doing two things. Forcing HTTP&#x2F;2.0 and one raw table iptables rule to drop TCP SYN packets that do not have an MSS in the desired range. Most poorly written bots do not even bother to set MSS. I&#x27;d wager this is something CF looks at in their eBPF logic. Blocking non HTTP&#x2F;2.0 requests will drop all search engine crawlers except for Bing.
评论 #33095971 未加载
flyingfencesover 2 years ago
Imgur is breaking the internet by requiring JavaScript, too. Oh the irony.
ynbl_over 2 years ago
cloudflare as of this month shows propaganda on the captcha page, like &quot;40% of the internet was historically bots&quot; (as if that matters). it actually fits right in with, the common sentiment that the old internet was bad, welcome in the new internet where nothing is allowed unless it&#x27;s a legitimate commercial use. this is getting out of hand.
评论 #33105177 未加载
endigmaover 2 years ago
How exactly do you imagine bot&#x2F;attach protection (cloudflare&#x27;s main product) working without JS? Even to bypass a captcha using your browser to assert trust requires JS.<p>Are captchas and DDoS bot protection ruining the web?
评论 #33095173 未加载
评论 #33095114 未加载
评论 #33094421 未加载
评论 #33094468 未加载
评论 #33095136 未加载
评论 #33094214 未加载
plgonzalezrx8over 2 years ago
Cloudflare is not the one breaking the internet, Bots are, they are just providing a solution to deal with the bot problem.<p>This is also controlled by the Cloudflare customer. If I&#x27;m having issues with my server due to fake&#x2F;hostile traffic coming to my website, you&#x27;re dang right I will do what it takes to stop it.
评论 #33100284 未加载
rpigabover 2 years ago
It&#x27;s annoying to some of us, and will only result in escalation, browser plugins will prolly be made to only run js in this context and not in the final render. Some more wasted processing power, that might block unwanted requests, but apart from DDoSes, these requests shouldn&#x27;t be a threat anyway. Maybe DoS zombie agents will be updated to run a bit of js, if it&#x27;s worth the hassle.<p>Every day we stray further from what the web could have been if we could have nice things.
tosspotteryover 2 years ago
Technically this is just breaking the web, not the internet - none of the other protocols are being interfered with.<p>Even Cloudflare&#x27;s DNS product is just standard DNS protocol, sitting behind network-level DDoS protections. It&#x27;s only HTTP where they tamper with the application layer.
giancarlostoroover 2 years ago
This is JS specifically in Cloudflare&#x27;s own domain is it not? I don&#x27;t think you need to enable JS after. So a JS &#x2F; cookie blocking setup should be versatile enough to let you allow only Cloudflare JS and cookies which are then self-destructed.
评论 #33095120 未加载
nalazover 2 years ago
No, you broke the Internet for yourself by disabling two core technologies of the web.
评论 #33095545 未加载
vnkrover 2 years ago
Cloudflare is a tool. Website owners use this tool to solve the challenges they face. You are shouting at a wrench.
评论 #33093403 未加载
评论 #33093275 未加载
hulituover 2 years ago
TBH, i thoght about an experiment when 1.1.1.1 is redirected to 127.0.0.1 to check how much of the internet still works.
评论 #33093572 未加载