IP Blacklist?
Posted by: ms308680 (---.hfc.comcastbusiness.net)
Date: October 10, 2009 04:34PM

With the logs from the Server, How would I go about blocking IP's or IP ranges?



Edited 1 time(s). Last edit at 10/10/2009 04:49PM by ms308680.

Re: IP Blacklist?
Posted by: SgtLegend (121.214.100.---)
Date: October 10, 2009 08:31PM

Create a .htaccess file and add this into it

order allow,deny
deny from IP HERE
allow from all

Re: IP Blacklist?
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: October 10, 2009 08:53PM

hi if you need help just contact me thru msn

Stevenmartin99@hotmmail.com

ip ranges shud be written in format below

Deny from 127.0.0.1
Deny from 10.0.0.0/8
Deny from 172.16.0.0/12
Deny from 192.168.0.0/16


this would be blocking all possible local access in the ranges below

Deny from 127.0.0.1
Deny from 10.0.0.0 - 10.255.255.255
Deny from 172.16.0.0 - 172.31.255.255
Deny from 192.168.0.0 - 192.168.255.255




if you want to block from all sites then add it to your httpd.conf file

if just for one site then use a htaccess in that folder

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Sorry, only registered users may post in this forum.