File: //etc/fail2ban/filter.d/wordpress-soft.conf
# Fail2Ban filter for soft failures
# Generated for: v5.4.1
#
[INCLUDES]
before = common.conf
[Definition]
_daemon = (?:wordpress|wp)
failregex = ^%(__prefix_line)sComment attempt on .* post \d+ from <HOST>$
^%(__prefix_line)sBlocked username authentication attempt for .* from <HOST>$
^%(__prefix_line)sPingback requested from <HOST>$
^%(__prefix_line)sEmpty username from <HOST>$
^%(__prefix_line)sAuthentication failure for .* from <HOST>$
^%(__prefix_line)sREST authentication failure for .* from <HOST>$
^%(__prefix_line)sXML-RPC authentication failure for .* from <HOST>$
^%(__prefix_line)sAuthentication attempt for unknown user .* from <HOST>$
ignoreregex =
# DEV Notes:
# Requires the 'WP fail2ban' plugin:
# https://wp-fail2ban.com/
#
# Author: Charles Lecklider