fail2ban_discord.py aktualisiert
This commit is contained in:
@ -109,10 +109,7 @@ def monitor_fail2ban():
|
||||
country_name, country_code = get_country(ip)
|
||||
send_discord_embed(ip, current_jail, country_name, country_code)
|
||||
save_ban(ip, current_jail, country_name)
|
||||
print(f"[+] Neue IP gesperrt und gemeldet: {ip} ({country_name})")
|
||||
|
||||
if __name__ == "__main__":
|
||||
print("[*] Initialisiere Datenbank...")
|
||||
init_db()
|
||||
print("[*] Starte Fail2Ban-Log-Monitor mit Discord-Integration...")
|
||||
monitor_fail2ban()
|
||||
|
Reference in New Issue
Block a user