The number of "guests" accessing the forum was steadily rising (no it isn't AI trying to learn, it's purely malicious). To begin with it was a few chinese IP addresses that I blocked with .htaccess, but that only infuriated the perpetrators, who switched to a smarter attack mode involving thousands of worldwide IPs wisely balanced over time to avoid detection. There would be a few thousand of them browsing the forum at any given time. Then I made the forum "dark web" requiring login to even read topics, all to no avail. In a typical "whack the bot" response, they intensified the attack, even though they couldn't read anything. The excess PHP usage in the forum started failing the main website (xplorer² downloads, contact forms etc). I had to pull the forum down for a few days. They were still trying to access the phpbb forum pages!
These guys wouldn't go away, so I moved my website under cloudflare. Their free plan is limited but has worked out for my problem. I had to relocate the entire zabkat.com domain but only the subdomain forum.zabkat.com is under cloudflare control ("orange cloud"). I guess I was lucky that the attack had a simple pattern — as revealed by my analytics and access log investigation — and could be dealt with a few cloudflare security rules:
* I had a problem with zabkat.com emails failing DKIM, which was fixed by manually copying a couple CNAME to cloudflare DNS records
Effectively you get only 5 rules to work with in the free plan (the rate limiting rule is unusable) but that's adequate for many people. For more information you can ask the cloudflare support AI chatbox, which is quite helpful — albeit it takes too much time thinking to give a straight answer!
ps. it has just occurred to me that if you are a conspiracy theorist, all this "pointless" IP abuse by the orientals is really helping cloudflare's bottom line, no? <g>
Post a comment on this topic »