[Patch] fail2ban.0.7.6-3ubuntu1 ssh-filter

Sasha.Kiev sashainkiev at gmail.com
Sun Sep 30 11:32:08 UTC 2007


Linux Ubuntu 7.04 Server
uname -r: 2.6.20-16-server
version: fail2ban                     0.7.6-3ubuntu1

file: /etc/fail2ban/filter.d/sshd.conf

line: failregex = (?:Authentication failure|Failed [-/\w+]+) for(?: [iI](?:llegal|nvalid))? user .*(?: from|FROM) <HOST>
don't work

change to: failregex = sshd\[\d+\]:\s+\(pam_unix\)\s+authentication failure; .* rhost=<HOST>

WBR
Sasha.Kiev





More information about the ubuntu-users mailing list