WP fail2ban - Version 3.0.3

Version Description

  • Fix regex in wordpress-hard.conf
Download this release

Release Info

Developer invisnet
Plugin Icon 128x128 WP fail2ban
Version 3.0.3
Comparing to
See all releases

Code changes from version 3.0.2 to 3.0.3

Files changed (3) hide show
  1. readme.txt +7 -1
  2. wordpress-hard.conf +2 -2
  3. wp-fail2ban.php +1 -1
readme.txt CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://charles.lecklider.org/wordpress/wp-fail2ban/
5
  Tags: fail2ban, login, security, syslog
6
  Requires at least: 3.4.0
7
  Tested up to: 4.5.3
8
- Stable tag: 3.0.2
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -155,6 +155,9 @@ By default, *WPf2b* uses LOG_AUTH for logging authentication success or failure.
155
 
156
  == Changelog ==
157
 
 
 
 
158
  = 3.0.2 =
159
  * Prevent double logging in WP 4.5.x for XML-RPC authentication failure
160
 
@@ -209,6 +212,9 @@ By default, *WPf2b* uses LOG_AUTH for logging authentication success or failure.
209
 
210
  == Upgrade Notice ==
211
 
 
 
 
212
  = 3.0.0 =
213
  BREAKING CHANGE: The `fail2ban` filters have been split into two files. You will need up update your `fail2ban` configuration.
214
 
5
  Tags: fail2ban, login, security, syslog
6
  Requires at least: 3.4.0
7
  Tested up to: 4.5.3
8
+ Stable tag: 3.0.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
155
 
156
  == Changelog ==
157
 
158
+ = 3.0.3 =
159
+ * Fix regex in `wordpress-hard.conf`
160
+
161
  = 3.0.2 =
162
  * Prevent double logging in WP 4.5.x for XML-RPC authentication failure
163
 
212
 
213
  == Upgrade Notice ==
214
 
215
+ = 3.0.3 =
216
+ You will need up update your `fail2ban` filters.
217
+
218
  = 3.0.0 =
219
  BREAKING CHANGE: The `fail2ban` filters have been split into two files. You will need up update your `fail2ban` configuration.
220
 
wordpress-hard.conf CHANGED
@@ -21,8 +21,8 @@ _daemon = (?:wordpress|wp)
21
  # (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
22
  # Values: TEXT
23
  #
24
- failregex = ^%(__prefix_line)sAuthentication attempt for unknown user .* from <HOST>$
25
- ^%(__prefix_line)sBlocked authentication attempt for .* from <HOST>$
26
  ^%(__prefix_line)sBlocked user enumeration attempt from <HOST>$
27
  ^%(__prefix_line)sPingback error .* generated from <HOST>$
28
 
21
  # (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
22
  # Values: TEXT
23
  #
24
+ failregex = ^%(__prefix_line)sAuthentication attempt for unknown user .* from <HOST>( via XML-RPC)?$
25
+ ^%(__prefix_line)sBlocked authentication attempt for .* from <HOST>( via XML-RPC)?$
26
  ^%(__prefix_line)sBlocked user enumeration attempt from <HOST>$
27
  ^%(__prefix_line)sPingback error .* generated from <HOST>$
28
 
wp-fail2ban.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: https://charles.lecklider.org/wordpress/wp-fail2ban/
5
  * Description: Write all login attempts to syslog for integration with fail2ban.
6
  * Text Domain: wp-fail2ban
7
- * Version: 3.0.2
8
  * Author: Charles Lecklider
9
  * Author URI: https://charles.lecklider.org/
10
  * License: GPL2
4
  * Plugin URI: https://charles.lecklider.org/wordpress/wp-fail2ban/
5
  * Description: Write all login attempts to syslog for integration with fail2ban.
6
  * Text Domain: wp-fail2ban
7
+ * Version: 3.0.3
8
  * Author: Charles Lecklider
9
  * Author URI: https://charles.lecklider.org/
10
  * License: GPL2