sshd break-in attempt

Peter N. M. Hansteen peter at bsdly.net
Fri Jan 5 01:09:39 PST 2007


Nathan Vidican <nvidican at wmptl.com> writes:

>  of attempts). Anyhow, long story short; is there not an easy way to
> make sshd block or deny hosts temporarily if X number of invalid
> login attempts are made within a minute's time? 

if you use pf, it's fairly straightforward with an overload rule, see eg
http://home.nuug.no/~peter/pf/en/bruteforce.html

Cheers,
-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
"First, we kill all the spammers" The Usenet Bard, "Twice-forwarded tales"
Dec 22 02:13:59 delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.


More information about the freebsd-questions mailing list