this post was submitted on 04 Jul 2025
115 points (96.0% liked)

Selfhosted

60870 readers
890 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
 

everytime i check nginx logs its more scrapers then i can count and i could not find any good open source solutions

you are viewing a single comment's thread
view the rest of the comments
[–] savvywolf@pawb.social 66 points 1 year ago (7 children)

I've seen people suggesting and using Anubis, haven't used it myself though.

[–] Mordikan@kbin.earth 12 points 1 year ago

I especially love the irony of Anubis using yesterday's hype thing to combat today's.

[–] DrunkAnRoot@sh.itjust.works 10 points 1 year ago

i tried Anubis and it works great the only issue is it wont support multiple subdomains

[–] RedBauble@sh.itjust.works 4 points 1 year ago* (last edited 1 year ago) (1 children)

Second Anubis, just finished by setup yesterday i have it of a oracle cloud frre tier vps, which depending on the domain routes the traffic to services hosted on the vps itself or to my server ar home. Relatively easy to setup, blocks most requests with very few false positives (one of which for example it would aggressively challenge by thunderbird trying to reach my baikal instance). I set a bit more aggresive rules than default (i also block googlebot and bingbot, since i received a bit more requests than I'd like). In like 10 hours it straight up denied about 5000 requests from the ai-catchall ruleset (mostly amazonbot) and challenged about 10000, mostly from a block of IPs in singapore, some of the hosts having the user agent of a Macintosh with PowerPC. They all sure love to explore the public repos on my git server.

I'm in the process of changing servers for an upgrade, the old one still hosting more services while I setup the new one. The old one now does run audibly quiter. I don't even want to think how much electricity went wasted because of those bots

[–] VeganCheesecake@lemmy.blahaj.zone 5 points 1 year ago (2 children)

You probably don't need me to tell you, but keep good backups. Friend of mine recently had his account nuked without any reason given, and without the possibility of recourse.

a mail from Oracle, informing about the immediate termination of service, and deletion of all data

[–] WhyJiffie@sh.itjust.works 2 points 1 year ago

as I heard that's pretty common at oracle, but it's good to spread the word

[–] RedBauble@sh.itjust.works 1 points 1 year ago* (last edited 1 year ago)

That's too bad. Luckily i keep just a couple of docker compose stacks there. But I should start backing them up, that vps is the only thing I don't backup

[–] Typewar@infosec.pub 2 points 1 year ago* (last edited 1 year ago) (1 children)

I have a dumb question.. what is preventing the crawlers from just eating the shit and just burn though the energy to get through the computational task?

[–] savvywolf@pawb.social 1 points 1 year ago

It'll still slow them down and reduce load on your server. I also think many of these crawlers focus on volume; time spent computing the hash is time not spent crawling someone else's site.

I’ve had trouble with it using a vpn and privacy browsers. It often blocks me until I use a default browser.

[–] Courantdair@jlai.lu 1 points 1 year ago

I was going to recommend that, very easy to setup