An unofficial, read-only Hacker News reader.

Cloudflare hides shortcomings of the underlying infrastructure (opens external site)

169 points by fishcharlie 4 days ago | charlie.fish | 108 comments on HN

View full thread · View on Hacker News

Comment thread (12)

  1. 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
    Replies (3)
    1. 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.

      Replies (5)
      1. 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.
        Replies (2)
        1. That's all application level protocol. TCP sits below that. You can create a connection to a server running a web application and never send a single HTTP command

          Having application level auth does nothing if the vulnerability is lower in the stack.

          Replies (1)
          1. Well then don’t have vulnerabilities there? What vulnerabilities are you thinking about?
        2. some ISP also make it very hard to unblock inbound connections, or don't let you ublock, ports 80 or 443.
      2. 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

      3. 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

      4. Yes and No. For example, CF was protecting sites against PHP Shell before the announcement was even made public.
      5. 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.

    2. 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.
    3. Why not? I'm curious.