On Wednesday 06 April 2005 00:15, "Edwin D. Vinas" <[EMAIL PROTECTED]> 
wrote:
> hello,
>
> shown below is snapshot of too many illegal attempts to login to my
> server from a suspicious hacker. this is taken from the
> "/var/log/auth.log". my question is, how do i automatically block an
> IP address if it is attempting to guess my login usernames?

The easiest way to fix this problem most of the time is just change the 
ssh port to something else, like a high numbered port that's otherwise 
unassigned.

> can i 
> configure the firewall to check the instances a certain IP has
> attempted to access/ssh the sevrer, and if it has failed to login for
> about "x" number of attempts, it will be blocked automatically?

Yes, the best way to deal with this is through the firewall rather than 
sshd, if you still get people hammering away at your ssh port even 
after you change it. What are you using? You might want to check in 
chapter 24 of the handbook ...

- jt
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to