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

Selfhosted

44902 readers
1006 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
[–] merthyr1831@lemmy.ml 69 points 2 days ago* (last edited 2 days 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.

[–] paperd@lemmy.zip 15 points 2 days 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.

[–] zutto@lemmy.fedi.zutto.fi 23 points 2 days 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.

[–] ltxrtquq@lemmy.ml 31 points 2 days 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)
[–] NeoNachtwaechter@lemmy.world 7 points 2 days 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 1 day 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 8 points 2 days 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 25 points 2 days 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 20 points 2 days ago* (last edited 2 days 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 1 day ago (1 children)

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

[–] crmsnbleyd@sopuli.xyz 4 points 1 day ago (1 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

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

What I'm thinking about is more that in Linux, it's common to access URLs directly from the terminal for various purposes, instead of using a browser.

[–] crmsnbleyd@sopuli.xyz 1 points 1 day ago

If you're talking about something like curl, that also uses its own User agent unless asked to impersonate some other UA. If not, then maybe I can't help.

[–] Goretantath@lemm.ee 17 points 2 days 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 days ago* (last edited 2 days ago) (1 children)

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

[–] BackgrndNoize@lemmy.world 7 points 2 days 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 days ago* (last edited 2 days 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 days 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 days ago

The docker image page has it

load more comments (1 replies)
[–] computergeek125@lemmy.world 11 points 2 days ago (1 children)

Found the FF14 fan lol
The release names are hilarious

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

What's the ffxiv reference here?

Anubis is from Egyptian mythology.

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

The names of release versions are famous FFXIV Garleans

[–] enemenemu@lemm.ee 23 points 3 days 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 36 points 3 days ago* (last edited 3 days 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)
[–] danielquinn@lemmy.ca 14 points 3 days ago (2 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.

[–] zutto@lemmy.fedi.zutto.fi 30 points 2 days ago

You have a point here.

But when you consider the current worlds web traffic, this isn't actually the case today. For example Gnome project who was forced to start using this on their gitlab, 97% of their traffic could not complete this PoW calculation.

IE - they require only a fraction of computational cost to serve their gitlab, which saves a lot of resources, coal, and most importantly, time of hundreds of real humans.

(Source for numbers)

Hopefully in the future we can move back to proper netiquette and just plain old robots.txt file!

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

load more comments
view more: next ›