Phil Foxton wrote:


The script is shown below, any ideas?  Basically I need to drop any connection
attempts shown as authentication failures, am I trying to re-invent the wheel?


Pretty much. The preferred method of dealing with SSH dictionary attacks is:

a) Configure your SSHD to only allow authentication via shared keys. That way, a dictionary attack can never succeed.

b) Use the 'Limit' built-in action to limit the rate of SSH connection attempts from individual IP addresses (http://www.shorewall.net/PortKnocking.html#Limit).

-Tom
--
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [EMAIL PROTECTED]
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to