Add filters for wordpress.

This commit is contained in:
2018-02-23 15:16:24 +01:00
parent 68a8282c5d
commit d0a521557e
3 changed files with 42 additions and 0 deletions

View File

@ -106,3 +106,27 @@ maxretry = 20
findtime = 1200
bantime = 1800
[wp-login]
enabled = true
action = %(action_mbu)s
filter = wp-login
port = http,https
logpath = /var/log/apache2/ipv4_requests.log
/var/log/apache2/ip_requests.log
maxretry = 10
findtime = 600
bantime = 10800
[wp-xmlrpc]
enabled = true
action = %(action_mbu)s
filter = wp-xmlrpc
port = http,https
logpath = /var/log/apache2/ipv4_requests.log
/var/log/apache2/ip_requests.log
maxretry = 5
findtime = 600
bantime = 10800