xmlrpc logging to LOG_AUTH
-
I’ve been getting many pingback requests via xmlrpc.php so I installed this plugin, made fail2ban changes and set WP_FAIL2BAN_LOG_PINGBACKS to true in wp-config.php
However the pingbacks weren’t getting logged to /var/log/auth.log.
I tried setting
define(‘WP_FAIL2BAN_PINGBACKS_LOG’,LOG_AUTH);
in wp-config.php but that didn’t help.
In the end I removed the WP_FAIL2BAN_PINGBACKS_LOG line from wp-config.php and edited the plugin and changed the last openlog line to use LOG_AUTH instead of LOG_USER and it all started working as intended.
Is this a problem with the plugin or did I do something wrong?
Thanks.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘xmlrpc logging to LOG_AUTH’ is closed to new replies.