this post was submitted on 21 Mar 2025
285 points (99.3% liked)

Selfhosted

62103 readers
368 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

I just started using this myself, seems pretty great so far!

Clearly doesn't stop all AI crawlers, but a significantly large chunk of them.

top 50 comments
sorted by: hot top controversial new old
[–] merthyr1831@lemmy.ml 70 points 2 years ago* (last edited 2 years ago) (2 children)

It's a clever solution but I did see one recently that IMO was more elegant for noscript users. I can't remember the name but it would create a dummy link that human users won't touch, but webcrawlers will naturally navigate into, but then generates an infinitely deep tree of super basic HTML to force bots into endlessly trawling a cheap-to-serve portion of your webserver instead of something heavier. Might have even integrated with fail2ban to pick out obvious bots and keep them off your network for good.

[–] paperd@lemmy.zip 16 points 2 years ago

That's a tarpit that you're describing, like iocaine or nepthasis. Those are to feed the crawler junk data to try and make their eventual output bad.

Anubis tries to not let the AI crawlers in at all.

[–] NeoNachtwaechter@lemmy.world 7 points 2 years ago (2 children)

generates an infinitely deep tree

Wouldn't the bot simply limit the depth of it's seek?

[–] nickwitha_k@lemmy.sdf.org 6 points 2 years ago

That would be reasonable. The people running these things aren't reasonable. They ignore every established mechanism to communicate a lack of consent to their activity because they don't respect others' agency and want everything.

[–] Cethin@lemmy.zip 5 points 2 years ago

It could be infinitely wide too if they desired. It shouldn't be that hard to do I wouldn't think. I would suspect they limit the time a chain can use though to eventually escape out, though this still protects data because it obfuscates legitimate data that it wants. The goal isn't to trap them forever. It's to keep them from getting anything useful.

[–] randomblock1@lemmy.world 24 points 2 years ago (1 children)

Why Sha256? Literally every processor has a crypto accelerator and will easily pass. And datacenter servers have beefy server CPUs. This is only effective against no-JS scrapers.

[–] poVoq@slrpnk.net 21 points 2 years ago* (last edited 2 years ago) (1 children)

It requires a bunch of browser features that non-user browsers don't have, and the proof-of-work part is like the least relevant piece in this that only gets invoked once a week or so to generate a unique cookie.

I sometimes have the feeling that as soon as some crypto-currency related features are mentioned people shut off part of their brain. Either because they hate crypto-currencies or because crypto-currency scammers have trained them to only look at some technical implementation details and fail to see the larger picture that they are being scammed.

[–] swelter_spark@reddthat.com 2 points 2 years ago (1 children)

So if you try to access a website using this technology via terminal, what happens? The connection fails?

[–] crmsnbleyd@sopuli.xyz 3 points 2 years ago (2 children)

If your browser doesn't have a Mozilla user agent (I.e. like chrome or Firefox) it will pass directly. Most AI crawlers use these user agents to pretend to be human users

load more comments (2 replies)
[–] enemenemu@lemm.ee 23 points 2 years ago (2 children)

Meaning it wastes time and power such that it gets expensive on a large scale? Or does it mine crypto?

[–] zutto@lemmy.fedi.zutto.fi 37 points 2 years ago* (last edited 2 years ago) (21 children)

Yes, Anubis uses proof of work, like some cryptocurrencies do as well, to slow down/mitigate mass scale crawling by making them do expensive computation.

https://lemmy.world/post/27101209 has a great article attached to it about this.

--

Edit: Just to be clear, this doesn't mine any cryptos, just uses same idea for slowing down the requests.

load more comments (21 replies)
load more comments (1 replies)
[–] Goretantath@lemm.ee 17 points 2 years ago (1 children)

I think the maze approach is better, this seems like it hurts valid users if the web more than a company would be.

[–] N0x0n@lemmy.ml 19 points 2 years ago* (last edited 2 years ago) (1 children)

For those not aware, nepenthes is an example for the above mentioned approach !

[–] BackgrndNoize@lemmy.world 7 points 2 years ago

This looks like it can can actually fuck up some models, but the unnecessary CPU load it will generate means most websites won't use it unfortunately

[–] lemonuri@lemmy.ml 17 points 2 years ago* (last edited 2 years ago) (3 children)

I did not find any instruction on the source page on how to actually deploy this. That would be a nice touch imho.

[–] d0ntpan1c@lemmy.blahaj.zone 11 points 2 years ago

There are some detailed instructions on the docs site, tho I agree it'd be nice to have in the readme, too.

Sounds like the dev was not expecting this much interest for the project out of nowhere so there will def be gaps.

[–] SanndyTheManndy@lemmy.kya.moe 3 points 2 years ago

The docker image page has it

[–] JustAnotherKay@lemmy.world 3 points 2 years ago

Or even a quick link to the relevant portion of the docs at least would be cool

[–] danielquinn@lemmy.ca 13 points 2 years ago (1 children)

It's a rather brilliant idea really, but when you consider the environmental implications of forcing web requests to ensure proof of work to function, this effectively burns a more coal for every site that implements it.

I don't think AI companies care, and I wholeheartedly support any and all FOSS projects using PoW when serving their websites. I'd rather have that than have them go down

[–] computergeek125@lemmy.world 11 points 2 years ago (1 children)

Found the FF14 fan lol
The release names are hilarious

[–] Couldbealeotard@lemmy.world 9 points 2 years ago (1 children)

What's the ffxiv reference here?

Anubis is from Egyptian mythology.

[–] PumaStoleMyBluff@lemmy.world 7 points 2 years ago

The names of release versions are famous FFXIV Garleans

[–] mannycalavera@feddit.uk 4 points 2 years ago

Upvote for the name and tag line alone!

load more comments
view more: next ›