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/

  • SmokeyDope@piefed.socialOP
    link
    fedilink
    English
    arrow-up
    26
    arrow-down
    6
    ·
    17 hours ago

    You know the thing is that they know the character is a problem/annoyance, thats how they grease the wheel on selling subscription access to a commecial version with different branding.

    https://anubis.techaro.lol/docs/admin/botstopper/

    pricing from site

    Commercial support and an unbranded version

    If you want to use Anubis but organizational policies prevent you from using the branding that the open source project ships, we offer a commercial version of Anubis named BotStopper. BotStopper builds off of the open source core of Anubis and offers organizations more control over the branding, including but not limited to:

    • Custom images for different states of the challenge process (in process, success, failure)
    • Custom CSS and fonts
    • Custom titles for the challenge and error pages
    • “Anubis” replaced with “BotStopper” across the UI
    • A private bug tracker for issues

    In the near future this will expand to:

    • A private challenge implementation that does advanced fingerprinting to check if the client is a genuine browser or not
    • Advanced fingerprinting via Thoth-based advanced checks

    In order to sign up for BotStopper, please do one of the following:

    • Sign up on GitHub Sponsors at the $50 per month tier or higher
    • Email sales@techaro.lol with your requirements for invoicing, please note that custom invoicing will cost more than using GitHub Sponsors for understandable overhead reasons

    I have to respect the play tbh its clever. Absolutely the kind of greasy shit play that Julian from the trailer park boys would do if he were an open source developer.

    • webghost0101@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      29
      arrow-down
      3
      ·
      17 hours ago

      I wish more projects did stuff like this.

      It just feels silly and unprofessional while being seriously useful. Exactly my flavour of software, makes the web feel less corporate.