From a85307b3d3c76c6742336c1ee701a76f1cc030ec Mon Sep 17 00:00:00 2001
From: mrroman <mrroman@devsite.pl>
Date: Thu, 28 Dec 2023 21:28:38 +0000
Subject: [PATCH] Use ksh instead of sh in rc script

---
 vilain.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vilain.py b/vilain.py
index 05a8b09..07f5f4d 100644
--- a/vilain.py
+++ b/vilain.py
@@ -31,7 +31,7 @@
 import time
 
 CONFIGFILE = "/etc/vilain.conf"
-VERSION = "0.8"
+VERSION = "0.8.1"
 vilain_table = "vilain_bruteforce"
 LOGFILE = "/var/log/daemon"
 
@@ -95,7 +95,7 @@
         self.watch_while, self.default_maxtries, self.vilain_table, self.ignore_ips, self.sleeptime = load_config(config, config_dict)
         self.ip_seen_at = {}
         self.load_bad_ips()
-        self.bad_ip_queue = asyncio.Queue(loop=self.loop)
+        self.bad_ip_queue = asyncio.Queue()
 
         for entry in load_sections(config):
             logger.info("Start vilain for {}".format(entry))

--
Gitblit v1.9.3