iptables out of memory?
Tom Buskey
tom at buskey.name
Thu Jan 29 17:05:41 EST 2009
On Thu, Jan 29, 2009 at 4:40 PM, Alan Johnson <alan at datdec.com> wrote:
> On Fri, Jan 23, 2009 at 11:25 AM, Tom Buskey <tom at buskey.name> wrote:
>
>> Given all this, would it be possible to use something like denyhosts to
>> block IPs?
>>
>
> You mean /etc/hosts.deny? I started there, but I found those files are
> kind of deprecated and switch to iptables.
>
denyhosts is a python script that goes though your /var/log/secure file
looking for sshd logging info.
It adds the "bad hosts" to hosts.deny to prevent ssh login attempts.
Entries can be permanent or temporary.
Umm, yum info denyhosts on my Fedora 10 box.
It might be possible to use/modify it for SMTP use?
There's a plugin for shorewall.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20090129/c5525f57/attachment.html
More information about the gnhlug-discuss
mailing list