From 8a81560c728bb8cbba78e34c95a63f1351460538 Mon Sep 17 00:00:00 2001 From: "srvproxy001.itguys.com.br" Date: Sun, 28 Sep 2025 15:02:01 -0300 Subject: [PATCH] =?UTF-8?q?[Auto-Sync]=20Atualiza=C3=A7=C3=A3o=20das=20con?= =?UTF-8?q?figura=C3=A7=C3=B5es=20em=20srvproxy001.itguys.com.br=20-=20202?= =?UTF-8?q?5-09-28=2015:02:01?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fail2ban/jail.local | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fail2ban/jail.local b/fail2ban/jail.local index b6c85e8..b44d01b 100644 --- a/fail2ban/jail.local +++ b/fail2ban/jail.local @@ -12,6 +12,12 @@ bantime = 1h findtime = 10m # Define a quantidade máxima de tentativas antes do banimento (3 vezes) maxretry = 3 + +# CORREÇÃO CRÍTICA: DEFINIÇÃO DE BANACTION +# Define a ação de firewall (bloqueio do IP). Usamos 'iptables-allports' +# para garantir que o IP seja bloqueado em TODAS as portas (essencial para proxy). +banaction = iptables-allports + # Ação padrão: usa a ação 'mwl' (envia e-mail com Whois e loga o IP) action = %(action_mwl)s