BSD Ports

www/anubis 1.27.0nb4 NetBSD

Proof-of-work check to stop AI bots

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
309977eb40
License
mit
Categories
www
Package size
21007.9 KiB, 54742.0 KiB installed

Description

Anubis weighs the soul of your connection using a sha256 proof-of-work challenge in order to protect upstream resources from scraper bots.

Installing and using this will likely result in your website not being indexed by some search engines. This is considered a feature of Anubis, not a bug.

This is a bit of a nuclear response, but AI scraper bots scraping so aggressively have forced my hand. I hate that I have to do this, but this is what we get for the modern Internet because bots don't conform to standards like robots.txt, even when they claim to.

In most cases, you should not need this and can probably get by using Cloudflare to protect a given origin. However, for circumstances where you can't or won't use Cloudflare, Anubis is there for you.

In the other systems

SystemPortVersion
NetBSDwww/anubis1.27.0nb4
FreeBSDmail/anubis4.3_9
OpenBSDwww/anubis1.28.1v0
DragonFlymail/anubis4.3_6
HardenedBSDmail/anubis4.3_9
GhostBSDmail/anubis4.3_9

Install

Binary package:

pkgin install anubis

From pkgsrc:

cd /usr/pkgsrc/www/anubis && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.27.0nb4
NetBSD 10.1 aarch641.25.0nb2
SmartOS / illumos x86_641.28.1nb1
macOS 15 arm641.28.1

Dependencies

No port depends on this one.

Commit history 11

DateCommitCreditsLog message
309977eb40 bsiegert Revbump all Go packages after go127 security update
162ee5b186 ryoon www/anubis: Update to 1.28.1
Changelog: 1.28.1: * Revert systemd isolation change that worked fine in testing but failed in prod. 1.28.0: This release adds WebAssembly based proof of work checks to Anubis. They are documented in the Proof of Work (WebAssembly) page. This uses Rust code compiled to WebAssembly to run proof of work code. When browsers support SIMD, the WASM will use hardware acceleration. When clients are configured to disable WebAssembly, Anubis falls back to a pure JavaScript implementation of the WebAssembly-based check logic. As clients that disable WebAssembly usually disable the JavaScript JIT (the thing that makes JavaScript fast), this makes checks slower. …
96dc94755d bsiegert Revbump all Go packages after go127 security update
5aa97e99a5 khorben anubis: improve the RC script
This change makes it clearer that the service is actually trying to start. While there, it also avoids error messages when the RC script is executed from a directory outside the reach of the anubis user. Bumps PKGREVISION. "commit it!" bsiegert@ Tested on NetBSD/amd64.
866d2b73e9 bsiegert Revbump all Go packages after go127 update

The latest 5 of 11 in the history this site was built from.