WordPress.org

Plugin Directory

Test out the new Plugin Directory and let us know what you think.

WP fail2ban

Write a myriad of WordPress events to syslog for integration with fail2ban.

3.5.3

  • Bugfix for wordpress-hard.conf.

3.5.1

  • Bugfix for WP_FAIL2BAN_BLOCK_USER_ENUMERATION.

3.5.0

  • Add WP_FAIL2BAN_OPENLOG_OPTIONS.
  • Add WP_FAIL2BAN_LOG_COMMENTS and WP_FAIL2BAN_COMMENT_LOG.
  • Add WP_FAIL2BAN_LOG_PASSWORD_REQUEST.
  • Add WP_FAIL2BAN_LOG_SPAM.
  • Add WP_FAIL2BAN_TRUNCATE_HOST.
  • WP_FAIL2BAN_BLOCKED_USERS now supports an array of users with PHP 7.

3.0.3

  • Fix regex in wordpress-hard.conf

3.0.2

  • Prevent double logging in WP 4.5.x for XML-RPC authentication failure

3.0.1

  • Fix regex in wordpress-hard.conf

3.0.0

  • Add WP_FAIL2BAN_SYSLOG_SHORT_TAG.
  • Add WP_FAIL2BAN_HTTP_HOST.
  • Log XML-RPC authentication failure.
  • Add better support for MU deployment.

2.3.2

  • Bugfix WP_FAIL2BAN_BLOCKED_USERS.

2.3.0

  • Bugfix in experimental WP_FAIL2BAN_PROXIES code (thanks to KyleCartmell).

2.2.1

  • Fix stupid mistake with WP_FAIL2BAN_BLOCKED_USERS.

2.2.0

  • Custom authentication log is now called WP_FAIL2BAN_AUTH_LOG
  • Add logging for pingbacks
  • Custom pingback log is called WP_FAIL2BAN_PINGBACK_LOG

2.1.1

  • Minor bugfix.

2.1.0

  • Add support for blocking user enumeration; see WP_FAIL2BAN_BLOCK_USER_ENUMERATION
  • Add support for CIDR notation in WP_FAIL2BAN_PROXIES.

2.0.1

  • Bugfix in experimental WP_FAIL2BAN_PROXIES code.

2.0.0

  • Add experimental support for X-Forwarded-For header; see WP_FAIL2BAN_PROXIES
  • Add experimental support for regex-based login blocking; see WP_FAIL2BAN_BLOCKED_USERS

1.2.1

  • Update FAQ.

1.2

  • Fix harmless warning.

1.1

  • Minor cosmetic updates.

1.0

  • Initial release.

Requires: 3.4.0 or higher
Compatible up to: 4.6.0
Last Updated: 5 months ago
Active Installs: 20,000+

Ratings

4.9 out of 5 stars

Support

0 of 2 support threads in the last two months have been marked resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

100,1,1
100,1,1 100,2,2
100,2,2
100,2,2 100,2,2
50,2,1
100,1,1
0,1,0
100,1,1 100,1,1
100,2,2
100,1,1
100,4,4
100,1,1
100,3,3 100,2,2
100,1,1
100,2,2
100,1,1
100,1,1
50,2,1
100,1,1 100,1,1
100,1,1
100,2,2
100,2,2
100,1,1