# Fail2Ban filter for hard failures # Generated for: v5.4.1 # [INCLUDES] before = common.conf [Definition] _daemon = (?:wordpress|wp) failregex = ^%(__prefix_line)sImmediately block connections from $ ^%(__prefix_line)sBlocked authentication attempt for .* from $ ^%(__prefix_line)sSpam comment \d+ from $ ^%(__prefix_line)sBlocked user enumeration attempt from $ ^%(__prefix_line)sXML-RPC multicall authentication failure from $ ^%(__prefix_line)sPingback error .* generated from $ ^%(__prefix_line)sUntrusted X-Forwarded-For header from $ ^%(__prefix_line)sREST authentication attempt for unknown user .* from $ ^%(__prefix_line)sXML-RPC authentication attempt for unknown user .* from $ ^%(__prefix_line)sAkismet discarded spam comment from $ ^%(__prefix_line)sXML-RPC request blocked from $ ^%(__prefix_line)s.*; Bogus Pingback from $ ^%(__prefix_line)sBlocked access from country '..' from $ ignoreregex = # DEV Notes: # Requires the 'WP fail2ban' plugin: # https://wp-fail2ban.com/ # # Author: Charles Lecklider