Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 2244

phpBB Discussion • Blocking bots that flood my phpBB with requests

$
0
0
I have a phpBB forum that has been running fine for 15 years but starting a few days ago, the forum suddenly receives myriads of requests from bots which slow down the whole forum and make it hardly usable. The bots aren't trying to register as new users or anything, they are just flooding phpBB with requests of random forum sites like 30 times per second which slows the forum down and also often causes HTTP 503 errors.

The Apache log file is now more than 650 megabytes for 24 hours, before the bot problem started it used to be around 50 megabytes. The problem is that the bots use many different IP addresses so I can't just go and block certain IP addresses in my .htaccess file to solve the problem because the traffic comes from too many different IP addresses. I've done a

Code:

cat access.log | awk '{print $1}' | sort -n | uniq -c | sort -nr | head -20
call on the Apache log to find out recurring IP addresses and this was the result:

Code:

9768 37.27.51.1478715 64.124.8.2035826 20.171.207.1402994 20.171.207.1442210 20.171.207.2111918 216.244.66.2261839 20.171.207.1001417 20.171.207.1801162 85.215.94.451019 20.171.207.31875 20.171.207.104811 20.171.207.225774 195.178.110.28746 20.171.207.84656 20.171.207.78616 20.171.207.54603 114.119.146.45594 114.119.138.185578 114.119.152.54571 114.119.159.26
As you can see, the most frequent IP address came up merely 9768 times which is not much for a 24 hour period and also considering the fact that the whole Apache log file is 2172533 lines. So I don't really know how I can solve this problem because the requests apparently come from many many different IP addresses :(

What can I do here to solve the problem? Can anybody help? Thanks!

Statistics: Posted by andyphp82 — Fri Feb 28, 2025 9:47 am



Viewing all articles
Browse latest Browse all 2244

Trending Articles