I personally use nginx-ultimate-bad-bot-blocker but also custom IP ranges (the entirety of Israel plus GAFAM), and fail2ban.
I saw a dramatic drop in scraper-related traffic, although I still have some offenders trying to access (and failing in doing so).
Which solution do you use?
I use Anubis. I’ve been impressed with it so far. I attempted to get an LLM to access it, and it gave up, so I consider that a win.
I’ve considered something like this, but setting it up always ends with like 47 tabs open for different terms and acronyms I don’t know.
Love Anubis! It took 2 prompts (analyze and explain, then, go for it) with my local AI, this is one the big advantages of using AI for your benefit.
I gave up five years ago after (mostly Claudebot) saturated my link with millions of requests for the same files. I spent some time converting my websites to statics (Hugo, mostly) and put them on Cloudflare Pages for free.
Now I don’t care what accesses them, I have no security concerns and they’re faster and more robust than I could ever provide.
The remaining services I selfhost are behind various layers that block all but personal use.
Same. I use cloudflare for all my public shit. I also use cloudflare for some personal styff i want to be abøe to reach anywhere, like seer etc.
I mean for me, personally, wire guard vpn behind crowdsec (cluster to cluster vpns and then a user vpn). On my user vpn I access my apps through teleport then through the k8s ingress (traefik).
I don’t see any issues expect people hitting the public side of my vpns.
Anything that gets more that four 404 or 403 errors in 10min gets fail2banned. All my services are behind auth. Basic scanners get caught looking for services I don’t have, anything else gets caught trying to guess creds.
Unplug the power plug and send your devices to ewaste. Even then, its not guaranteed to avoid LLMs.
When I went outside to touch grass, even the grass was LLM
Boo
Large landscape meadow?
Perhaps I should try speaking to it?
I am confident putting everything behind VPN access and not directly exposing it to the Internet will work 100% of the time and continue working in the future. Everything else will be an arms race.
I know that doesn’t actually help with the kind of solution you are looking for. But any time you can lock it behind VPN access will make it easier to secure.
What sources do you use for blocking all of Israel plus GAFAM? Any good segment list?
I still find the iocaine approach the smartest. Let the primary crawler fetch urls (including and especially the tarpit ones) because they’re low traffic, and block most ips trying to access tarpit urls. Most, because you still want to grab ips that access tarpit urls to block them in the future. No need to block those ips eternally, they’ll only appear a few times, and worst of all they’re actual users’ ips so they might also appear for legitimate traffic.
I do find it ethically better than blocking ips based on geographical regions. But blocking whole ASNs managed and used by tech companies is worth it. I saw a nice decrease banning Meta at IP level.
I like looking at different lists to see what scrapers are listed (there’s ai.robots.txt, CrawlerCheck, “Ultimate Block List to Stop AI Bots” by Jeff Starr, the list from GEO Toolbox, Known Agents which was previously known as Dark Visitors). There’s also checking logs to see what other user agents (or such) appears.
Instead of blocking, there’s some people who redirect the scrapers to honeypots or junk sites (do something unique and have a unique URL to have it harder for LLM to block, personally I like doing a url that is randomly generated).
There’s also “secret botnets” that if you block a certain user-agent, they will reappear under a different IP and user-agent (neocities did a whole Bluesky thread on it, which is worth a read).
You won’t be able to catch everything, but you can at least make it harder for them.
Honey pot with a zip bomb? Make it expensive on their side.
Thanks for this insightful reply!
I do the following in order:
- geoblock China (and some other Asia blocks) and South America via Caddy file
- Useraget block lists
- Tarpit any other suspicious via iocane
Cut impressions from over 200/sec to ~6-8 average
how do you geoblock with a caddyfile? setting mine up it seems like something i want to set up
{$LEMMY_HOSTNAME} { import caddy-common ###################################### ########## log files ########## log cn_blocked { output file /data/cn-blocked.log format json no_hostname } ########## iocaine code ########## @read method GET HEAD reverse_proxy @read host.docker.internal:42069 { @fallback status 421 handle_response @fallback } ########## cn blocking code ########## @blocked { remote_ip 1.0.1.0/24 1.0.2.0/23 1.0.8.0/21 1.0.32.0/19 1.1.0.0/24 1.1.2.0/23 1.1.4.0/22 1.1.8.0/21 1.1.16.0/20 1.1.32.0/19 1.2.0.0/23 1.2.2.0/24 1.2.4.0/22 1.2.> remote_ip 43.254.248.0/21 43.255.0.0/21 43.255.8.0/22 43.255.16.0/22 43.255.48.0/22 43.255.64.0/20 43.255.84.0/22 43.255.96.0/22 43.255.144.0/22 43.255.176.0/22> remote_ip 103.8.8.0/22 103.8.32.0/22 103.8.52.0/22 103.8.68.0/22 103.8.108.0/22 103.8.156.0/22 103.8.200.0/21 103.8.220.0/22 103.9.8.0/22 103.9.24.0/22 103.9.10> remote_ip 103.72.128.0/21 103.72.148.0/22 103.72.172.0/22 103.72.180.0/22 103.72.224.0/19 103.73.0.0/19 103.73.48.0/22 103.73.116.0/22 103.73.120.0/22 103.73.12> remote_ip 103.132.112.0/21 103.132.120.0/22 103.132.160.0/21 103.132.188.0/22 103.132.208.0/21 103.132.234.0/23 103.133.12.0/22 103.133.40.0/22 103.133.128.0/22> remote_ip 103.216.16.0/20 103.216.32.0/20 103.216.64.0/22 103.216.108.0/22 103.216.136.0/22 103.216.152.0/22 103.216.156.0/23 103.216.224.0/21 103.216.240.0/20 > remote_ip 114.68.0.0/16 114.79.64.0/18 114.80.0.0/12 114.96.0.0/13 114.104.0.0/14 114.110.0.0/20 114.110.64.0/18 114.111.0.0/19 114.111.160.0/19 114.112.0.0/14 > remote_ip 125.214.96.0/19 125.215.0.0/18 125.216.0.0/13 125.254.128.0/17 128.108.0.0/16 129.28.0.0/16 129.204.0.0/16 129.211.0.0/16 132.232.0.0/16 134.175.0.0/1> remote_ip 202.9.34.0/23 202.9.48.0/23 202.9.51.0/24 202.9.52.0/23 202.9.54.0/24 202.9.57.0/24 202.9.58.0/23 202.10.64.0/20 202.10.112.0/20 202.12.1.0/24 202.12.> remote_ip 203.6.150.0/23 203.6.157.0/24 203.6.159.0/24 203.6.224.0/20 203.6.248.0/23 203.7.129.0/24 203.7.138.0/23 203.7.147.0/24 203.7.150.0/23 203.7.158.0/24 > remote_ip 203.31.85.0/24 203.31.97.0/24 203.31.105.0/24 203.31.106.0/24 203.31.108.0/23 203.31.124.0/24 203.31.162.0/24 203.31.174.0/24 203.31.177.0/24 203.31.1> remote_ip 223.208.0.0/13 223.220.0.0/15 223.223.176.0/20 223.223.192.0/20 223.240.0.0/13 223.248.0.0/14 223.252.128.0/17 223.254.0.0/16 223.255.0.0/17 223.255.2> } route @blocked { # log_name cn_blocked respond "<h1>Access Denied</h1>" 403 } ########## cn block ends ########## ######################################I think you left in some of those >s from nano.
Yes I did
why block asia and south america?
I get no legitimate traffic from there and It was maybe 95% of traffic I was seeing.
Blocking the entirety of China and India will drop the numbers even further.
The fuck did I do, bhenchod!
In my experience if you block areas like this, it slows down temporarily but then you see other SEA and South American countries pop up. You block them they just start proxying through thousands of residential IPs using their botnet of dodgy apps installed on people’s smart TVs.
I don’t block them. Microsoft pays all my web hosting bills.
how come
I just use a wildcard domain cert and a random higher port number while hiding my SSH port behind WireGuard. The only activity I see is from myself
I just can’t be bothered to keep up the fight against AI/LLMs/Scrapers. I have my own quiet corner of the internet now while the robots can have rest of the easily accessible internet
Similarly, I specifically don’t host anything on my base
example.comandwww.example.comsubdomains. If anything hits either of those, they’re instantly blacklisted because I know they’re a bot. Because none of my services use those subdomains, so I know that only bots are attempting to access them.Also, if it attempts to access Wordpress, it gets instantly blocked. None of my services use Wordpress, and lots of malicious bots will probe it for vulnerable extensions. At one point, probes looking for default Wordpress settings were like 80% of my blocked bots.
Can you elaborate on the setup? Is the reverse proxy blocking anything but preconfigured subdomains? Or some cert auth scheme?
My ISP supplied modem/router doesn’t have a DMZ so I just port forward my reverse proxy port and WireGuard port.
Then I use Caddy to handle a single wildcard domain cert. Caddy then redirects sub-domains to their respective localhost port number.
My firewall redirects WireGuard connections to my SSH port.
I don’t block anything. I only host static pages so I don’t use any authentication. If I hosted services then I would probably use some sort of authentication. Other than that, it’s really simple.
In the past nearly 2 years I’ve been doing this I have had no one attempt to connect but myself. It’s nice having quiet and easy to parse logs.
I did the same wildcard, random port and wireguard stack. I added basic auth and geoblock in Traefik too.
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:
Fewer Letters More Letters ISP Internet Service Provider IoT Internet of Things for device controllers SSH Secure Shell for remote terminal access VPN Virtual Private Network VPS Virtual Private Server (opposed to shared hosting) k8s Kubernetes container management package nginx Popular HTTP server
[Thread #199 for this comm, first seen 5th Dec 2026, 01:10] [FAQ] [Full list] [Contact] [Source code]
Depends. What kind of service are you trying to protect?
Personally I just don’t publish anything to the Internet. I used to have a hosted blog but I let it expire when WordPress shit the bed.
A blog engine I wrote, a static site and my gopherhole, served by nginx and gopherd, and protected with ufw, fail2ban, and a lot of nginx rules. My server is otherwise protected by SSH, no interactive login (only SSH key).
I also have in place a naive yet efficient rule in place for scrapers, similar to a nephentes honeypot.












