Crazy amount of guests

I recently made a new user group for suspected bots. They have limited permissions until they have posted 5 times. Until then they can't view member profiles nor send DM's or put anything in their sig. I also force 2FA on them. And every post needs to be manually approved.
For several years I've done something similar, but more to combat spam. The first few posts are held in moderation, and they only get basic posting permissions with no DMs, and only a couple of other permissions. Once they cross the threshold, they are then added to a Verified group. I might remove a few more permissions, especially the ability to view profiles.

One other thing I did was do a direct database modification by changing everyone's privacy settings to "Members only" so that nothing would be exposed publicly, as opposed to some of them being set to "All visitors" by default. I doubt more than a few members even know the privacy settings exist.

It sucks that we've had to do any of this, but that's the Internet in 2026 for ya... 🫤
 
I have a forum that is 25 years old. I don't have these problems. I can't help but think that some of your issues are related to unrestricted traffic into the server. I've monitored the traffic on the server for years, and I block ASN's and IP ranges at the firewall that are known for probes, etc. I also have a script that runs and pulls these two block lists-
https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/firehol_level1.netset
https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/stopforumspam_7d.ipset

Note- these lists are cross checked with our CDN provider to prevent them from being blocked- https://api.bunny.net/system/edgeserverlist/plain/

In addition to that, I also use the server software firewall and pull this list and block countries- https://www.ipdeny.com/ipblocks/data/countries/$Country.zone
$TargetCountries = @("ae", "ai", "al", "am", "ao", "ar", "az", "ba", "bd", "be", "bg", "bo", "br", "by", "ch", "cl", "cn", "co", "do", "dz", "ec", "ee", "eg", "et", "ge", "hk", "hn", "id", "il", "in", "iq", "ir", "is", "jm", "jo", "jp", "ke", "kg", "kh", "kr", "kw", "kz", "lb", "ma", "md", "mk", "mm", "my", "ng", "nl", "no", "np", "om", "pa", "pe", "ph", "pk", "pl", "ps", "pt", "py", "ro", "rs", "ru", "sa", "sg", "sn", "sy", "th", "tn", "tr", "tw", "ua", "uy", "uz", "ve", "vn", "za")

Firewall/Software Country Blocks on China, India, Russia, etc. We never have legitimate users that live there.

Anything that does rarely get through is caught by https://atelieraphelion.com/products/signup-abuse-detection-and-blocking.64/ which I have used for years. I moderate any javascript disabled registrations for example. 100% catch rate for spammers just on that rule alone.

I've also used Gemini to review the website traffic logs and http error logs which has resulted in a large number of abort rewrite rules from probes and scans. The difference that has made is mind blowing. Also used it to tweak the php.ini and my.ini and my server has never had faster response times.

A long time ago, I also went back and locked all accounts that had not logged in for a while. Since the forum is so old, this can be a real probem with compromised passwords.

The party is over, the days of leaving the door open for the world are over. Obviously, some forums get traffic from these countries, but fortunately we don't, and it's easy to justify the blocks.

With that said, none of this has had any negative impact on the forum traffic, in fact, our usage and engagement is at record levels.

P.S. I've been able to identify a lot of the nefarious traffic from the Wordpress website traffic on the server.
Sadly for me it is more complicated. We have over 1 million total members and 10+ million posts, with around 15,000+ active users each month and around 500 registrations a day, from all over the world. I've had China on block for months now with little impact, but we do have active users from Russia, Bangladesh, many from India and Brazil, and others that have been deemed suspicious. I have to be extremely careful with how I limit access to the site, as it often results in someone sending an email asking why within 15 minutes.

I already have the Atelier Aphelion Signup Abuse addon installed, and yes it does help. I'll take a look at the blocklists you linked though and compare to the ones we currently have set up, thanks for sharing those!
 
I stopped using cloudflare. Instead, I am using the native linux nftables, with both ASN block filtering and IP block filtering. But there are just too many bots out there, so my forum is usually hovering around 50,000 visitors, and a couple dozen users ...

The server can handle it for now, so I occasionally let AI take a look at the apache logs and locate ASN blocks of IP blocks that are worth adding to the filter.
 
Sadly for me it is more complicated. We have over 1 million total members and 10+ million posts, with around 15,000+ active users each month and around 500 registrations a day, from all over the world. I've had China on block for months now with little impact, but we do have active users from Russia, Bangladesh, many from India and Brazil, and others that have been deemed suspicious. I have to be extremely careful with how I limit access to the site, as it often results in someone sending an email asking why within 15 minutes.

I already have the Atelier Aphelion Signup Abuse addon installed, and yes it does help. I'll take a look at the blocklists you linked though and compare to the ones we currently have set up, thanks for sharing those!

Yes - I find it quite iroinc to put something on the global network and then block a whole country (or several of them). Coming from Google to a country block is a bad user experience.

For other stuff - it's looking like a cat-and-mouse game where it is getting harder and harder to stay on top.

Maybe forums will die out in general, pretty soon. That's what it looks like.
 
Instead, I am using the native linux nftables, with both ASN block filtering and IP block filtering. But there are just too many bots out there, so my forum is usually hovering around 50,000 visitors, and a couple dozen users ...
Country, IP, and ASN blocking does nothing for the residential proxies, which in many (most?) cases is the bulk of bot traffic we are seeing on our sites these days during attacks. A week or two ago, four of the top 10 IPs accessing our site during a bog swarm were from residential Internet providers in the US; blocking them does no good, as they'll quickly shift to another set of IPs.

There are a lot of tips within the last dozen or so pages of this thread showing what to look for to calm the traffic from residential proxies, and few of them involve challenging IPs or ASNs.
 
Yes - I find it quite iroinc to put something on the global network and then block a whole country (or several of them). Coming from Google to a country block is a bad user experience.
Probably no one likes doing that - yet it is an effective measure to hedge the problem. Pretty much like today barely anyone will allow guest posts w/o registration in the forum. The 1990s are gone, where free access to anything on the net used to be the standard. Bad players have been and are misusing the freedom and this is the consequence. Not much different if you need a visa and a passport to visit a country despite there are roads and flight connections.

I do for a bunch of reasons do not have a world wide audience with the forum language being a big one. I do barely have regular or genuine guest visitors from outside my core countries. No one from Brazil, Argentina, China, India, South Africa, Mexico, Peru, Zambia, Congo, Oman, Iran or a lot of other countries will visit my forum usually: The topic is of no interest to them typically and they don't understand the language anyway. Still they were free to visit for years. Now, that I see a constant stream of bots coming from these countries I've locked the doors. Won't hurt anyone, with bad luck 20 people over the course of a year. A small price in comparison to the gain of blocking the armies of bots from these countries.

Country, IP, and ASN blocking does nothing for the residential proxies, which in many (most?) cases is the bulk of bot traffic we are seeing on our sites these days during attacks.
Rather the opposite. Blocking ASNs and single IPs locks out quite a bunch of bad actors. Blocking countries locks out loads of residential proxies and leaves a way smaller pool that you have to deal with.
swarm were from residential Internet providers in the US; blocking them does no good, as they'll quickly shift to another set of IPs.
Well, the US is the major source of bad bots, residential as well as data-center based ones. The US have always been and still are my biggest source of traffic, sadly most of it is crap. Almost all of it that is not the legitimate Search Engine Bots. AWS from the US is my typically my biggest source of traffic per ASN - not a single one of these requests is legitimate or from a genuine user. Locking out the ASN stops them and does not hurt anybody. Same goes for loads of other data-center ASNs from the US. Yet there is the immense amount of residential proxies from the US left.
The solution is simple: I do only have a handful of users from the US. They can still log in with their account, but the US as a country are blocked on my forum. Problem solved. If you are US based or have relevant parts of your audience coming from there: bad luck. But the US are not the only country in the world, not the center of the earth and completely irrelevant for a lot of forums as a source of visitors. So they can simply block the country while letting Google, Bing and Apple search engine bots pass.

Then there is the huge amount of bad-to-the-bone ASNs that spread their IPs internationally. Easy to block, no harm at all. Obviously, country blocking is not an option for my core visitor countries. But I can (and do) block bad data center ASNs. One problem less. What stays as a challenge are residential proxies from within my core countries - but these are a small percentage of what I would have to deal with w/o country and ASN blocking. I hedge these further with IP reputation checks through proxycheck.io which does catch a couple every day. All other guests have to go through a CF challenge. Solve rates are very volatile - between 18% and 85% in a 24h window. Typically, the more bots try the lower the solve rate gets and in fact not too many guests get through per day. If they do they will only see parts of the forum and there the first post of a thread w/o registering.

So while I cannot say my forum would be bot free I am pretty sure it is almost bot free. And clearly, that bots cannot scrape much, even if they get through. Country and ASN blocking does have a very relevant part in that, it blocks more than 90% of the crap. Simple, effective and w/o having to adjust rulesets every day. So to claim it would be of no use is utter bs.

Obviously everyone's mileage is different. If you can't block the worst countries (namely the US) for good reasons you have a less effective setup. Still blocking helps to hedge the problem and if you don't do it your problem will be bigger. Simple stupid.
 
Last edited:
Yes - I find it quite iroinc to put something on the global network and then block a whole country (or several of them). Coming from Google to a country block is a bad user experience.

For other stuff - it's looking like a cat-and-mouse game where it is getting harder and harder to stay on top.

Maybe forums will die out in general, pretty soon. That's what it looks like.
Makes you wonder if that’s the intention. They’ve already scraped all our forums probably, have the conversation and information so to AI it might not matter if forums cease to exist as they already have all the history and data. So keep hitting us till we give up and then everyone goes to AI for answers perhaps?
 
I would never use Country blocking. ASN block and IP block based filtering has limited effect for my server, but then even with 50k bots the server load is at around 14% and memory is around 16%. So I am not in a fire fighting situation.

But when I have time, I want to use cloud AI to periodically analyze the apache2 logs and dynamically adapt the filters according to the changing ASN block and IP blocks.
 
even with 50k bots the server load is at around 14% and memory is around 16%. So I am not in a fire fighting situation.
True if all you care for is load. Untrue if you care to protect your content ending up in AI models (making visiting your forum unnecessary) and the privacy of your users. Also, your server seems somewhat overpowered for what it does. ;)
 
Yes - I find it quite iroinc to put something on the global network and then block a whole country (or several of them). Coming from Google to a country block is a bad user experience.
It depends on the forum. If it is specifically targeted to only a specific country or a region, there is no need to allow others. Yet other forums do have a global reach, so those would need to allow everyone, but challenge those that are questionable.

I've also felt that IP and ASN blocking is like the old saying--closing the barn door after the horses got out. Same with spam, ages ago. Banning individual email addresses was pointless. Blocking some email providers or domains helped, but with all the free email services so freely giving away accounts, there is no way to stop those.
 
It depends on the forum. If it is specifically targeted to only a specific country or a region, there is no need to allow others. Yet other forums do have a global reach, so those would need to allow everyone, but challenge those that are questionable.

I've also felt that IP and ASN blocking is like the old saying--closing the barn door after the horses got out. Same with spam, ages ago. Banning individual email addresses was pointless. Blocking some email providers or domains helped, but with all the free email services so freely giving away accounts, there is no way to stop those.

Even for local topics, in a local language (i.e. not one of the widely used languages like Spanish or Chinese), geo-blocking would only make somewhat sense if members never travel abroad. Though each to their own as they say.
 
Even for local topics, in a local language (i.e. not one of the widely used languages like Spanish or Chinese), geo-blocking would only make somewhat sense if members never travel abroad. Though each to their own as they say.
Some care to find reasons why something would not work (and judge heavily based on that), others find solutions.... Depends from how you do it. My forum members travel quite a lot and are never blocked if they are already logged in and if they are not they are always able to log in, no matter if they are in a blocked country, use a VPN or a blocked ASN. No rocket science involved, just a proper configuration of IP Threat Manager.

I've added this to the phrase on the 403-notification of Threat Manager (that I've customized anyway):


Block-Login.webp
 
Last edited:
I've also felt that IP and ASN blocking is like the old saying--closing the barn door after the horses got out. Same with spam, ages ago. Banning individual email addresses was pointless. Blocking some email providers or domains helped, but with all the free email services so freely giving away accounts, there is no way to stop those.
For one there's the Spaminator series, that does a pretty good job at blocking automated registrations. Then there's always the option to only allow registrations from certain countries or block certain countries or manual approve certain countries (Geoblock registration add on by Sim). And then there's the excellent Signup and abuse blocking add on from Xon. Then there is an add on that flters out registration attempts from throwaway-mailadresses. Consequence: I have not had a single spam registration com through in years.
As from my experience a lot of the spam registrations is tied either to Russia or are tied to Russian actors (the automated ones) or to Pakistan/India/Bangladesh (manual and sometimes automated ones) blocking nasty ASNs and problematic countries has a positive side effect here as well. The mail addresses they have been using over the last yeare have to 99% been yahoo.com or gmail.com addresses with an occasional hotmail or outlook.com in between.
 
I stopped using cloudflare. Instead, I am using the native linux nftables, with both ASN block filtering and IP block filtering. But there are just too many bots out there, so my forum is usually hovering around 50,000 visitors, and a couple dozen users ...

The server can handle it for now, so I occasionally let AI take a look at the apache logs and locate ASN blocks of IP blocks that are worth adding to the filter.
Unfortunately, I'm beginning to sound like a broken record on this particular question within this thread.... :D Have you considered implementing a Proof of Work challenge? While in recent weeks, PoW challenges have been getting solved here and there by the more advanced AI-Scrapers, it still hits the more abusive bots square in the plums, stopping them dead at the doorway.

 
Makes you wonder if that’s the intention. They’ve already scraped all our forums probably, have the conversation and information so to AI it might not matter if forums cease to exist as they already have all the history and data. So keep hitting us till we give up and then everyone goes to AI for answers perhaps?

I think it is just plain greed/stupidity. Many different folks using bots for scraping. Not a planned attack in such way.

What is planned is bad / broken search results and forcing AI answers in search engines.
 
Unfortunately, I'm beginning to sound like a broken record on this particular question within this thread.... :D Have you considered implementing a Proof of Work challenge? While in recent weeks, PoW challenges have been getting solved here and there by the more advanced AI-Scrapers, it still hits the more abusive bots square in the plums, stopping them dead at the doorway.

I like the idea of PoW Block--very lightweight, no Anubis bloat. But I'm way past the point of understanding how to set any of these up, unfortunately. My coding days are decades behind me now.
 
But I'm way past the point of understanding how to set any of these up, unfortunately. My coding days are decades behind me now.
Point claude at it and it will walk you through it, or just do it for you, if you wanted.

My new setup I will roll out in the next month or two, I have | Cloudflare (first line of defence for the easy stuff) > nginx + custom anti-abuse engine (request rates, identities, behavioural signals and more) > Forum.

They get past the first one solving it, they get caught in the second. Not ideal caught at the server, but better than them doing whatever they want. If I absolutely need to then add POW, I will slot it before the forum. Shouldn't need it though, as I have it running at 8k uncached requests per second before it auto throttles further requests to queue, cached it does over 50k rps before it queues and throttles requests. That is an insane level of traffic, like 500k+ users online at one time. Not going to happen.

And if that was only uncached requests, someone really getting creative and trying to bring the server down, its like 80k users online at once, also not going to happen. Tuning is the best line of defence so far.
 
Unfortunately, I'm beginning to sound like a broken record on this particular question within this thread.... :D Have you considered implementing a Proof of Work challenge?

Good info, thank you. Will look at the options you listed.
 
I like the idea of PoW Block--very lightweight, no Anubis bloat. But I'm way past the point of understanding how to set any of these up, unfortunately. My coding days are decades behind me now.
Just about all of the linked items have a 'setup once (precompiled), configure to your desire, forget about it' mindset. The major hurdle is that you have to set your web server to direct clients into the POW portal/walled garden. :)

As for me, I just like to compile stuff from source at least once to understand what is happening, primarily with what the binary is doing, before deploying it via docker or some form of container. :)
 
Good info, thank you. Will look at the options you listed.
Some notes for the items:

PoWBlock isn't true open source, but is open enough to understand what is transpiring. They compile the PoWBlock as a static binary within their releases.

Anubis is what I use, so I am a bit biased towards it. Anubis is highly extensible, and many consider Anubis to be bloated. I've stress tested it, tried many ways to make it blow up and explode and I just cannot get the same issues the other folks have claimed: extreme CPU utilization and high RAM usage. Granted, I'm using ValKey (Redis) to store session details, and have split-down Anubis instances for multiple websites rather using a single instance for all websites.

I have used Altcha in the past, but not since their v2.2 series. I was trialing it against Anubis at the time. :)

I have not proactively utilized Cap yet (I would like to at some point in the near future just to see what all it can do).
 
Back
Top Bottom