Last active
August 29, 2015 14:28
-
-
Save sorinpohontu/ba878949f8984cd8802a to your computer and use it in GitHub Desktop.
Wordpress Flood Fail2ban Filter [/etc/fail2ban/filter.d/wordpress-flood.conf]
This file contains hidden or 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
| # Fail2ban configuration file | |
| # | |
| # $Revision: 1$ | |
| # | |
| [Definition] | |
| # Option: failregex | |
| # Notes : Ban Wordpress Flooders. | |
| # Values: TEXT | |
| # | |
| failregex = ^<HOST> .*POST .*(xmlrpc\.php|wp-login\.php).* | |
| # Option: ignoreregex | |
| # Notes.: regex to ignore. If this regex matches, the line is ignored. | |
| # Values: TEXT | |
| # | |
| ignoreregex = |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment