Tom Eastep 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).
And/or install a tool like fail2ban that will block access from IPs that have authentication failures - actions and conditions are configurable but defaults are 'sane'. ------------------------------------------------------------------------- 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
