mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
8d0150f686
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
8 lines
324 B
Smarty
8 lines
324 B
Smarty
watchfor /Failed password for invalid user \w+ from ([\d\.]+) port/
|
|
exec "/usr/sbin/sshblock.pl $1"
|
|
threshold track_by=$1, type=threshold, count=3, seconds=90
|
|
|
|
watchfor /Failed password for root from ([\d\.]+) port/
|
|
exec "/usr/sbin/sshblock.pl $1"
|
|
threshold track_by=$1, type=threshold, count=3, seconds=30
|
|
|