XFileSharing Pro - Exploited Servers Blocklist

Message
Author
RootShell
Posts: 35
Joined: Jul 23, 2009 9:11 pm

Exploited Servers Blocklist

#1 Postby RootShell » Apr 23, 2011 9:16 pm

Hello,

Today I found a list with many blacklisted IP's : http://www.wizcrafts.net/exploited-serv ... klist.html

Can I block some Ip's from this list under apache without any problem ?

Cheers,

komi
Posts: 161
Joined: Nov 27, 2009 12:41 pm

#2 Postby komi » Apr 24, 2011 1:18 am

Why do you want to block them?

You can block IPs through Apache, but it is recommended to do it via iptables or even better through a hardware firewall if you can.

To block IPs through Apache, add following lines to either your httpd.conf or main .htaccess file:

Code: Select all

order deny,allow
deny from IPHERE

RootShell
Posts: 35
Joined: Jul 23, 2009 9:11 pm

#3 Postby RootShell » Apr 24, 2011 1:35 pm

komi wrote:Why do you want to block them?

You can block IPs through Apache, but it is recommended to do it via iptables or even better through a hardware firewall if you can.

To block IPs through Apache, add following lines to either your httpd.conf or main .htaccess file:

Code: Select all

order deny,allow
deny from IPHERE
I want to block this list, cuz it's contains most :
- proxy browsing services and server exploiters IP's ranges.
;)

chrda
Posts: 296
Joined: Sep 14, 2009 7:16 pm

#4 Postby chrda » Apr 24, 2011 5:23 pm

Add the CIDR ranges into csf.deny :)

RootShell
Posts: 35
Joined: Jul 23, 2009 9:11 pm

#5 Postby RootShell » Apr 24, 2011 5:27 pm

xD Added thx ;)

KristiKristo
Posts: 35
Joined: Jan 04, 2011 11:11 pm

#6 Postby KristiKristo » Apr 24, 2011 5:57 pm

This are done on the fileservers, or in the server where xFileSharing pro is located?

RootShell
Posts: 35
Joined: Jul 23, 2009 9:11 pm

#7 Postby RootShell » Apr 24, 2011 6:12 pm

KristiKristo wrote:This are done on the fileservers, or in the server where xFileSharing pro is located?
In the main Server where XFS is located ;)