Title: Secure Owl Firewall
Author: Sajber Sove
Published: <strong>10, Abril de 2026</strong>
Last modified: 29, Ochobre de 2026

---

Guetar plugins

![](https://ps.w.org/secure-owl-firewall/assets/banner-772x250.png?rev=3503274)

![](https://ps.w.org/secure-owl-firewall/assets/icon-256x256.png?rev=3503274)

# Secure Owl Firewall

 By [Sajber Sove](https://profiles.wordpress.org/sajbersove/)

[Download](https://downloads.wordpress.org/plugin/secure-owl-firewall.3.0.0.zip)

 * [Details](https://ast.wordpress.org/plugins/secure-owl-firewall/#description)
 * [Reviews](https://ast.wordpress.org/plugins/secure-owl-firewall/#reviews)
 *  [Installation](https://ast.wordpress.org/plugins/secure-owl-firewall/#installation)
 * [Development](https://ast.wordpress.org/plugins/secure-owl-firewall/#developers)

 [Support](https://wordpress.org/support/plugin/secure-owl-firewall/)

## Description

Secure Owl Firewall is a fast, lightweight firewall plugin with an advanced rule
engine featuring PCRE pattern matching, a transformation pipeline, and JSON-based
rule configuration.

Key features:

 * JSON-based rules — 100+ default rules covering SQLi, XSS, RCE, LFI, SSRF, Log4Shell,
   and more
 * Transformation pipeline — URL decode, lowercase, normalize path, remove whitespace,
   HTML entity decode, trim
 * Inspection targets — REQUEST_URI, QUERY_STRING, USER_AGENT, REFERER, COOKIE, 
   and POST
 * MU-Plugin loader — runs before regular plugins for earliest protection
 * Rate limiting — optional transient-based IP and subnet banning
 * Login protection — PIN field, speed limit and honeypot on the login form and 
   on login forms embedded in pages to stop brute-force attacks; with a PIN set,
   repeated failed logins pause logins to that account for a few minutes
 * IP whitelist — CIDR/subnet support for both IPv4 and IPv6
 * IP blacklist — CIDR/subnet support for both IPv4 and IPv6
 * Per-rule toggle — disable individual rules from the admin panel without editing
   files
 * File-based logging — 10MB cap with auto-rotation and protected storage
 * Log retention — clears the log after 1, 3 or 6 months, which helps with data 
   minimization (e.g. GDPR)
 * IP anonymization — masks visitor IP addresses in the log for privacy

### Filter Hooks

The firewall runs before regular plugins and the theme load, so add filters that
change how requests are checked (lists, proxies, rules, logging, blocking) in a 
must-use plugin.

 * `sswaf_ip_whitelist` — array of IPs or CIDR ranges that bypass the firewall
 * `sswaf_ip_blacklist` — array of IPs or CIDR ranges to block before any rules 
   run (the whitelist still wins)
 * `sswaf_trusted_proxies` — array of trusted proxy IPs for X-Forwarded-For
 * `sswaf_post_scanning` — enable POST data inspection (default: true)
 * `sswaf_json_scanning` — enable JSON request body inspection (default: true)
 * `sswaf_json_max_body` — request body size limit for inspection, in bytes
 * `sswaf_json_skip_authenticated` — whether trusted logged-in users are exempt 
   from request body inspection
 * `sswaf_json_skip_capability` — capability that marks a logged-in user as trusted
 * `sswaf_rules_file` — path to the rules JSON file
 * `sswaf_log_dir` — directory of the log file
 * `sswaf_log_file` — path to the log file
 * `sswaf_log_max_size` — log size in bytes at which the log is rotated (default:
   10 MB, at most 32 MB)
 * `sswaf_header_status` — HTTP status header for blocked requests
 * `sswaf_header_connection` — Connection header for blocked requests
 * `sswaf_block_on_engine_error` — block requests the rule engine cannot fully check(
   default: true); return false to only log them
 * `sswaf_speed_limit_skip` — return true to turn the login speed limit off, for
   login forms that cannot include its hidden fields
 * `sswaf_before_block` — action hook fired before blocking a request
 * `sswaf_rate_limit_ip_threshold` — override IP hit threshold
 * `sswaf_rate_limit_ip_duration` — override IP ban duration
 * `sswaf_rate_limit_ip_window` — override IP counting window
 * `sswaf_rate_limit_subnet_threshold` — override subnet hit threshold
 * `sswaf_rate_limit_subnet_duration` — override subnet ban duration
 * `sswaf_rate_limit_subnet_window` — override subnet counting window

Rate-limit values from filters are kept within the ranges of the settings page.

## Installation

 1. Upload the `secure-owl-firewall` folder to `/wp-content/plugins/`
 2. Activate through the Plugins menu
 3. The MU-Plugin loader is installed automatically for early execution
 4. Configure settings under Settings > Secure Owl Firewall

## Reviews

![](https://secure.gravatar.com/avatar/dd8cef4c70bb3a14f5922eb54c92a8166947a303f44eb4a89a954cee4defad6f?
s=60&d=retro&r=g)

### 󠀁[Great Plugin](https://wordpress.org/support/topic/great-plugin-41612/)󠁿

 [tinaponting](https://profiles.wordpress.org/ponting/) 1, Xunetu de 2026 1 reply

A great plugin – works very well to protect my login/site

 [ Read all 1 review ](https://wordpress.org/support/plugin/secure-owl-firewall/reviews/)

## Contributors & Developers

“Secure Owl Firewall” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Sajber Sove ](https://profiles.wordpress.org/sajbersove/)

[Translate “Secure Owl Firewall” into your language.](https://translate.wordpress.org/projects/wp-plugins/secure-owl-firewall)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/secure-owl-firewall/),
check out the [SVN repository](https://plugins.svn.wordpress.org/secure-owl-firewall/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/secure-owl-firewall/)
by [RSS](https://plugins.trac.wordpress.org/log/secure-owl-firewall/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial release.

#### 1.0.1

 * Updated security rules.
 * Updated log file cap to 24MB.

#### 1.0.2

 * Added IP whitelist with CIDR/subnet support (IPv4 + IPv6).
 * File-based storage for zero database overhead.
 * Settings UI with validation.

#### 1.0.3

 * Removed metadata from a JSON rules file.
 * Small CSS admin tweak.

#### 1.0.4

 * Added configurable log retention policy to automatically purge old data.
 * Added option to anonymize user IP addresses for privacy.
 * Rework plugin update mechanism.
 * Improved coding standards to align better with WordPress guidelines.

#### 1.0.5

 * Updated log file cap to 64MB.
 * Fixed a small bug in admin panel log viewer.

#### 1.0.6

 * Added rate-limited PIN authentication to the login page to mitigate brute-force
   attacks.
 * Added a honeypot trap to the login form to catch unsophisticated bots.

#### 1.0.7

 * Removed a few overly aggressive rules.

#### 1.0.8

 * Added IP blacklist with CIDR/subnet support (IPv4 + IPv6).

#### 1.0.9

 * Fixed a small bug in log viewer.

#### 1.1.0

 * Updated security rules.
 * Added a speed limit protection layer to the login page.

#### 1.1.1

 * Updated security rules.

#### 2.0.0

 * Added JSON request body scanning.
 * Raised maximum request and referrer length limits.

#### 2.0.1

 * Updated security rules.

#### 2.0.2

 * Updated security rules.

#### 2.0.3

 * Updated security rules.

#### 2.0.4

 * Updated security rules.

#### 2.0.5

 * Updated security rules.

#### 2.0.6

 * Updated security rules.

#### 2.0.7

 * Small text update in admin UI.
 * Updated security rules.

#### 2.0.8

 * Updated security rules.

#### 2.0.9

 * Updated security rules.
 * Ensured WordPress compatibility.

#### 2.1.0

 * Improved path normalization.
 * Hardened request decoding against resource exhaustion.
 * Faster rule matching for large requests.
 * Fixed client IP resolution behind trusted proxies; trusted proxies now accept
   CIDR ranges.
 * Removed an over-broad cookie rule that caused false positives.
 * Fixed log export.
 * Updated security rules.

#### 3.0.0

 * Stronger request inspection: form, JSON and XML-RPC request data are checked 
   more thoroughly.
 * Improved detection and fewer false positives.
 * Hardened the rule engine against oversized and malformed requests.
 * Faster rule matching for large requests.
 * New login lockout: with a PIN set, repeated failed logins to an account are paused
   for a few minutes.
 * Login protection now also works on login forms embedded in pages.
 * Hardened login PIN checks.
 * IP entries are validated, invalid ones are listed with the reason, and the lists
   are stored more securely.
 * More precise rate limiting under heavy traffic.
 * All settings are validated before saving.
 * Multisite: the firewall and its settings apply only to sites where the plugin
   is active.
 * More reliable early loading, also for copied sites and symlinked plugin folders.
 * Log: compact entries, a clearer log viewer, a 10 MB size cap, and a warning when
   the log cannot be written.
 * Uninstall removes all plugin data, on every site of a network.
 * Updated security rules.

## Meta

 *  Version **3.0.0**
 *  Last updated **3 selmanes ago**
 *  Active installations **10+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/secure-owl-firewall/)
 * Tags
 * [firewall](https://ast.wordpress.org/plugins/tags/firewall/)[protection](https://ast.wordpress.org/plugins/tags/protection/)
   [security](https://ast.wordpress.org/plugins/tags/security/)[WAF](https://ast.wordpress.org/plugins/tags/waf/)
 *  [Advanced View](https://ast.wordpress.org/plugins/secure-owl-firewall/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/secure-owl-firewall/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/secure-owl-firewall/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/secure-owl-firewall/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/secure-owl-firewall/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/secure-owl-firewall/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/secure-owl-firewall/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/secure-owl-firewall/reviews/)

## Contributors

 *   [ Sajber Sove ](https://profiles.wordpress.org/sajbersove/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/secure-owl-firewall/)