WordPress plugin intelligence profile

WP fail2ban – Advanced Security

WP fail2ban uses fail2ban to protect your WordPress site.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version5.4.2
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 4.2 · PHP 7.4
Directory statusactive
Last directory update30 Sept 20261mo ago
Active installations60K+Adoption metric — not a quality score
WordPress.org rating4.2 / 5 from 71 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records WP fail2ban – Advanced Security version 5.4.2 as active, updated 1mo ago and tested up to WordPress 7.1.

Overview

About this plugin

fail2ban is one of the simplest and most effective security measures you can implement to protect your WordPress site.

WP fail2ban provides the link between WordPress and fail2ban:

1

conf. These are designed to allow a split between immediate banning (hard) and the traditional more graceful approach (soft), with extra rules for custom configurations.

Features

-

Failed Login Attempts

The very first feature of WPf2b: logging failed login attempts so the IP can be banned. Just as useful today as it was then.

-

Block User Enumeration

One of the most common precursors to a password-guessing brute force attack is user enumeration. WPf2b can block it, stopping the attack before it starts.

-

Block username logins

Sometimes it’s not possible to block user enumeration (for example, if your theme provides Author profiles). WPf2b can require users to login with their email address instead of their username.

-

Blocking Users

Another of the older WPf2b features: the login process can be aborted for specified usernames.

Say a bot collected your site’s usernames before you blocked user enumeration. Once you’ve changed all the usernames, add the old ones to the list; anything using them will trigger a “hard” fail.

-

Empty Username Login Attempts

Some bots will try to login without a username; harmless, but annoying. These attempts are logged as a “soft” fail so the more persistent bots will be banned.

-

Spam

WPf2b will log a spammer’s IP address as a “hard” fail when their comment is marked as spam; the Premium version will also log the IP when Akismet discards “obvious” spam.

-

Attempted Comments

Some spam bots try to comment on everything, even things that aren’t there. WPf2b detects these and logs them as a “hard” fail.

-

Pingbacks

Pingbacks are a great feature, but they can be abused to attack the rest of the WWW. Rather than disable them completely, WPf2b effectively rate-limits potential attackers by logging the IP address as a “soft” fail.

-

Block XML‑RPC Requests [Premium]

The only reason most sites need XML‑RPC (other than Pingbacks) is for Jetpack; WPf2b Premium can block XML‑RPC while allowing Jetpack and/or Pingbacks.

-

Block Countries [Premium]

Sometimes you just need a bigger hammer – if you’re seeing nothing but attacks from some countries, block them!

-

Cloudflare and Proxy Servers

WPf2b will work with Cloudflare, and the Premium version will automatically update the list of Cloudflare IP addresses.

You can also configure your own list of trusted proxies.

-

syslog Dashboard Widget

Ever wondered what’s being logged? The dashboard widget shows the last 5 messages; the Premium version keeps a full history to help you analyse and prevent attacks.

-

Site Health Check

WPf2b will (try to) check that your fail2ban configuration is sane and that the filters are up to date; out-of-date filters are the primary cause of WPf2b not working as well as it can.

When did you last run the Site Health tool?

-

mu-plugins Support

WPf2b can easily be configured as a “must-use plugin” – see Configuration.

-

API to Extend WPf2b

If your plugin can detect behaviour which should be blocked, why reinvent the wheel?

-

Event Hooks [Premium]

Need to do something special when WPf2b detects a particular event? There’s a hook for that.

Premium

  • Web Application Firewall (WAF)
  • Akismet support.
  • Block XML‑RPC while allowing Jetpack and/or Pingbacks.
  • Block Countries.
  • Auto-update Cloudflare IPs.
  • Event log.
  • Event hooks.
WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • brute force
  • fail2ban
  • login
  • security
  • syslog
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 4.2 · PHP 7.4
Update activity30 Sept 20261mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

Version5.4.15.4.2
WordPress compatibility6.8.87.1.2
Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.