diff options
author | Olivier Mehani <shtrom@ssji.net> | 2016-11-03 23:57:24 +0100 |
---|---|---|
committer | Olivier Mehani <shtrom@ssji.net> | 2016-11-03 23:57:24 +0100 |
commit | 5921ae9fc7b77c46f5297d3c2f1cbc1cfaa18cf2 (patch) | |
tree | ab26635e6499d7f1a9bea30ce2925bbaf122488c /openbsd | |
parent | eb80f08bf5b831f50e8a227a9aa281fa77c98808 (diff) |
[denyhost] Better catch-all pattern
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
Diffstat (limited to 'openbsd')
-rwxr-xr-x | openbsd/denyhost.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd/denyhost.sh b/openbsd/denyhost.sh index 902c2c1..06831f0 100755 --- a/openbsd/denyhost.sh +++ b/openbsd/denyhost.sh @@ -21,7 +21,7 @@ LOCAL_ADDR=root@`hostname` HTTP_LOG=/srv/www/logs/access_log HTTP_PATTERN="etc.passwd" SSH_LOG=/var/log/authlog -SSH_PATTERN=".*\(Invalid user\|Failed password\).*from \([0-9a-fA-F.:]\+\).*" +SSH_PATTERN=".*\(ailed password\).*from \([0-9a-fA-F.:]\+\).*" AUTHTRIES=3 # single digit EXPIRY=604800 # s; 1w BLOCKERS_FILE=/etc/blockers.list |