From 6eb50b8c84bc3435b774e05222065ff0dd97172c Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 2 May 2013 01:51:49 +0200 Subject: [PATCH] Enable the recidive jail (monitor fail2ban's own logs to ban for a longer period hosts which gets banned several time) --- root/etc/e-smith/templates/etc/fail2ban/jail.conf/90Recidive | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 root/etc/e-smith/templates/etc/fail2ban/jail.conf/90Recidive diff --git a/root/etc/e-smith/templates/etc/fail2ban/jail.conf/90Recidive b/root/etc/e-smith/templates/etc/fail2ban/jail.conf/90Recidive new file mode 100644 index 0000000..e1f8f77 --- /dev/null +++ b/root/etc/e-smith/templates/etc/fail2ban/jail.conf/90Recidive @@ -0,0 +1,10 @@ + +[recidive] + +enabled = true +filter = recidive +logpath = /var/log/fail2ban/daemon.log +action = smeserver[name=recidive] +bantime = 604800 +findtime = 86400 +maxretry = 5