Title: Secure Owl Firewall
Author: Sajber Sove
Published: <strong>2026 年 4 月 10 日</strong>
Last modified: 2026 年 4 月 11 日

---

搜索插件

![](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

 作者：[Sajber Sove](https://profiles.wordpress.org/sajbersove/)

[下载](https://downloads.wordpress.org/plugin/secure-owl-firewall.1.0.2.zip)

 * [详情](https://cn.wordpress.org/plugins/secure-owl-firewall/#description)
 * [评价](https://cn.wordpress.org/plugins/secure-owl-firewall/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/secure-owl-firewall/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/secure-owl-firewall/#developers)

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

## 描述

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 — urlDecode, lowercase, normalizePath, removeWhitespace,
   htmlEntityDecode, trim
 * Six inspection targets — REQUEST_URI, QUERY_STRING, USER_AGENT, REFERER, COOKIE,
   POST
 * MU-Plugin loader — runs before any regular plugin for earliest protection
 * Rate limiting — optional transient-based IP and subnet banning
 * IP whitelist with CIDR/subnet support (IPv4 + IPv6)
 * Per-rule toggle — disable individual rules from the admin panel without editing
   files
 * File-based logging — 24MB cap with auto-rotation, protected log storage
 * Filterable — extensive filter hooks for customization

### Filter Hooks

 * `sswaf_ip_whitelist` — array of IPs to bypass the firewall
 * `sswaf_trusted_proxies` — array of trusted proxy IPs for X-Forwarded-For
 * `sswaf_post_scanning` — enable POST data inspection (default: true)
 * `sswaf_rules_file` — path to the rules JSON file
 * `sswaf_log_file` — path to the log file
 * `sswaf_log_max_size` — maximum log size in bytes
 * `sswaf_header_status` — HTTP status header for blocked requests
 * `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

## 安装

 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

## 评价

此插件暂无评价。

## 贡献者及开发者

「Secure Owl Firewall」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「Secure Owl Firewall」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/secure-owl-firewall)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/secure-owl-firewall/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/secure-owl-firewall/)，或通过[RSS](https://plugins.trac.wordpress.org/log/secure-owl-firewall/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/secure-owl-firewall/)。

## 更新日志

#### 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.2**
 *  最后更新：**10 小时前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/secure-owl-firewall/)
 * 标签
 * [firewall](https://cn.wordpress.org/plugins/tags/firewall/)[protection](https://cn.wordpress.org/plugins/tags/protection/)
   [security](https://cn.wordpress.org/plugins/tags/security/)[WAF](https://cn.wordpress.org/plugins/tags/waf/)
 *  [高级视图](https://cn.wordpress.org/plugins/secure-owl-firewall/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/secure-owl-firewall/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/secure-owl-firewall/)