I got into the self-hosting scene this year when I wanted to start up my own website run on old recycled thinkpad. A lot of time was spent learning about ufw, reverse proxies, header security hardening, fail2ban.

Despite all that I still had a problem with bots knocking on my ports spamming my logs. I tried some hackery getting fail2ban to read caddy logs but that didnt work for me. I nearly considered giving up and going with cloudflare like half the internet does. But my stubbornness for open source self hosting and the recent cloudflare outages this year have encouraged trying alternatives.

Coinciding with that has been an increase in exposure to seeing this thing in the places I frequent like codeberg. This is Anubis, a proxy type firewall that forces the browser client to do a proof-of-work security check and some other nice clever things to stop bots from knocking. I got interested and started thinking about beefing up security.

I'm here to tell you to try it if you have a public facing site and want to break away from cloudflare It was VERY easy to install and configure with caddyfile on a debian distro with systemctl. In an hour its filtered multiple bots and so far it seems the knocks have slowed down.

https://anubis.techaro.lol/

My botspam woes have seemingly been seriously mitigated if not completely eradicated. I'm very happy with tonights little security upgrade project that took no more than an hour of my time to install and read through documentation. Current chain is caddy reverse proxy -> points to Anubis -> points to services

Good place to start for install is here

https://anubis.techaro.lol/docs/admin/native-install/

you are viewing a single comment's thread
view the rest of the comments
[–] 25 points 11 months ago (13 children)

Kinda sucks how it makes websites inaccessible to folks who have to disable JavaScript for security.

  • source
  • hideshow 13 child comments
  • [–] 14 points 11 months ago (3 children)

    there's a fork that has non-js checks. I don't remember the name but maybe that's what should be made more known

  • source
  • parent
  • hideshow 3 child comments
  • [–] 3 points 11 months ago (2 children)

    Please share if you know.

    The only way I know how to do this is running a Tor Onion Service, since the tor protocol has built-in pow support (without js)

  • source
  • parent
  • hideshow 2 child comments
  • [–] 26 points 11 months ago (8 children)

    I kinda sucks how AI scrapers make websites inaccessible to everyone 🙄

  • source
  • parent
  • hideshow 8 child comments
  • [–] -5 points 11 months ago (5 children)

    Not if the admin has a cache. It's not a difficult problem for most websites

  • source
  • parent
  • hideshow 5 child comments
  • [–] 8 points 11 months ago (4 children)

    You clearly don't know what you are talking about.

  • source
  • parent
  • hideshow 4 child comments
  • [–] -2 points 11 months ago* (3 children)

    Lol I'm the sysadmin for many sites that doesn't have these issues, so obviously I do..

    It you're the one that thinks you need this trash pow fronting for a static site, then clearly you're the one who is ignorant

  • source
  • parent
  • hideshow 3 child comments
  • [–] 12 points 11 months ago (2 children)

    Obviously I don't think you need Anubis for a static site. And if that is what your admin experience is limited too, than you have a strong case of dunning krueger.

  • source
  • parent
  • hideshow 2 child comments
  • load more comments (1 reply)