DeCloudflare

(0xacab.org)

40 points | by DeepLogin 5 hours ago

23 comments

  • upheaval7276 4 hours ago
    ironic that an article presumably about avoiding use of cloudflare is apparently unable to handle spikes in traffic caused by posting it on a forum
    • Meneth 4 hours ago
      He's is running GitLab, a rather inefficient webserver.
  • SCUSKU 4 hours ago
    I would love if there was some content here besides vague posting about Cloudflare bad. Like why? There truly is no thesis to convince me right now.

    Also love the irony of getting an HN hug of death w/o Cloudflare

    • amiga-workbench 4 hours ago
      I can't shake the feeling that since its dealing with a huge amount of network traffic and it also strips SSL from every connection before passing it onto origins, they are a very juicy target for a certain three letter agency to place a tap.

      The bit I'm less bothered about is the centralising effect it has on the internet.

      • tomrod 4 hours ago
        Nah, they only recently got FedRAMP high. The real traffic still can't use it.
      • juliend2 4 hours ago
        > strips SSL from every connection before passing it onto origins

        What do you mean? You definitely can serve with TLS end-to-end with CF, it's called Full (strict) mode, or something like that.

        • thesh4d0w 4 hours ago
          They're still decrypting on their nodes, and then re-encrypting before sending to the origin. There's no getting around the fact they can see the traffic as plain text.
          • notanazzi 3 hours ago
            And they leaked said decrypted traffic at one point...
        • wmf 3 hours ago
          I don't think anybody uses that mode.
        • skinfaxi 4 hours ago
          And they issue certs in your name, right?
  • Hobadee 4 hours ago
    Cloudflare is simply following the time-honored trajectory:

    1. Good company starts, with good service and mission

    2. Because company has good service and mission, company grows to control a majority of the market

    3. Company realizes they can leverage their market for other means and sells their soul to the devil

    4. People realize company is no longer good

    5a. People leave company

    -or-

    5b. Company is now a monopoly and people can't leave

    Sources: - Microsoft - Google - Others

  • mertcangokgoz 4 hours ago
    Your site isn't even loading; it looks like you should use Cloudflare.
  • 5kyl4b 4 hours ago
    it would probably be up, if it was using cloudflare...
    • notanazzi 4 hours ago
      [flagged]
      • vedmed 4 hours ago
        you attack the messenger

        but can you rebuke the message?

        • notanazzi 3 hours ago
          Semantics requires a target to rebuke that carries moral agency, so your question is word salad.

          And, it's a Kafka trap.

  • judge2020 4 hours ago
    • 5kyl4b 4 hours ago
      [flagged]
      • Sebguer 4 hours ago
        incredibly weird first comment to post on HN, especially when nothing about this has anything to do with any configuration. the entire thing is about cloudflare's outsized role in controlling connectivity on the internet, which is very real.
  • pelagicAustral 4 hours ago
    > decloudflare

    > visit website

    > mission accomplished

    I wish life was that simple

  • 0hijinks 3 hours ago
    I got a hearty chuckle out of the redirect linked from the GitLab project info.

    [1] http://crimeflare.eu.org/

  • bix6 4 hours ago
    Is there a good alt to cloudflare? I don’t want to feed the beast but they are substantially better / cheaper for my use case (domain registrations and tiny websites)
    • monneyboi 4 hours ago
      I've heard good things about https://bunny.net/
    • dawnerd 4 hours ago
      Same, I’d rather not use them but there’s really not much else out there that can offer what Cloudflare does for the price (free). In particular I love the free egress from backblaze.

      I’d gladly jump ship if there was a competent competitor, even if paid… within reason.

    • pgib 4 hours ago
      AWS Cloudfront + S3 is basically free for tiny sites. I have a Terraform module to spin everything up easily.
  • wmf 3 hours ago
    Everybody wants alternatives to Cloudflare but nobody wants to build alternatives to Cloudflare.
  • judge2020 4 hours ago
    HN hug of death?
    • Meneth 4 hours ago
      Could've used some more Cloudflare.
    • everfree 4 hours ago
      Ironic, given the title of the post.
      • swyx 4 hours ago
        given i cant read the post... whats the authors objection to cloudflare? the nazi stuff?
        • peesem 4 hours ago
          just sort of a general complaint about how much the internet relies on cloudflare and what that means. massive point of failure, erratic browser checks & outright blocking, surveillance
  • OutOfHere 2 hours ago
    Cloudflare defeats HTTPS which is a sufficient reason to not use it. Enough said.
    • elonfboy 2 hours ago
      Looks like you’ve convinced everyone, good work.
  • aetherspawn 4 hours ago
    Can’t even load it.
  • miladyincontrol 4 hours ago
    I mean I think it speaks loudly that a lot of sites, blogs particularly, wouldn't feel so required to use a service like cloudflare if their viewer visible contents were just statically generated rather than requiring notable amounts of resources to compute each visit.
  • 0xbadcafebee 3 hours ago
    I can't read their page, but here's a very simple guide if you want to avoid using a CDN:

    0. Tune your kernel settings to prepare for attacks. Syn floods, connection exhaustion, junk packets, timeouts. Disable all open internet ports you don't need, disable icmp, etc.

    1. If you want/need to use HTTP3 (may be more efficient depending on your traffic), install Nginx or Caddy as caching reverse proxies. Other tools don't have robust HTTP3 support yet (or so it seems?). Aggressively cache unauthenticated content, do not allow dynamic content through without authentication.

    2. If you don't need HTTP3, install and configure HAproxy and Vinyl Cache. Both can help track and defend against traffic spikes and DDoS. HAproxy terminates the TLS as well as load baancing. It can be configured to track multiple metrics about the requests to efficiently identify and rate-limit connections and requests. Vinyl is an insanely fast cache, and includes an extra tool (Iocaine) which poisons DDoS requests with junk traffic at a slow rate. Aggressively cache unauthenticated content, do not allow dynamic content through without authentication.

    3. If none of those are an option, use iptables rules to rate-limit any TCP network service. Below is an example of a tiered network rate-limit. You need to tune this to your specific situation: first performance-test your stack from a remote host, then change the limits here to be under your max limit. It won't help as much as caching, but you can combine it with the above solutions.

      ####### Tier 1: Aggressive per-IP limit on >50 new connections/sec per source IP
      iptables -A INPUT -p tcp --dport 443 -m state --state NEW -m hashlimit --hashlimit-name https_t1 --hashlimit-upto 50/sec --hashlimit-burst 100 -m hashlimit ! --hashlimit-mode srcip -j DROP 2>/dev/null
      
      ####### Tier 2: Sustained per-IP limit on >10 conn/sec per source IP
      iptables -A INPUT -p tcp --dport 443 -m state --state NEW -m hashlimit --hashlimit-name https_t2 --hashlimit-above 10/sec --hashlimit-burst 30 -m recent --name abusers --set -j DROP
      
      ####### Tier 3: Temporary blackhole with `recent`. IPs recorded as abusers are blocked for 60s on ANY packet (not just NEW)
      iptables -I INPUT 1 -p tcp --dport 443 -m recent --name abusers --rcheck --seconds 60 --hitcount 1 -j DROP
      
      ####### Tier 4: Global ceiling with `limit`. Server-wide cap on 500 new conn/sec, bursts at 1000
      iptables -A INPUT -p tcp --dport 443 -m state --state NEW -m limit --limit 500/sec --limit-burst 1000 -j ACCEPT
      
      ####### Tier 5: Anything NEW to 443 that got this far without matching ACCEPT is dropped
      iptables -A INPUT -p tcp --dport 443 -m state --state NEW -j DROP
    
    If you google around you can find more examples for more advanced DDOS-mitigation (https://github.com/scriptzteam/anti-DDoS-iptables, https://github.com/gamemann/XDP-Firewall, etc). A sufficiently large or advanced DDOS will require either a much more sophisticated detection/mitigation mechanism, or more bandwidth and processing power. If you can turn on more nodes on different internet backhauls, that's probably the simplest way to help lessen load.
  • dools 4 hours ago
    What!? Cloudflare is fucking awesome and completely optional.
  • paulyy_y 4 hours ago
    The irony of this shit ass site loading at a glacial pace lol
  • ranger_danger 4 hours ago
    Why does this repo always seem to have trouble staying online? All the other mirrors are down, and it's not because of this post, because I have been watching other mirrors of this repo disappear over time that aren't even listed there, like https://notabug.org/crimeflare/cloudflare-tor and https://codeberg.org/crimeflare/cloudflare-tor.
  • peesem 4 hours ago
    from en.action.md:

    > Redirect or block "Cloudflare Warp" users from accessing your website. And provide a reason if you can.

    come on, really? what does this achieve? only thing i can think of is trying to get the user off of WARP, but i can pretty confidently say that before doing that i'll just not use the website. or if i really care about the content i'll turn it off until i'm done and back on it goes

    • judge2020 4 hours ago
      Tangentially related, the archive.is / archive.today / etc site host used to block anyone using 1.1.1.1 DNS because 1.1.1.1 doesn't send an eDNS subnet to the authoritative DNS server. It accomplishes nothing except annoying actual users.
  • Uptrenda 4 hours ago
    this is still the best article on cloudflare if anyone wants to see a similar post while the OP site recovers: http://cryto.net/~joepie91/blog/2016/07/14/cloudflare-we-hav...
  • vedmed 4 hours ago
    You've made a great point.

    Just not the point you were trying to make.

    I closed the tab after 1 minute of failing to load a readme.md.

  • extr0pian 4 hours ago
    Looks like their site is down, but from their github bio:

    " Ⓐnti-capitalist Free Software developer, trans rights are human rights, Black Lives Matter, abolish all prisons, 0xACAB "

    • ranger_danger 4 hours ago
      What did you mean by this?
      • vedmed 4 hours ago
        What does your question imply about your position regarding what he said and what intent can be derived regarding your followup should he entertain your query?
  • Sebguer 4 hours ago
    Incredibly disappointing just how many comments are making fun of the site for not handling the traffic, and saying that "they should have just used Cloudflare". Would Cloudflare caching the site have helped? Maybe/probably, but the user's point (visible on the github mirror https://github.com/jiakaiBot/deCloudflare/blob/89983e1501dbb...) has nothing to do with availability and everything to do with Cloudflare's position as a gatekeeper on the internet.

    People who have been around for awhile should probably remember the days when every DDoS site on the internet was hosted behind Cloudflare and CF was notoriously slow about responding to abuse complaints or helping them get to the actual hosts on the other side. Or when Matthew went on a whole thing about how he had a moral obligation to provide services to literal nazis.

    • llm_nerd 4 hours ago
      > Incredibly disappointing just how many comments are making fun of the site for not handling the traffic

      Why? It's a deserved, obvious observation. If you're advocating a position but then demonstrate exactly the thing that counters your position, isn't that a worthwhile point? Of course everyone is going to point it out.

      An HN front page simply isn't much traffic at all. It really isn't. The fact that so many sites still fall over is simply crazy in 2026. I don't even know how it's possible this is still such an issue. A Raspberry Pi 5 can host an HNing.

      The site finally loaded for me, and seriously publishing content is such a ridiculous pattern. It's actually kind of funny that the whole site is falling over because someone decided to publish an opinion in a README, instead of putting it on an infinitely more appropriate static host (which can be built from that git).

      • Sebguer 3 hours ago
        yeah i guess if you can't read and pretend they're trying to make a completely different point, then this all makes sense. i kind of expect most people on HN to be literate tho
        • llm_nerd 3 hours ago
          Ah yes, I'm totally illiterate. You got me. I mean, if you didn't get everyone with the hilarious pearl clutching as you holier than thou'd everyone, the comical insults should really put it over the top.

          Thanks for reminding me to flag the submission, though.

          • Sebguer 2 hours ago
            you literally keep making points that have absolutely nothing to do with what the site said, as another commenter has pointed down below. but flag away!
      • devmor 4 hours ago
        In what way does their lack of traffic resilience demonstrate a counter to their position? Their position is not that load balancers and edge nodes are bad.

        If I say I hate oversized trucks because one ran me over, my position is not countered by needing someone to deliver my couch.

        • llm_nerd 4 hours ago
          > In what way does their lack of traffic resilience demonstrate a counter to their position?

          When 99.999% of sites utilize Cloudflare for "traffic resilience", as a caching facade that even happens to be geolocated to clients for even more benefit, falling over on exactly that issue kind of obliterates the sales pitch. Every single reasonable person on the planet sees that.

          It looks farcically silly, regardless of whatever points it makes or however much I agree with them (yes, CF centralization is bad, it's a company with a mixed history and a lot of bad, it basically has a monopoly now, etc). And yes, there are other CDNs and load balancers and solutions. But presumably someone pushing a position on this has the problem solved beforehand, no?

          As to your poor analogy, it's more akin to saying that you hate trucks while trying to drag a couch seven miles from the store.

          • devmor 3 hours ago
            I am beginning to think you did not read anything in the posted link and just imagined what you think it's about. Your comments do not make any sense.

            > As to your poor analogy, it's more akin to saying that you hate trucks while trying to drag a couch seven miles from the store.

            Now that is a poor analogy. A website that functions 99.999% of the time but struggles under being frontpaged by HN is not akin to "dragging a couch seven miles from the store".

            • llm_nerd 2 hours ago
              Is this performance art? Utterly bizarre that you continue to state the same insanely detached nonsense that I directly and overtly addressed.

              It actually doesn't matter what the linked site says about Cloudflare, which I made abundantly clear in my root post. People use Cloudflare for a given reason, and this site failed for exactly that reason, so when the root post whines and mopes about everyone pointing out the ironic failure of the site -- desperately clutching their pearls because people aren't getting in on their holy war -- well, it falls a little flat.

              It makes for a very weak message. Nothing else matters if they couldn't show some fundamental, basic level of competency at precisely the thing that Cloudflare shines at.

              Now I know you're going to post another asinine waste of bits about how in the linked site he said something or other, laughably demonstrate that you're just a weird zealot. Go nuts. I'm done with you.