r/linux • u/ItsWappers • 2d ago
Discussion How come every Linux site uses Anubis (the anime girl stopping crawlers) instead of something like Cloudflare?
Before discovering the Linux rabbit hole I've only seen Cloudflare, hCaptcha and Google's reCaptcha, but it seems like every Linux website uses Anubis... I'm thinking of it being the only open-source option or it being the most effective/modern approach.
483
u/Trick_Spend3939 2d ago
Because I don’t want my site at the whim of yet another mega corp that can dictate what I can and cannot do with it.
→ More replies (34)
282
u/cAtloVeR9998 2d ago
Because many are self-hosted. And only Anubis can be self-hosted.
29
u/KinkyMonitorLizard 2d ago
There's at least one other option but its name escapes me currently.
24
u/Irverter 2d ago
Gandalf?
20
u/Master-Vegetable1088 2d ago edited 2d ago
Gandalf is the first that came to my mind when thinking of another too, but it's not available to third parties.
Edit: fixed link
22
u/Jean_Luc_Lesmouches 1d ago
What you can't read, you can't reverse-engineer.
They have no idea what reverse engineering means lol
2
7
22
2
114
248
u/Wheatleytron 2d ago
The Linux community is pretty hardcore about open source. It's a critical part of what makes Linux what it is, after all.
→ More replies (88)
173
u/309_Electronics 2d ago edited 2d ago
- Selfhostable
- foss
2 core reasons. If cloudflare turns totally evil (and they are a big company so thats not impossible) you are cooked. You either then ditch them or must obey to their rules and tos (they could change at any time).
Also as a bonus, even though i am not that much into anime, i find the anubis jackall girl quite cute and its drawn by an actual artist (the first revision was AI generated but that was in the early days when it still was a very smal project and simply actwd like a placeholder).
Deployed on my blog and forgejo git server because i wanted to dirch bigrech and be less dependent on them..
56
u/necheffa 2d ago
Not if they turn evil, but when.
30
26
u/sylvester_0 2d ago
I've always got the feeling that they're an NSA honeypot. Like, I had that feeling when they were up and coming 10+ years ago. Being MITM for a huge chunk of TLS transactions puts them in an exceptionally powerful position.
7
17
u/Traditional_Hat3506 2d ago
Not when, but how much more.
4
u/swarmOfBis 2d ago
Neither of these seem very bad. Quite the opposite. Maybe cloudflare's services are used by some bad people, but the stance of "no company should decide what content gets to stay up" is very reasonable.
If you ask me this section would be much better if it contained cases like this https://robindev.substack.com/p/cloudflare-took-down-our-website.
→ More replies (2)→ More replies (2)3
u/sylvester_0 2d ago
I'm a progressive but none of that really makes me raise my eyebrows. Yes, the provided services to POS groups, but they're a neutral carrier. I think that's what we should ask of our internet infrastructure providers. We may not agree with the ideaology of some of those sites, but if they start banning sites they could do the same thing to liberal "extremists" as well.
→ More replies (1)→ More replies (9)12
u/Vicus_92 2d ago
They don't have to turn evil. They just need to receive a shit order from the government that they're under the jurisdiction of.
Oh, look who that is right now!
116
u/HeyKid_HelpComputer 2d ago
I ask myself the opposite. Why are open source based projects using Cloudflare instead of something like Anubis...
60
u/SoilMassive6850 2d ago
Mainly because of other functionality. Anubis is mainly there to provide proof of work load against scraping and bots at layer 7, but Cloudflare has the pipes to handle and protect you from attacks on the lower layers of the OSI model.
Barely anyone has the capacity to provide such a service.
21
u/singron 2d ago
Anubis doesn't work as well as it used to. This is a really good explanation: https://people.kernel.org/monsieuricon/creepy-crawlies
TL;DR: scrapers easily solve anubis challenges and use residential proxies so that they only make a few requests to your domain from each IP. A single anubis instance can't correlate enough traffic to block scrapers before they change IPs.
Cloudflare can correlate traffic from all of their sites and essentially ban bots before they make the first request to your site.
→ More replies (2)→ More replies (2)20
u/404invalid-user 2d ago
because it's free I know with certainty my 900down/100up mbps connection isn't stopping any sort of ddos
→ More replies (12)
26
28
u/Kiom_Tpry 2d ago
Anubis is the guider of souls, protector of tombs, and weigher of hearts; who would trust another for the task?
8
u/ThePhyseter 2d ago
Im not dead! D:
8
6
22
16
23
u/cbarrick 2d ago
Even though Linux is used widely by corporations, the core Linux community is still staunchly FOSS.
In fact, the GPL is one of the biggest reasons that Linux was successful, forcing everyone to play nice together.
Core Linux community infra will always use FOSS tools when available.
→ More replies (1)
8
u/__Myrin__ 1d ago
because cloudflare fucking sucks,
captchas are the worst thing that ever happened to the web
6
u/LogSpecialist24 1d ago
If you want to use anubis make sure to configure it correctly.
I've seen many instances where it's misconfigured and you can bypass it by changing your useragent.
Also it blocks low effort junk it doesn't really block bots.
If some company wanted to scrape your website for research they can afford to let the bot run a few extra seconds pass the challenge and start grabbing all relevant data from the website.
24
u/415646464e4155434f4c 2d ago
Because fuck Cloudflare.
10
u/flecom 2d ago
and especially fuck google and those stupid captchas, on your on a vpn? have fun training our AI for free for the next 20 minutes
i just click off any site with a captcha now, tired of it
→ More replies (1)3
u/Padgriffin 1d ago
At this point the AI is probably better at solving captchas than we are
I love hunting for bikes in the very corner of the image half obscured by a car
12
11
u/ARPA-Net 1d ago
Many german cloud providers and state official pages have this now. You can imagine my shock when i opened a gouverment page and saw an anime girl
3
6
15
u/novafunc 2d ago
Cloudflare tries to stop bots entirely through many measures, some of which prevent actual humans from getting to the site.
Anubis is simpler. Your computer performs an intense calculation, you get permission to see the site. It does not stop bots entirely; if a bot hoster wants to dedicate more resources to scraping, they can bypass it. But it does good enough to stop sites from getting DDoSed by bots.
2
u/awkwin 1d ago
To add on to that, one of the way Cloudflare (and many commercial captcha provider) works is by building your reputation across the internet. It may be tied to cookie, IP or other means of fingerprinting. Some people do object to this, and they also do shadowbanning by making captchas that will never let you pass -- if you need to jump through 100 hoops to pass bots will do it, but human will likely give up, and banning them immediately just tell the bot maker that whatever they just did trip the detection.
Anubis doesn't do any of that. I don't think it will be as good as stopping bot like Cloudflare, especially if it is determined ones/targeted attack, but it is good for preventing drive by attacks like exploits scanners or LLM scraping.
11
u/jort93 2d ago
It's definitely a new approach.
Most of the captchas try to somehow check if the user is human, Anubis doesn't check, but instead just ask he client to do some work.
You can use Anubis in conjunction with other services as well.
A lot of main stream sites use Anubis too, they just change the splash screen. Even UNESCO uses Anubis on some parts of their site.
9
u/dumbasPL 1d ago
They don't do the same thing, this is purely to make it more expensive for bots to scrape the site. While cloudlfare does a lot. DDoS protection, WAF, Access Control, and also blot blocking.
The main advantage is that you're trafic isn't going through a third party (privacy, and an additional point of failure), and doesn't require a captcha as its proof of work based, so it's more accessible to people with disabilities for example.
→ More replies (3)11
u/Linux_Account 1d ago
I've never even considered how CAPTCHA might impact people with disabilities. Damn.
5
14
u/TheRealMyst 1d ago
I don't understand why there are no more people against CloudFlare. I understand the importance of protecting your infrastructure. But I'm not sure if users understand, while paying a VPN to protect their privacy, that CloudFlare views the traffic they send to the website they visit, clearly, even with HTTPS, password, name, addresses, etc. Everything can be read by CloudFlare. If they want, they can create the biggest database of personal information. Why is it not a bigger problem ? Did I miss something.
→ More replies (2)
31
u/iamrubythecutie 2d ago
- It's free
- It's selfhostable
- It's cute 🥹
4
u/FlourishingSolo 1d ago
The first time I came across Anubis, immediate "Oh my people have been here". Really fun moment in my linux journey and I didn't even need my programing socks lol
→ More replies (1)
10
u/IncidentalIncidence 2d ago
I mean it shouldn't be a huge mystery why linux websites in particular would prefer an open-source and self-hosted tool over a commercial solution.
11
u/gvs77 2d ago
As others said, Cloudflare cannot be self hosted. But it has one huge problem because of that and how it works.
It terminates SSL (https) which means that Cloudflare has access to all data sent between clients and websites. Usernames, passwords, measage content, all of it.
Cloudflare is like a giant MiTM attach on SSL and a giant weak spot where all data is decrypted. If they are ever hacked or have one employee with sufficient access gone rogue, the fallout will be massive and there is no way to protect against it.
→ More replies (2)7
u/TheRealMyst 1d ago
CloudFlare is an American company, with just the Patriot Act, the US government can do what they want.
→ More replies (1)
20
u/Dekamir 2d ago
I just wish the default image was a cool Anubis picture.
Also I rather see an anime girl instead of solving 5 different captchas that feeds AI.
2
u/ChuggingtonSquarts 1d ago
Im just surpirsed we dont see more sites customizing the image
→ More replies (1)
11
u/longdarkfantasy 2d ago
To use cloudflare you have to enable their proxy feature, which comes with a lot of limitations. Even if you buy "premium, enterprise", it still has limitations. For example, it doesn't support ssh connection. Also their proxied DNS are literally middleman. It injects their analytics js to your website.
8
u/Aihikari01 1d ago
Because Anubis is cute.
And if a cute anime girl is going to be your problem, that's sad.
5
u/AcidOverlord 1d ago
Because they need something. Bots are an absolute menace in the present day and age. There are better options than a giant homebrew Go proxy though.
5
6
7
u/ScientistStrict9850 2d ago
I wonder why bots don't become more sophisticated in response to anubis. The technology is definitely there to make it more efficient without hammering a site like a madman. It's not particularly difficult to pass anubis either.
13
u/geocar 2d ago
Anubis doesn’t block bots.
There are no dark web forums of people cursing out anubis. Nobody who makes bots felt any pressure to because bots already run JavaScript no problem. Some bots are browsers that are basically remote controlled and indistinguishable in most cases from human traffic, and sometimes they even share the same screen and cookies with an unwilling/unknowing human.
Anubis blocks some junk traffic. Some people have more junk than others, and some sites junk traffic causes harm by denying service.
→ More replies (6)→ More replies (2)5
u/ElvishJerricco 1d ago
It is quite literally impossible to defeat the goal of anubis. It is not meant to block anything. It is meant to increase the cost of doing what bots do. The sites that deploy it are ones that have expensive endpoints; e.g. anything where a URL causes the server to generate a git diff is somewhat expensive for that server to process in large enough numbers. The point of anubis is to make the compute substantially more expensive for the bots than it is for the server so that it doesn't actually make sense for the bots to do it. Bots will literally never find a way to make the costs of doing a large number of hashes cheap; the whole idea of hashes is that this can't be done. At most, bots can spend a large amount of compute to get through anubis quickly; but that's fine. As long as the bot has to spend substantially more compute doing this than the server would, anubis has fulfilled its purpose.
→ More replies (6)
7
u/ChocolateDonut36 2d ago
theorically cloudfllare is the best option with the free plan, but there's a huge issue: cloudflare isn't FOSS, and to be honest Anubis ain't bad, most of the times it takes less than a second to verify.
and being Anubis self hosted means that they literally control their stuff, not a third party company.
17
3
u/mustaghees 2d ago
Idk why but sometimes Anubis takes a long ass time or maybe just gets stuck at the proof of work, and I can never open the site
3
u/Resident_Pientist_1 2d ago
POW verification makes botnets unprofitable so it's more effective than just say rate limiting or other access control techniques that are computationally trivial to break or scale around.
3
u/killersteak 2d ago
i get infinite cloudflare loop using firefox esr trying to access ubuntu's message system from google results.
3
3
3
12
u/pacafan 2d ago
There seem to be a lot of people that don't understand what cloudflare does. Anubis is cool but it is not a replacement for Cloudflare or it's globally distributed network that can stop/absorb Ddos at the edge. 🤷
→ More replies (2)7
u/TampaPowers 2d ago
That scale should worry you, because it means they have a lot more resources to bend the internet than should be allowed. I find it mindblowing how everyone hates Google for their stranglehold on the net, but cloudbleed gets a free pass on this, why?
4
u/rntdev 1d ago
I can’t remember Cloudflare doing anything anti-consumer. They handle tens of millions of websites, most of which are for a grand total of $0, have a 99.99% SLA, don’t do advertising or sell your data. Anyways they have tons of competition in every field, developers can swich off anytime
7
5
17
u/aledrone759 2d ago
Anime Canadá girl nice
14
u/UndefFox 2d ago
I've noticed that Linux alternatives really show just how much IT are in such fandoms, like anime, furry... When trying to setup my own matrix server I went to their site to see what they have to offer. Ones on the top were: FluffyChat as a client, and home servers such as: Continuwuity and Tuwunel.
For those who want to check themselves: https://matrix.org/try-matrix/
4
u/FaultWinter3377 2d ago
Yeah as an anime fan myself they may be taking that a little far… I’d prefer to go with a character name, or a Japanese word.
4
u/gavff64 2d ago
not even saying this as a joke. Genuinely think we’d be in a worse place collectively without the furries and weebs carrying the IT scene.
→ More replies (1)
4
u/gaorp 2d ago
i read many ai scrapers can bypass this so I cant see the point of it when it also locks out people with bad computers or javascript off
17
u/Comic_Melon 2d ago
It still stops the majority of "low effort ai scrapers" , which still saves a ton in terms of server costs.
It's very easy to see the difference in terms of metrics.
5
u/gaorp 2d ago
do you have any metrics I can look at? curious about it
→ More replies (3)2
u/agowa338 2d ago
I don't have metrics at hand, but a lot of projects posted them on Fedi a few months ago when they implemented Anubis. Many were annoyed that they had to go that lenghts. But AI scrapers were hitting expensive endpoints for no reason and ignoring robots.txt on the masses. As well as basically DDOSing the project by using stuff like proxy framework or a certain crypto coin that gets mined by letting ai scrapers use your internet connection, or many more...
6
u/SparOfAndii 2d ago
It’s not so much about blocking 100% of bot traffic (where there are bound to be false positives) but rather making it extraordinarily expensive for bots to crawl your site en masse
→ More replies (1)
7
u/National_Way_3344 2d ago
Cloudflare has a history of censorship, and also seeks to centralise the whole internet by having every site rely on it or risk being botted to oblivion.
The censorship is a problem because basically anyone they don't like or get enough complaints about will get rug pulled and have no protection.
2
2
2
u/Coldplayfan1999 2h ago
The first time I learn of this girl was when I was research scholars articles of gender issues
3
11
u/AnonomousWolf 2d ago edited 2d ago
Anubis is cool, I just wish it didn't have a little "cure" girl as the mascot and all over the website.
I wanted to reccomend it to be used at work to deal with bots, but didn't feel comfortable doing so because of the "cutesie little girl" mascot
Edit: the problem isn't that you can't change the mascot, the problem is that it will be up on screen in meetings as MY suggestion.
22
u/oddcellstudios 2d ago
https://anubis.techaro.lol/docs/admin/botstopper
there is an (albeit paid) version that lets you customize it to your liking5
u/CompetitiveSleep4197 1d ago
How is this enforceable? It's MIT-licensed. I can customize the free version to my liking without paying a cent.
2
u/freedomlinux 1d ago
You're right - you can make your own fork with customized branding.
The commercial version I would assume is for companies who are not willing to maintain that themselves. Plus, if this thing gets widely-deployed in your company, I guess access to the "private bug tracker" is a potential reassurance to management that you have "vendor support".
The fee for BotStopper is very low compared to the time/cost of an employee to deal with a fork.
→ More replies (1)2
u/_TecnoCreeper_ 1d ago
If you fork it you have to maintain the fork, if you pay they take care of that and you just need to configure the branding. If I understand correctly.
9
u/TampaPowers 2d ago
Implying they know exactly how to get projects that want to look more professional to help fund them, which is both genius and a little disgusting.
5
u/AnonomousWolf 2d ago edited 2d ago
The issue is I want to tell my colleagues "hey let's use Anubis, here's a link" and then not have them be met with a cuitsie little animie girl.
As I said elsewhere: I love Anime, I actually watch a lot of it.
But I hate how weird it is sometimes and the fan service is just gross.
Eg. Dr. Stone is a very chilled anime about a scientist and feels like a kids show. Probably my favourite animie.
Yet they decide to give all the women boobs, each literally bigger than their head.
Anime has a reputation of having gooner/pedo vibes, there is no way I'm comfortable reccomending a tool with that mascot at work, even if it can technically be removed.
→ More replies (2)23
u/creeper6530 2d ago
You can remove the mascot, but they ask you to donate some money then (because you don't do advertising for them then)
5
u/TheTrailrider 2d ago
I wonder if we can just leave the name "Anubis" in but no mascot? So that way they get free advertising and customers is happy with the mascot-less page?
8
→ More replies (1)6
u/Candid_Highlight_116 2d ago
It's a clear and strong messaging that you're not welcome if you can't tolerate anime
→ More replies (2)6
6
u/euthanize-me-123 1d ago
They should pick a cute animal mascot instead. Acceptable in polite society and still makes a niche group overrepresented in open source (furries) happy.
Wait it's literally called Anubis, why isn't it a furry??
→ More replies (72)17
u/OffsetXV 2d ago
Anubis is like the single least offensive and off-putting chibi mascot for any project, frankly
9
3
u/bakaspore 2d ago
Cloudflare Turnstile (the challenge applet) is extremely hostile. It's not a captcha but a torture dedicated to FOSS users not being a Chrome user on macOS: can you imagine that infinite refresh loops without a way out is a documented feature of it?
4
u/Ambitious-Call-7565 1d ago
"why not everyone choose to be put behind US Great Firewall"
DUMMMASSSSSSS
3
5
3.0k
u/Flash_Kat25 2d ago
- Anubis is self-hosted, Cloudflare is not. With cloudflare, you rely on their infrastructure
- Anubis is FOSS, Cloudflare's tools are not
- using cloudflare carries uncomfortable baggage with a single corporation controlling so much internet infrastructure. Some people (particularly in the FOSS world) refuse to use it for that reason