From c68942f0aa1ee6cb26e3a80dc80dcc22a8c2fe8b Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Fri, 14 Jun 2024 16:04:27 -0700 Subject: [PATCH] config f2b for Ubuntu and Debian --- etc/fail2ban/jail.d/apache-scan.conf | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/etc/fail2ban/jail.d/apache-scan.conf b/etc/fail2ban/jail.d/apache-scan.conf index 19d835d..07ca1c9 100644 --- a/etc/fail2ban/jail.d/apache-scan.conf +++ b/etc/fail2ban/jail.d/apache-scan.conf @@ -1,8 +1,9 @@ [apache-scan] -enabled = true -port = http,https -filter = apache-scan -logpath = /var/log/apache2/access.log tail -bantime = 3600 +enabled = true +port = http,https +filter = apache-scan +backend = auto +logpath = /var/log/apache2/access.log tail +bantime = 3600 findtime = 60 maxretry = 1