You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
557 B
31 lines
557 B
#
|
|
# WP Fail2Ban Redux jail
|
|
#
|
|
# NOTE: While the `logpath` parameter, provided below, is a common path, it is
|
|
# *not* the correct path on all server setups. Adjust accordingly.
|
|
#
|
|
# Common Paths:
|
|
#
|
|
# - Debian/Ubuntu/FreeBSD
|
|
# /var/log/auth.log
|
|
#
|
|
# - Fedora
|
|
# /var/log/secure
|
|
#
|
|
# - macOS/OS X
|
|
# /var/log/secure.log
|
|
#
|
|
|
|
[wordpress-hard]
|
|
enabled = true
|
|
filter = wordpress-hard
|
|
logpath = /var/log/auth.log
|
|
maxretry = 2
|
|
port = http,https
|
|
|
|
[wordpress-soft]
|
|
enabled = true
|
|
filter = wordpress-soft
|
|
logpath = /var/log/auth.log
|
|
maxretry = 5
|
|
port = http,https
|