Created
March 26, 2021 00:00
-
-
Save mhupfauer/578b63653491247d25ed26b74a119696 to your computer and use it in GitHub Desktop.
Fail2Ban regex for WordPress on Caddy (with custom rejection HTTP451 for /xmlrpc.php)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Definition] | |
failregex = "common_log":"<HOST>\s(.*)\\"POST \/wp-login.php HTTP\/2.0\\" 200 | |
"common_log":"<HOST>\s(.*)\/xmlrpc.php(.*)\s451 | |
ignoreregex = |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment