WP_FAIL2BAN_EX_WAF
Enable Web Application Firewall.
Default setting: disabled
Premium flavour only
Added in version 5.1.0.
Enables the Web Application Firewall (WAF) functionality. The WAF can operate in three modes:
Mode |
Description |
|---|---|
on |
Full protection: blocks and logs threats |
logging |
Detection only: logs threats but does not block |
off |
Disabled: no detection or blocking |
Example: Enable WAF in logging mode
/**
* Enable WAF in logging mode
*/
define('WP_FAIL2BAN_EX_WAF', 'logging');