$arr_780 ), array( 3, false, $arr_781, $arr_782 ), array( 2, false, " type=\"image/x-icon\" />\n", $arr_783 ) ) ); ?> array( 4, $arr_10, "if", $arr_245, $arr_248 ), array( 2, false, "\n", $arr_249 ) ) ); ?> Closing the Book » Linux Magazine
 

Fighting dictionary attacks with Sshutout and Fail2ban

Sshutout [1] is a daemon written in C that checks a logfile for invalid SSH logins at frequent intervals. If Sshutout discovers a pattern of failed login attempts by a client, it blocks the client according to iptables rules. After a configurable delay, the penalty is automatically revoked.

Activating the Ban

All it takes to install the 32KB tarball is the usual make; make install.

The daemon is located in /usr/local/sbin after the install, and its configuration file is /etc/sshutout.conf.

[...]

Read full article as PDF »

comments powered by Disqus

Direct Download

Read full article as PDF »

News