MyBB Community Forums

Full Version: Ban IP range question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi.
I believe my forum was included in some sort of "spam-software" recently, because since last week I have up to 10 spammers registering every day (never been before), and all of them are from Eastern Europe.
I've tried banning their IP addresses, but new spammers arrive.

Since my forum have nothing to do with Russia, Ukraine etc, I just want to ban the whole huge IP ranges AngryBig Grin

So my question is:
In the Control Panel > Configuration > Banning
If I want to ban all IP addressess within the following range: 77-95.*.*.*
Can I just ban it with this one line? (77-95.*.*.*) Will this work??
Or I need to enter every single line, like:
77.*.*.*
78.*.*.*
79.*.*.*
............
95.*.*.*

Thanks in advance Smile


(2011-08-03, 11:48 AM)Malcolm. Wrote: [ -> ]Your better off using a .htaccess to do that.

http://www.spambutcher.com/art1/317912/

http://www.spambutcher.com/htsample.txt

Hi Malcolm. Thanks for your reply!!!
I read about this method while I was searching for a solution, however found few opinions that if using .htaccess for this purpose it may slow down site performance? (I'm not that good with software, so don't know if it's true though). But if I want to block for example Russia and Ukraine - that's a lot of code - HUGE list. If I can do almost the same with just one line, like 77-95.*.*.* that would be great, and I'll cut out 90% of my spammers. I just don't know if it will work Smile