WP_FAIL2BAN_USE_AUTHPRIV

Use LOG_AUTHPRIV instead of LOG_AUTH.

Default setting: disabled

Added in version 4.4.0.


Specifies whether to use LOG_AUTHPRIV instead of LOG_AUTH as the default syslog facility for authentication events. Some systems use LOG_AUTHPRIV by default, but this cannot be reliably detected at runtime.

Example: Use LOG_AUTHPRIV
/**
 * Use LOG_AUTHPRIV instead of LOG_AUTH
 */
define('WP_FAIL2BAN_USE_AUTHPRIV', true);

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.