Removed
Link Here
|
1 |
--- etc/ssh.conf.orig 2006-08-20 10:22:37.000000000 +0400 |
2 |
+++ etc/ssh.conf 2009-10-14 03:46:53.000000000 +0400 |
3 |
@@ -14,8 +14,17 @@ |
4 |
# comment: correct user, but wrong password |
5 |
#sshd[72626]: Failed password for samm from 1.2.3.4 |
6 |
# |
7 |
-regexp = sshd.*Illegal user \S+ from (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) |
8 |
-regexp1 = sshd.*Failed password for (?:illegal user )?\S+ from (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) |
9 |
+# comment: other messages |
10 |
+#sshd[41945]: error: PAM: authentication error for alice from 192.168.0.1 |
11 |
+#sshd[41945]: error: PAM: authentication error for illegal user root from 192.168.0.1 |
12 |
+#sshd[41945]: Failed keyboard-interactive/pam for invalid user root from 192.168.0.1 port 64507 ssh2 |
13 |
+#sshd[16666]: Failed unknown for illegal user asdfasdfasd from 192.168.0.1 port 52652 ssh2 |
14 |
+#sshd[16666]: Did not receive identification string from 192.168.0.1 |
15 |
+# |
16 |
+regexp = sshd.*(?:Illegal|Invalid) user \S+ from (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) |
17 |
+regexp1 = sshd.*Failed \S+ for (?:(?:illegal|invalid) user )?\S+ from (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) |
18 |
+regexp2 = sshd.*error: PAM: authentication error for (?:(?:illegal|invalid) user )?\S+ from (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) |
19 |
+regexp3 = sshd.*Did not receive identification string from (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) |
20 |
|
21 |
# Number of failed login attempts within time before we block |
22 |
max_count = 4 |