From 70950c8a8d3d905e2895bb7200e6ee5b6e9599ea Mon Sep 17 00:00:00 2001
From: Thuban <thuban@yeuxdelibad.net>
Date: Thu, 13 Dec 2018 18:17:10 +0000
Subject: [PATCH] better memory perf

---
 vilain.conf |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/vilain.conf b/vilain.conf
index 14ece6a..9828c21 100644
--- a/vilain.conf
+++ b/vilain.conf
@@ -1,7 +1,6 @@
 [DEFAULT]
-# 24h + 5min
-# Time to keep banned a bad ip
-watch_while = 86700
+# Duration (in sec) to keep banned a bad ip, reduce value if too much memory consumption
+watch_while = 3602
 # Max tries before being banned
 maxtries = 3
 # pf table to keep bad IP.

--
Gitblit v1.9.3