Add filters for wordpress.
This commit is contained in:
parent
68a8282c5d
commit
d0a521557e
15
0.10.2/filter.d/wp-login.local
Normal file
15
0.10.2/filter.d/wp-login.local
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
[Definition]
|
||||||
|
|
||||||
|
# WordPress führt nach einem erfolgreichen Login auf der “wp-login.php”
|
||||||
|
# einen 302-Redirect durch, fehlgeschlagene Logins hingegen werden mit
|
||||||
|
# dem HTTP-Status-Code 200 im Access-Log aufgezeichnet.
|
||||||
|
#
|
||||||
|
# Der Login Request ist ein "POST" Request.
|
||||||
|
#
|
||||||
|
# Logfile Definition:
|
||||||
|
# LogFormat "%h %v %p %t %r %>s \"%{User-Agent}i\" %T" base_requests
|
||||||
|
#
|
||||||
|
|
||||||
|
failregex = ^<HOST> .* POST /wp-login\.php HTTP.* 200 .*$
|
||||||
|
ignoreregex =
|
||||||
|
|
3
0.10.2/filter.d/wp-xmlrpc.local
Normal file
3
0.10.2/filter.d/wp-xmlrpc.local
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[Definition]
|
||||||
|
failregex = ^<HOST> .* POST /xmlrpc\.php HTTP.* 200 .*$
|
||||||
|
ignoreregex =
|
@ -106,3 +106,27 @@ maxretry = 20
|
|||||||
findtime = 1200
|
findtime = 1200
|
||||||
bantime = 1800
|
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user