wp-fail2ban / addon-cf7
Extends WP fail2ban to support firewall-level protection against spam detected by Contact Form 7.
Package info
github.com/wp-fail2ban/addon-cf7
Type:wordpress-plugin
pkg:composer/wp-fail2ban/addon-cf7
Requires
- php: >=7.4.0
- composer/installers: ^2.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-12-02 22:44:53 UTC
README
Stop the spammer, not just the spam. Connect Contact Form 7 to WP fail2ban and let your server firewall block repeat offenders.
This is the release repository for the Canonical edition of the Contact Form 7 add-on. It requires WP fail2ban and Contact Form 7.
Installation
The Contact Form 7 add-on 3.0 requires PHP 7.4 or later and WP fail2ban.
Download the signed archive for the latest stable release from GitHub Releases and install it in WordPress, or, for a Composer-managed site:
composer require wp-fail2ban/addon-cf7:^3.0
Activate the add-on, install filters.d/wordpress-contact-form-7-extra.conf into fail2ban's filter.d/ directory, and configure the corresponding jail.
See the installation guide for full instructions.
Release integrity
Canonical releases have GPG-signed Git tags and detached GPG signatures for the release archives. The software bill of materials (SBOM) is included in the distribution at assets/bom.json.
To verify a Git tag or a downloaded release archive, respectively:
git verify-tag <tag> gpg --verify <signature-file> <archive-file>
Verify the signing key's fingerprint against a trusted source before relying on a signature.
See GitHub Releases for the release archives and their signatures.
Editions
| Edition | Where to get it |
|---|---|
| Free | WordPress Plugin Directory |
| Canonical | GitHub Releases / Composer |
The master branch contains the current Canonical release.
Documentation and support
This is the release repository for the Contact Form 7 add-on, rather than the development repository. For support, please use the channels listed on the support page.
For reporting security vulnerabilities, see the security policy.
Licence
WP fail2ban Add-on for Contact Form 7 Canonical is licensed under the GNU General Public License, version 3 or later (GPL-3.0-or-later).