toot.wales is one of the many independent Mastodon servers you can use to participate in the fediverse.
We are the Open Social network for Wales and the Welsh, at home and abroad! Y rhwydwaith cymdeithasol annibynnol i Gymru, wedi'i bweru gan Mastodon!

Administered by:

Server stats:

653
active users

#anubis

10 posts8 participants1 post today

Just released: #swad 0.12 🥂

swad is the "Simple Web Authentication Daemon". It basically offers adding form + #cookie #authentication to your reverse proxy (designed for and tested with #nginx "auth_request"). I created it mainly to defend against #malicious_bots, so among other credential checker modules for "real" logins, it offers a proof-of-work mechanism for guest logins doing the same #crypto #challenge known from #Anubis.

swad is written in pure #C with minimal dependencies (#zlib, #OpenSSL or compatible, and optionally #PAM), and designed to work on any #POSIX system. It compiles to a small binary (200 - 300 kiB depending on compiler and target platform).

This release brings (among a few bugfixes) improvements to make swad fit for "heavy load" scenarios: There's a new option to balance the load across multiple service worker threads, so all cores can be fully utilized if necessary, and it now keeps lots of transient objects in pools for reuse, which helps to avoid memory fragmentation and ultimately results in lower overall memory consumption.

Read more about it, download the .tar.xz, build and install it .... here:

github.com/Zirias/swad

Simple Web Authentication Daemon. Contribute to Zirias/swad development by creating an account on GitHub.
GitHubGitHub - Zirias/swad: Simple Web Authentication DaemonSimple Web Authentication Daemon. Contribute to Zirias/swad development by creating an account on GitHub.

Only a short six days after the previous #iocaine release, I just tagged iocaine 2.3.0.

This release is primarily about fine tuning the scriptable request handler introduced in 2.2.0, but also comes with goodies for cases where the request handler is not in use (yet): there's now a built-in iocaine reload command, which allows one to load a new configuration into iocaine (as long as it is compatible: same socket bindings, and no change in metrics).

Also introduced in this release are a few small features required to transpile #Anubis bot policies (via Ammit) to iocaine's request handler system.

There are a number of new features and changes baking, so iocaine release frequency will continue to be weekly for the next few weeks at least.

git.madhouse-project.orgCookie monster!

With #iocaine 2.2.0 released, I set out to write a small tool to transpile #Anubis bot policies into an iocaine request handler script: how hard could it be?

Turns out, it's not terribly hard!

Introducing: Ammit.

It's a bit of a hack, the code is something you really shouldn't look at if you have good taste, but it gets the job done. It can translate every policy in the Anubis repo, and the result even works!

I have yet to benchmark how fast the resulting script is - the default Anubis botPolicies.yaml ends up as a 44k roto script, significantly larger than nam-shub-of-enki (~18k).

git.madhouse-project.orgCookie monster!

@cadey a fait une présentation d'#Anubis dans les lightning talks de #BSDCan ce soir. Elle sera bientôt visible en ligne sur le site de la conférence, si vous voulez en savoir plus sur cet outil qui protège l'instance mastodon de Tetaneutral.net contre les scrapers depuis quelques mois.
bsdcan.org
Encore merci pour cet ouil !

www.bsdcan.orgBSDCan ConferenceBSDCan is a technical BSD conference held in Ottawa, Ontario, Canada.

Some people are really abusing the #Anubis . This website took over 20 seconds to open on my phone:

git.apiote.xyz/Bimba.git

20 seconds * 31kH = 620kH

Why??

This is getting out of hand. I agree that Anubis is a good measure for scrapers, but going crazy with the config is simply a **waste of everything** and would hurt the user too!

Seems now we have to make an extension to just close the tab if Anubis is running more than 5 seconds and is wasting phone battery!! 🤦