Roberto C. Sánchez wrote:
> On Sat, Jan 17, 2009 at 05:51:42PM +0100, Martin Leben wrote:
>> An even better solution (in MY opinion) is to install fail2ban. It watches 
>> the 
>> log files and bans the IP addresses that makes repeated failed login 
>> attempts. 
>> All parameters can be configured, such as number of attempts, ban time etc.
>>
> 
> Simply do this:
> 
>  - restrict login to key-based authentication
>  - make use of AllowUsers/AllowGroups in sshd_config

Couldn't agree more.


> It makes things like fail2ban (and other port knocking schemes)
> basically unnecessary.

I agree. But the upside with having fail2ban is that the log files are cleaner. 
Much of the noise is gone.

BR
/Martin


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to