Block a range IP's

Requests for RPMS, or new coding projects related to server administration, Plesk, security, or anything else you can think of.
BerArt
Forum Regular
Forum Regular
Posts: 478
Joined: Tue Jan 15, 2008 3:57 am
Location: Netherlands

Block a range IP's

Unread post by BerArt »

Is it possible (with a script and cron) to check the deny.host entries on IP’s and than block IP ranges based on rules like:

If 5 IP from the same range, block the whole range.

Would be nice to set these rules or variables in a conf

"Last week a customer received a lot of bad things from a but load of IP’s from a certain hoster in the middle east, we had to block 255.255.0.0 before it stopped on the hardware firewall."
best regards,

http://hosting.ber-art.nl
Professional Secure Linux Plesk Hosting
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

We have a blacklist function that will do this in the next ASL release, 1.9.9, which is available in the asl-2.0-testing channel now. We're wrapping up on the GUI updates for it today.
BerArt
Forum Regular
Forum Regular
Posts: 478
Joined: Tue Jan 15, 2008 3:57 am
Location: Netherlands

Unread post by BerArt »

Perfect! :)
best regards,

http://hosting.ber-art.nl
Professional Secure Linux Plesk Hosting
xetic
Forum User
Forum User
Posts: 9
Joined: Tue Sep 21, 2010 5:45 pm

Re: Block a range IP's

Unread post by xetic »

I realize this post is super old, but I was wondering if the GUI can currently be used to blacklist a range of IPs via defined range ex 192.168.0.0-192.168.0.255 or per CIDR ex 192.168.0.0/18

EDIT:

Just tested and it is possible to block by CIDR in the GUI.
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4149
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: Block a range IP's

Unread post by mikeshinn »

:-)

So yes, you can! ;-)
Post Reply