1 |
diff -Nur --no-dereference smeserver-fail2ban-0.1.18.old/root/etc/fail2ban/filter.d/wordpress-hard.conf smeserver-fail2ban-0.1.18/root/etc/fail2ban/filter.d/wordpress-hard.conf |
2 |
--- smeserver-fail2ban-0.1.18.old/root/etc/fail2ban/filter.d/wordpress-hard.conf 2021-12-08 20:16:46.701000000 -0500 |
3 |
+++ smeserver-fail2ban-0.1.18/root/etc/fail2ban/filter.d/wordpress-hard.conf 2021-12-08 20:36:17.648000000 -0500 |
4 |
@@ -9,13 +9,15 @@ |
5 |
|
6 |
_daemon = (?:wordpress|wp) |
7 |
|
8 |
-failregex = ^%(__prefix_line)sAuthentication attempt for unknown user .* from <HOST>$ |
9 |
+failregex = ^%(__prefix_line)sSpam comment \d+ from <HOST>$ |
10 |
+ ^%(__prefix_line)sAuthentication attempt for unknown user .* from <HOST>$ |
11 |
+ ^%(__prefix_line)sXML-RPC multicall authentication failure from <HOST>$ |
12 |
^%(__prefix_line)sBlocked user enumeration attempt from <HOST>$ |
13 |
^%(__prefix_line)sBlocked authentication attempt for .* from <HOST>$ |
14 |
+ ^%(__prefix_line)sAuthentication attempt for unknown user .* from <HOST>$ |
15 |
+ ^%(__prefix_line)sREST authentication attempt for unknown user .* from <HOST>$ |
16 |
^%(__prefix_line)sPingback error .* generated from <HOST>$ |
17 |
- ^%(__prefix_line)sSpam comment \d+ from <HOST>$ |
18 |
^%(__prefix_line)sXML-RPC authentication attempt for unknown user .* from <HOST>$ |
19 |
- ^%(__prefix_line)sXML-RPC multicall authentication failure from <HOST>$ |
20 |
|
21 |
ignoreregex = |
22 |
|
23 |
diff -Nur --no-dereference smeserver-fail2ban-0.1.18.old/root/etc/fail2ban/filter.d/wordpress-soft.conf smeserver-fail2ban-0.1.18/root/etc/fail2ban/filter.d/wordpress-soft.conf |
24 |
--- smeserver-fail2ban-0.1.18.old/root/etc/fail2ban/filter.d/wordpress-soft.conf 2021-12-08 20:16:46.706000000 -0500 |
25 |
+++ smeserver-fail2ban-0.1.18/root/etc/fail2ban/filter.d/wordpress-soft.conf 2021-12-08 20:24:58.531000000 -0500 |
26 |
@@ -21,8 +21,11 @@ |
27 |
# (?:::f{4,6}:)?(?P<host>[\w\-.^_]+) |
28 |
# Values: TEXT |
29 |
# |
30 |
-failregex = ^%(__prefix_line)sAuthentication failure for .* from <HOST>$ |
31 |
+failregex = ^%(__prefix_line)sEmpty username from <HOST>$ |
32 |
+ ^%(__prefix_line)sAuthentication failure for .* from <HOST>$ |
33 |
^%(__prefix_line)sXML-RPC authentication failure from <HOST>$ |
34 |
+ ^%(__prefix_line)sREST authentication failure for .* from <HOST>$ |
35 |
+ ^%(__prefix_line)sXML-RPC authentication failure for .* from <HOST>$ |
36 |
|
37 |
# Option: ignoreregex |
38 |
# Notes.: regex to ignore. If this regex matches, the line is ignored. |