@akkoma iocaine!! cc @algernon
not that it’s too relevant now, but heres an article i saw linked semi-recently about how anubis is pretty unhelpful https://hackerdude.tech/vault/Anubis/
@nyx @hsza @akkoma iocaine's markov generator is fast. Like, it can generate a ~6k page of garbage faster than you serve a static file from SSD (unless it's already in the fs cache).
When it comes to iocaine, the bottleneck is not going to be the garbage generation. A TLS handshakes is about ten times more expensive.
What iocaine can do, is poison the crawler's URL queue, and fill it with identifiable URLs. When they come back hitting those, plonk their IPs into the firewall to block them for a little while. That's a built-in feature, you don't need to fail2ban or anything, just a bit of configuration.
This decreased my incoming requests from ~100million/day to ~2.5million/day, and a €8/month VPS now happily fronts a few dozen domains, including my forge. iocaine's sitting at... around 2-5% CPU (on a 2vCPU server) for most of the day.
So, no. It would not use more CPU. It was built to run on a potato.
@akkoma @nyx @hsza If you like that, check out this awesomeness @lukasrotermund made of it.
@algernon @nyx @hsza @lukasrotermund this whole thing is really cool like the reason i didn’t expect to be able to solve this without 3rd party intervention is problems like “lmao scrapers just use standard browser UAs” and such having rules for that like in nam-shub genuinely might make cloudflare not as required
for fun, basic metricys
# TYPE nam_shub_of_enki_garbage_generated counter
nam_shub_of_enki_garbage_generated{host="akkoma.dev"} 7404077
# HELP nam_shub_of_enki_request_distribution Request distribution (per group and outcome)
# TYPE nam_shub_of_enki_request_distribution counter
nam_shub_of_enki_request_distribution{group="Aggressive maze explorers",outcome="garbage"} 6
nam_shub_of_enki_request_distribution{group="Cookie Monster food",outcome="challenge"} 1288
nam_shub_of_enki_request_distribution{group="Disguised bots",outcome="garbage"} 544
nam_shub_of_enki_request_distribution{group="Facebook",outcome="garbage"} 6
nam_shub_of_enki_request_distribution{group="Google",outcome="garbage"} 227
nam_shub_of_enki_request_distribution{group="Other",outcome="garbage"} 2166
nam_shub_of_enki_request_distribution{group="Other",outcome="not-for-us"} 108
nam_shub_of_enki_request_distribution{group="fediverse-software",outcome="challenge"} 46
mmmm they are being eaten…
な鯖管「こ」であります!!
@akkoma
When I access akkoma.dev using the Vivaldi browser installed via Flatpak on Debian 13, I get flagged as an AI scraper. I have AdGuard installed as an extension, but disabling it didn’t change the outcome.
I can access the site from Floorp on the same PC, however.