# Fail2Ban configuration file # # Author: John Villasenor # # Detect xmlrpc POST requests blocked by modsecurity. [Definition] failregex = .*"client": "",.*"status": 418, "request": ".*/xmlrpc\.php", "method": "POST" ^.* .*"POST .*/xmlrpc.php.*" 418 " ^ .*"POST .*/xmlrpc.php.*" 418 ignoreregex = ^.*wp-iphone|wp-android|Jetpack.*