Repo server now Anubis-protected
Moderators: Lootyhoof, FranklinDM
-
- Pale Moon guru
- Posts: 37764
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Repo server now Anubis-protected
Because of the stupidity that is AI scraping (of exponentially many copies of the exact data because scrapers are really not intelligent) I've now installed the Anubis traffic filter in front of the repo server. This will task the browser with a javascript challenge before first access; just have some patience. Subsequent accesses will be much faster after the browser has passed the required Proof of Work challenge.
If you run into issues with this, let me know.
If you run into issues with this, let me know.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Newbie
- Posts: 4
- Joined: 2025-02-17, 18:52
Re: Repo server now Anubis-protected
Wouldn't simple captcha suffice? Or is everyone using Death By Captcha now?
-
- Pale Moon guru
- Posts: 37764
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Repo server now Anubis-protected
You can't incorporate a captcha on every page load.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Fanatic
- Posts: 152
- Joined: 2020-05-01, 13:16
Re: Repo server now Anubis-protected
Maybe some fail2ban action will suffice? If they are not changing IP during one scrapping session...
-
- Moon Magic practitioner
- Posts: 2415
- Joined: 2018-05-05, 13:29
Re: Repo server now Anubis-protected
Linking every piece of literature would take too long, just know that every "traditional" solution you are thinking of has been tried already (not by Moonchild, in general by every web service) and they do not work; Anubis is the one that seems to work reasonably well especially under constrained resources.
-
- Pale Moon guru
- Posts: 37764
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Repo server now Anubis-protected
I've manually mitigated the worst offenders the past couple of months, and they use all the tricks in the book to make traditional banning pointless: large swathes of IP pools from cloud providers, varying useragents, etc. you can have 100+ scraping requests causing massive server load without a single repeat IP, for example. Rate limiting is marginally effective only, requiring broad scope checking, and I've had to outright ban certain geographical regions to be able to deal with the worst (which I'd prefer not to do) so no, there isn't a "traditional" way to handle this because of the scale and scope of the bad actors.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Astronaut
- Posts: 594
- Joined: 2022-08-10, 02:25
Re: Repo server now Anubis-protected
Anubis is not a huge problem. I deal with it on invidio instances all the time. Its a minor annoyance. Not like recaptcha and hcaptcha and others.
Recaptcha is pure evil btw.
Anubis? is actually decent.
Recaptcha is pure evil btw.
Anubis? is actually decent.
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!
-
- Astronaut
- Posts: 552
- Joined: 2019-08-13, 00:30
- Location: Casumia
Re: Repo server now Anubis-protected
Which places have been banned? A list would be helpful for anyone who happens to live in such a country and is confused to find that he is being blocked.
Browser: Pale Moon (official build, updated regularly)
Operating System: Linux Mint Debian Edition 4 (amd64)
※Receiving Debian 10 ELTS security upgrades
Hardware: HP Pavilion DV6-7010 (1400 MHz, 6 GB)
Ash is the best letter.
Operating System: Linux Mint Debian Edition 4 (amd64)
※Receiving Debian 10 ELTS security upgrades
Hardware: HP Pavilion DV6-7010 (1400 MHz, 6 GB)
Ash is the best letter.
-
- Pale Moon guru
- Posts: 37764
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Repo server now Anubis-protected
Primarily China (for bot hammering), India and Pakistan (for fake accounts trying to SEO the shit out of gitea).
They get an explanatory page though.
Once I'm confident Anubis is doing a good job, I'll probably remove it again (as a test first and if no issue, permanently)
They get an explanatory page though.
Once I'm confident Anubis is doing a good job, I'll probably remove it again (as a test first and if no issue, permanently)
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Newbie
- Posts: 4
- Joined: 2025-02-17, 18:52
Re: Repo server now Anubis-protected
Why would you need a captcha every page load? Once a day should be enough. For scraping and similar activities you collect a huge list of proxies and simply keep switching as the proxies get blocked. If there's a global captcha, then you have only 2 choices, either complete it by yourself (scrapers won't bother) or use DBC. Unless it's actually worth it, you usually don't want to pay for DBC. 

-
- Pale Moon guru
- Posts: 37764
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Repo server now Anubis-protected
Not sure what you're blathering on about. This solution in place now works -- doesn't require people to do anything except be a little patient the first time they visit, and is pretty hands-off otherwise. There's no way to incorporate a captcha unless you're happy to hit it with an API request each page load (which may or may not trigger a challenge), which in the case of providers like Google for recaptcha is just feeding them user profiling on a silver platter (and recaptcha isn't free if large volume, either).
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Newbie
- Posts: 3
- Joined: 2025-06-21, 22:30
Re: Repo server now Anubis-protected
I have a bot that is scraping one of your RSS feeds (its a good bot, only once per day). Anubis is now blocking this. Worth allowing correctly announced bots to RSS feeds?
-
- Pale Moon guru
- Posts: 37764
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Repo server now Anubis-protected
I can adjust the policy for it, but I need to know exactly what you're requesting. What is the useragent and what RSS URLs are you requesting?
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Moonbather
- Posts: 57
- Joined: 2023-04-13, 07:57
Re: Repo server now Anubis-protected
But the GeoBlock is still here?
-
- Newbie
- Posts: 3
- Joined: 2025-06-21, 22:30
Re: Repo server now Anubis-protected
Hi, the user agent is:
Code: Select all
Mozilla/5.0 (compatible; Hexydec Browser Versions Bot/1.0; +https://github.com/hexydec/versions/)
Thanks.
-
- Pale Moon guru
- Posts: 37764
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Repo server now Anubis-protected
See if it works for you now.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Moonbather
- Posts: 60
- Joined: 2023-10-28, 18:59
Re: Repo server now Anubis-protected
I’ve had Basilisk closing itself two times when facing the Anubis challange in the repo server. Unfortunately I can’t provide actually useful data. It may be due to the way I handle cookies: I sanitize every time I close the browser, which is often.
One thing I notice is that this is the Anubis challange that takes the longest to verify. Also I remember sometimes reading that “verification is taking longer than expected” and “difficulty: 4”, but it passes nonetheless.
One thing I notice is that this is the Anubis challange that takes the longest to verify. Also I remember sometimes reading that “verification is taking longer than expected” and “difficulty: 4”, but it passes nonetheless.
-
- Pale Moon guru
- Posts: 37764
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Repo server now Anubis-protected
How long the challenge takes depends on multiple factors; the challenge is also not fixed-time, but proof-of-work, which means it can be quick or it can be slow depending on randomness involved.
I do recommend for your own sanity to not wipe cookies for the repo server so it doesn't trigger every time. As you should be well-aware, we don't track users and we don't serve ads, so all cookies stored for us are by definition all functional cookies.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Newbie
- Posts: 3
- Joined: 2025-06-21, 22:30
-
- Pale Moon guru
- Posts: 37764
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Repo server now Anubis-protected
Great. Thanks for the feedback.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite