WP_FAIL2BAN_USE_LOG_AUTH
Use LOG_AUTH instead of LOG_AUTHPRIV.
WP_FAIL2BAN_USE_LOG_AUTH ::=true|false|LOG_LOCAL0..LOG_LOCAL7
Default setting: false
Specifies whether to use LOG_AUTH instead of LOG_AUTHPRIV as the default syslog facility for authentication events. Some older and/or more esoteric systems do not understand LOG_AUTHPRIV, but this cannot be reliably detected at runtime. In such cases, you should set this to true.
Example: Use LOG_AUTH
/**
* Use LOG_AUTH instead of LOG_AUTHPRIV
*/
define('WP_FAIL2BAN_USE_LOG_AUTH', true);
You can also map this to a different facility:
Example: Use LOG_LOCAL5
/**
* Use LOG_LOCAL5 instead of LOG_AUTHPRIV
*/
define('WP_FAIL2BAN_USE_LOG_AUTH', LOG_LOCAL5);
Note
This only affects the default facility - it does not override facilities specified by other constants.
Attention
You must define this in wp-config.php even if you are using the Premium flavour of WPf2b.
See also
History
Added in version 6.0.0: Introduced to replace WP_FAIL2BAN_USE_AUTHPRIV