blob: 9dd6725f5335f45d71d71d3f9dfefc796bd5b116 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
SSHblock is intended to dynamically and automatically stop SSH-based
dictionary attacks by blocking any IP address that fails an SSH
login too many times too quickly, and automatically unblocks it
after a while.
You may change the pre-defined configuration of SSHblock in
sshblock.pl.tpl (whitelist IP, email, and hostname).
NOTE:
You may need to add this in /etc/rc.d/rc.local after giving
execute permission on /etc/rc.d/rc.sshblock
# Start sshblock
if [ -x /etc/rc.d/rc.sshblock ]; then
/etc/rc.d/rc.sshblock start
fi
|