Lines 1-6
Link Here
|
1 |
--- config/filter.d/bsd-sshd.conf.orig 2015-11-03 04:11:30 UTC |
1 |
--- config/filter.d/bsd-sshd.conf.orig 2020-03-27 11:15:56 UTC |
2 |
+++ config/filter.d/bsd-sshd.conf |
2 |
+++ config/filter.d/bsd-sshd.conf |
3 |
@@ -0,0 +1,40 @@ |
3 |
@@ -0,0 +1,41 @@ |
4 |
+# Fail2Ban configuration file |
4 |
+# Fail2Ban configuration file |
5 |
+# |
5 |
+# |
6 |
+# Author: Cyril Jaquier |
6 |
+# Author: Cyril Jaquier |
Lines 31-36
Link Here
|
31 |
+ ^%(__prefix_line)sFailed [-/\w]+ for .* from <HOST>(?: port \d*)?(?: ssh\d*)?$ |
31 |
+ ^%(__prefix_line)sFailed [-/\w]+ for .* from <HOST>(?: port \d*)?(?: ssh\d*)?$ |
32 |
+ ^%(__prefix_line)sROOT LOGIN REFUSED.* FROM <HOST>\s*$ |
32 |
+ ^%(__prefix_line)sROOT LOGIN REFUSED.* FROM <HOST>\s*$ |
33 |
+ ^%(__prefix_line)s[iI](?:llegal|nvalid) user .* from <HOST>\s*$ |
33 |
+ ^%(__prefix_line)s[iI](?:llegal|nvalid) user .* from <HOST>\s*$ |
|
|
34 |
+ ^%(__prefix_line)s[iI](?:llegal|nvalid) user .* from <HOST> port \d*$ |
34 |
+ ^%(__prefix_line)sUser \S+ from <HOST> not allowed because not listed in AllowUsers$ |
35 |
+ ^%(__prefix_line)sUser \S+ from <HOST> not allowed because not listed in AllowUsers$ |
35 |
+ ^%(__prefix_line)sauthentication failure; logname=\S* uid=\S* euid=\S* tty=\S* ruser=\S* rhost=<HOST>(?:\s+user=.*)?\s*$ |
36 |
+ ^%(__prefix_line)sauthentication failure; logname=\S* uid=\S* euid=\S* tty=\S* ruser=\S* rhost=<HOST>(?:\s+user=.*)?\s*$ |
36 |
+ ^%(__prefix_line)srefused connect from \S+ \(<HOST>\)\s*$ |
37 |
+ ^%(__prefix_line)srefused connect from \S+ \(<HOST>\)\s*$ |