WP_FAIL2BAN_LOG_PINGBACKS

Log pingbacks and trackbacks.

Default setting: disabled


Logs ordinary XML-RPC pingbacks and WordPress trackbacks. Both use WP_FAIL2BAN_PINGBACK_LOG. Setting the constant to false disables the ordinary accepted and rejected messages for both request types.

The one-pingback-per-XML-RPC-request limit is independent of this setting. On a second pingback.ping call, WPf2b returns a per-call fault and records WPF2B_EVENT_XMLRPC_PINGBACK_MULTI once for the request. The message text and shipped-filter match differ according to whether ordinary pingback logging is enabled.

Example: Enable pingback logging
/**
 * Log pingbacks and trackbacks.
 */
define('WP_FAIL2BAN_LOG_PINGBACKS', true);

History

Added in version 2.2.0: Based on a suggestion from @maghe.