Log in

View Full Version : Banning the IP range of a Troll


mark350
01-31-2009, 10:51 PM
Hello,

I am having a problem with a troll on our website... I hope someone on here can help me...

We keep banning this person from our site (ban his IP address), however, he uses proxy data to quickly obtain a new IP and he'll simply re-register. So I decided to try something, however, I don't know if it's correct.

I've saved some of this person's IP address:
99.130.166.131
99.162.51.163
99.162.60.125
99.162.60.125
99.130.160.76
99.172.129.159
99.172.129.159
99.162.51.127
99.1.97.125

I went to whois.sc and got this information:
NetRange: 99.0.0.0 - 99.55.255.255

I then added this code to my .htaccess

order allow,deny
deny from 99.0.0.0
deny from 99.55.255.255
allow from all

Is this correct, or will I be banning the entire state of Chicago or something? Do you have any better suggestions on how to handle this guy?

** Currently, I am using this code:

order allow,deny
deny from 99.
allow from all

Thanks in advance for any help.

Jon Tolzien
01-31-2009, 11:57 PM
Well in your user ban options, you can ban those ip rangers. Admin cp > Vbulleting options >User bann options Yea you might ban the a whole area, but thats for you to decide. You can ban the whole ip range. So if you just type 99 in the corresponding area. It will do the rest for you. Meaning it will ban everyone starting with 99.
Like i said, its up to you to ban that many people, but if it was my forum I would ban him and let him move on, then you can try removing that huge ban of IPs. Hope that helped

mark350
02-01-2009, 12:30 AM
Thanks for the information... and just for clarification, I am using .htaccess to put in the banning code (site uses more than just vbulletin).

I am currently using this code:

order allow,deny
deny from 99.
allow from all

This would ban all IP's starting with 99, correct?