mrroman
2023-12-28 667007fe0aea7e6a22c7f1ac45dbae4a58eb672e
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))