From 58ef2d95ea0a1b3578d4c31edae1f66142471d5b Mon Sep 17 00:00:00 2001 From: Pete Date: Sat, 15 Jun 2019 01:55:24 +0200 Subject: [PATCH] Update jail.local --- docs/hardening/anti-bruteforce/jail.local | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/docs/hardening/anti-bruteforce/jail.local b/docs/hardening/anti-bruteforce/jail.local index cf9a981df..e9548d2b1 100644 --- a/docs/hardening/anti-bruteforce/jail.local +++ b/docs/hardening/anti-bruteforce/jail.local @@ -1,10 +1,13 @@ +# ++++++++++++++++++++++++++++++++++++++++++++++++++++ +# + NetworkSEC / NwSEC Layer 7 Bruteforce Protection + +# ++++++++++++++++++++++++++++++++++++++++++++++++++++ # -# This goes into (or at the end of) /etc/fail2ban/jail.local +# This goes into /etc/fail2ban/jail.local on Debian/GNU Linux # -[wp-auth] - enabled = true - filter = wp-auth - action = iptables-multiport[name=wp-auth, port="http,https"] - logpath = /var/log/ispconfig/httpd/*/*.log - bantime = 1200 - maxretry = 5 +[nws-wp] +enabled = true +filter = nws-wp +action = iptables-multiport[name=nws-wp, port="http,https"] +logpath = /var/www/clients/client*/web*/log/*.log +bantime = 1200 +maxretry = 5 \ No newline at end of file -- GitLab