From 20720e38a909e5376cb305dfaa96399b862d9663 Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Fri, 14 Jun 2024 16:04:41 -0700 Subject: [PATCH] config f2b for Ubuntu and Debian --- etc/fail2ban/jail.d/wp-auth.conf | 1 + etc/fail2ban/jail.d/xmlrpc.conf | 1 + 2 files changed, 2 insertions(+) diff --git a/etc/fail2ban/jail.d/wp-auth.conf b/etc/fail2ban/jail.d/wp-auth.conf index 73e41dc..1fb05e0 100644 --- a/etc/fail2ban/jail.d/wp-auth.conf +++ b/etc/fail2ban/jail.d/wp-auth.conf @@ -2,6 +2,7 @@ enabled = true port = http,https filter = wp-auth +backend = auto logpath = /var/log/apache2/access.log tail bantime = 900 findtime = 300 diff --git a/etc/fail2ban/jail.d/xmlrpc.conf b/etc/fail2ban/jail.d/xmlrpc.conf index a22150e..4ec1b72 100644 --- a/etc/fail2ban/jail.d/xmlrpc.conf +++ b/etc/fail2ban/jail.d/xmlrpc.conf @@ -2,6 +2,7 @@ enabled = true port = http,https filter = xmlrpc +backend = auto logpath = /var/log/apache2/access.log tail bantime = 86400 findtime = 60