630
submitted 3 days ago* (last edited 3 days ago) by SmokeyDope@piefed.social to c/selfhosted@lemmy.world

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
[-] quick_snail@feddit.nl 29 points 3 days ago

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

[-] poVoq@slrpnk.net 32 points 3 days ago

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

[-] Mwa@thelemmy.club 4 points 2 days ago

and they dont respect robots.txt

[-] quick_snail@feddit.nl 5 points 3 days ago

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

[-] poVoq@slrpnk.net 8 points 3 days ago

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

[-] quick_snail@feddit.nl 1 points 3 days ago* (last edited 3 days ago)

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

[-] poVoq@slrpnk.net 12 points 3 days ago

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.

[-] quick_snail@feddit.nl 1 points 5 hours ago* (last edited 5 hours ago)

99% of the pages that Anubis is fronting are static.

It's an abuse if the tool that's harming the internet.

[-] poVoq@slrpnk.net 1 points 5 hours ago

Lol, wat? I have not seen Anubis even once in front of a static page. You are either making shit up or don't understand what a static site is 🤦

[-] WhyJiffie@sh.itjust.works 13 points 3 days ago

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

[-] quick_snail@feddit.nl 3 points 3 days ago

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)

[-] WhyJiffie@sh.itjust.works 7 points 2 days ago* (last edited 2 days ago)

It's this one: https://git.gammaspectra.live/git/go-away

the project name is a bit unfortunate to show for users, maybe change that if you will use it.

some known privacy services use it too, including the invidious at nadeko.net, so you can check there how it works. It's one of the most popular inv servers so I guess it cannot be bad, and they use multiple kinds of checks for each visitor

[-] WhyJiffie@sh.itjust.works 4 points 2 days ago

ps: I was wrong it's not a fork, but a different thing doing the same and more

this post was submitted on 28 Nov 2025
630 points (100.0% liked)

Selfhosted

53262 readers
1463 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS