WP Manifestindependent plugin directory
manifest / security / lw-firewall

LW Firewall #6 in Security

Lightweight firewall — rate-limits endpoints, blocks bots, bans repeat offenders, and adds security headers.

by LW Plugins · github.com/lwplugins/lw-firewall · website

1stars
102release downloads
≈10active sites
188composer installs
0forks

Install

The author publishes release zips, so WP-CLI can install straight from GitHub:

wp plugin install https://github.com/lwplugins/lw-firewall/releases/download/v1.5.7/lw-firewall-1.5.7.zip

Also on Packagist as lwplugins/lw-firewall:

composer require lwplugins/lw-firewall

From the readme

LW Firewall Lightweight WordPress firewall — rate-limits endpoints, blocks bots, bans repeat offenders, and adds security headers. The Problem Bots brute-force wp-login.php, flood wp-cron.php and xmlrpc.php, crawl WooCommerce filter combinations, scan for vulnerabilities via 404s, and abuse the REST API — all generating thousands of uncacheable requests that overload your server. How It Works LW Firewall installs an MU-plugin worker that intercepts requests before WordPress fully loads. The processing order: 1. IP Whitelist — whitelisted IPs skip all checks 2. IP Blacklist — blacklisted IPs get 403 immediately 3. Geo Blocking — block entire countries (Cloudflare header or CIDR lookup) 4. Auto-Ban — previously banned IPs get 403 5. 404 Flood — IPs with excessive 404s get 429 6. Bot Blocking — User-Agent matching (all requests) 7. Endpoint Detection — filter params, cron, xmlrpc, login, REST API 8. Rate Limiting — per-IP counters with auto-ban escalation That list is the worker's pre-WordPress path. Registration spam protection, password-reset flood protection and the administrator alerts run inside WordPress instead, because they need the user API — but they share the same st

Read the full README on GitHub →

Releases

TagPublishedAssetDownloads
v1.5.7Sep 6, 2026lw-firewall-1.5.7.zip4
v1.5.6Aug 28, 2026lw-firewall-1.5.6.zip6
v1.5.5Aug 28, 2026lw-firewall-1.5.5.zip0
v1.5.4Aug 27, 2026lw-firewall-1.5.4.zip2
v1.5.3Aug 27, 2026lw-firewall-1.5.3.zip0
v1.5.2Aug 26, 2026lw-firewall-1.5.2.zip3
v1.5.0Aug 24, 2026lw-firewall-1.5.0.zip2
v1.4.1Aug 20, 2026lw-firewall-1.4.1.zip0
v1.4.0Jul 18, 2026lw-firewall-1.4.0.zip5
v1.3.2Jun 13, 2026lw-firewall-1.3.2.zip15
v1.3.1Jun 13, 2026lw-firewall-1.3.1.zip1
v1.3.0Jun 8, 2026lw-firewall-1.3.0.zip2
v1.2.7May 6, 2026lw-firewall-1.2.7.zip11
v1.2.6Apr 30, 2026lw-firewall-1.2.6.zip2
v1.2.5Apr 30, 2026lw-firewall-1.2.5.zip1
v1.2.4Apr 26, 2026lw-firewall-1.2.4.zip1
v1.2.3Mar 23, 2026lw-firewall-1.2.3.zip1
v1.2.2Mar 22, 2026lw-firewall-1.2.2.zip2
v1.2.1Feb 19, 2026lw-firewall-1.2.1.zip1
v1.2.0Feb 19, 2026lw-firewall-1.2.0.zip3
v1.1.9Feb 19, 2026lw-firewall-1.1.9.zip2
v1.1.8Feb 19, 2026lw-firewall-1.1.8.zip4
v1.1.7Feb 17, 2026lw-firewall-1.1.7.zip3
v1.1.6Feb 15, 2026lw-firewall-1.1.6.zip6
v1.1.5Feb 12, 2026lw-firewall-1.1.5.zip8

Active-site estimate ≈10 comes from the v1.5.6 cohort. Method.