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
  • Per-rule toggle — disable individual rules from the admin panel without editing files
  • File-based logging — 64MB 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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0.0

  • Initial release

1.0.1

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