WP Fail2Ban Redux
Records various WordPress events to your server's system log for integration with Fail2Ban.
Use with caution
WP Fail2Ban Redux works, but test it on a staging site before relying on it in 2026. It runs on 7K+ sites, is rated 5/5 and was last updated 2 years ago, and scores 50/100 on our health check.
- No update in over a year
- Only tested up to WordPress 6.8 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where WP Fail2Ban Redux stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| fail2ban | #4 |
| login | >100 |
| security | >100 |
| syslog | #7 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 15 reviews
About WP Fail2Ban Redux
From the official readme · v0.9.2Description
WP Fail2Ban Redux records various WordPress events to your server’s system log for integration with Fail2Ban.
This plugin is (mostly) a drop-in replacement for WP fail2ban by Charles Lecklider.
While WP fail2ban is a great plugin, there are a number of improvements that could be made. In order to facilitate these improvements, a major refactoring of the codebase was necessary.
The core functionality between WP Fail2Ban Redux and WP fail2ban remains the same. WP Fail2Ban Redux is considered to be mostly a drop-in replacement, because all constants have been replaced with filters, and will, possibly, require some upgrade work. Don’t work it’s as simple as implementing the constants.
The following events are recorded by default:
- Failed XML-RPC authentication attempts.
- Successful authentication attempts.
- Failed authentication attempts — differentiated by a user’s existence.
- Pingback errors.
The following events can be enabled via filter:
- Pingback requests.
- Blocked user enumeration attempts.
- Authentication attempts for blocked usernames.
- Spammed comments.
Extra documentation is available on the WP Fail2Ban Redux GitHub Wiki.
Installation
- Upload the plugin to your plugins directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Copy the
config/filters/wordpress-hard.confandconfig/filters/wordpress-soft.conffiles to your Fail2Ban filters directory (generally/etc/fail2ban/filters.d). - Copy the
config/jail/wordpress.conffile to your Fail2Ban jail directory (generally/etc/fail2ban/jail.d), or append it’s contents to yourjail.localfile. Make sure you read the notes in this file to aid successful setup. - Reload or restart Fail2Ban.
Changelog
0.9.2
- Release date: 2025-05-27
- Bumps “Tested up to” version to 6.8
- Bumps minimum required PHP version to 7.4
- Bumps minimum required WP version to 5.8
- Add a new regex rule for XMLRPC authentication failure to both filters (soft and hard)
- Update dependency package versions
0.9.1
- Release date: 2023-10-17
- Bumps “Tested up to” version to 6.4
- Bumps minimum required PHP version to 7.0
- Bumps minimum required WP version to 5.5
- Update dependency package versions
- No changes to jail or filters in the release.
0.8.3
- Release date: 2023-10-17
- Bumps “Tested up to” version to 5.9
- No changes to jail or filters in the release.
0.8.2
- Release date: 2021-08-08
- Bumps “Tested up to” version to 5.8
- No changes to jail or filters in the release.
0.8.1
- Release date: 2021-06-01
- Actually bumps “Tested up to” version to 5.7
0.8.0
- Release date: 2021-05-31
- Bumps “Tested up to” version to 5.7
- Fix issue where logging out of WordPress could cause a blocked user log to be recorded
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best WP Fail2Ban Redux alternatives
All fail2ban plugins →FAQ
WP Fail2Ban Redux: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is WP Fail2Ban Redux free?
Yes. WP Fail2Ban Redux is free to download and use from the official WordPress.org plugin directory.
Is WP Fail2Ban Redux safe to use in 2026?
WP Fail2Ban Redux works, but test it on a staging site before relying on it in 2026. It runs on 7K+ sites, is rated 5/5 and was last updated 2 years ago, and scores 50/100 on our health check.
How many websites use WP Fail2Ban Redux?
WP Fail2Ban Redux is active on 7K+ WordPress websites and has been downloaded 103,970 times since it launched in July 2016. It was downloaded 1,317 times in the last 30 days.
Does WP Fail2Ban Redux work with WordPress 7.1?
WP Fail2Ban Redux is officially tested up to WordPress 6.8.13, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does WP Fail2Ban Redux need?
WP Fail2Ban Redux requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was WP Fail2Ban Redux last updated?
The latest version, 0.9.2, was released on May 27, 2025 (2 years ago).
Who makes WP Fail2Ban Redux?
WP Fail2Ban Redux is developed and maintained by Brandon Allen.
What are the best alternatives to WP Fail2Ban Redux?
The most popular alternatives to WP Fail2Ban Redux are WP fail2ban (60K+ installs), Stop User Enumeration (60K+ installs) and WP fail2ban Blocklist (3K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
