WP_FAIL2BAN_EX_PROXY_CLOUDFLARE
Enable Cloudflare proxy support.
Default setting: disabled
Premium flavour only
Enables support for sites using Cloudflare as a proxy. When enabled, WPf2b merges the maintained Cloudflare IP list into the trusted proxies used for X-Forwarded-For, so the logged address is the visitor address supplied by Cloudflare rather than the Cloudflare edge address.
Trust Cloudflare is also required before the Cloudflare geolocation methods on WP_FAIL2BAN_EX_GEOLOCATION can be selected. The CF-IPCountry header is used only when the connecting address is in the Cloudflare IP list.
Example: Enable Cloudflare support
/**
* Enable Cloudflare proxy support
*/
define('WP_FAIL2BAN_EX_PROXY_CLOUDFLARE', true);
See also
History
Changed in version 6.3.0: Also gates Cloudflare geolocation methods and country-header trust.
Added in version 4.3.2.0.