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

Selfhosted

44837 readers
607 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 2 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
[–] [email protected] 25 points 1 day 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.

[–] [email protected] 20 points 1 day ago* (last edited 1 day 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.

[–] [email protected] 2 points 13 hours ago (1 children)

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

[–] [email protected] 3 points 13 hours ago

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

[–] [email protected] 69 points 1 day ago* (last edited 1 day ago) (3 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.

[–] [email protected] 12 points 21 hours 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.

[–] [email protected] 23 points 1 day ago (3 children)

If you remember the project I would be interested to see it!

But I've seen some AI poisoning sink holes before too, a novel concept as well. I have not heard of real world experiences of them yet.

[–] [email protected] 31 points 1 day ago

I'm assuming they're thinking about this

A pseudonymous coder has created and released an open source “tar pit” to indefinitely trap AI training web crawlers in an infinitely, randomly-generating series of pages to waste their time and computing power. The program, called Nepenthes after the genus of carnivorous pitcher plants which trap and consume their prey, can be deployed by webpage owners to protect their own content from being scraped or can be deployed “offensively” as a honeypot trap to waste AI companies’ resources.

Which was posted here a while back

load more comments (1 replies)
[–] [email protected] 7 points 1 day ago (2 children)

generates an infinitely deep tree

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

[–] [email protected] 4 points 7 hours 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.

[–] [email protected] 7 points 1 day 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.

[–] [email protected] 16 points 1 day 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.

[–] [email protected] 18 points 1 day ago* (last edited 1 day ago) (1 children)

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

[–] [email protected] 6 points 1 day 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

[–] [email protected] 11 points 1 day ago (1 children)

Found the FF14 fan lol
The release names are hilarious

[–] [email protected] 9 points 1 day ago (1 children)

What's the ffxiv reference here?

Anubis is from Egyptian mythology.

[–] [email protected] 7 points 1 day ago

The names of release versions are famous FFXIV Garleans

[–] [email protected] 17 points 1 day ago* (last edited 1 day 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.

[–] [email protected] 3 points 1 day ago

The docker image page has it

[–] [email protected] 11 points 1 day 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.

[–] [email protected] 3 points 1 day ago

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

[–] [email protected] 23 points 1 day ago (2 children)

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

[–] [email protected] 36 points 1 day ago* (last edited 1 day 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)
load more comments
view more: next ›