[CentOS] Simple way to banish IP addresses ?

Frank Cox theatre at sasktel.net
Fri Oct 9 19:53:19 UTC 2009

On Fri, 09 Oct 2009 20:35:25 +0200
Niki Kovacs wrote:

> Hi,
> I just set up a web server... and my bandwidth is being eaten by some 
> chinese folks trying to brute-force-ssh their way into the machine.
> Is there a simple way to banish either single IP addresses or, maybe 
> even better, whole IP classes ? I know it's feasible with iptables, but 
> is there something more easily configurable ?

man hosts.allow
man hosts.deny

MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com

More information about the CentOS mailing list