Implemented automated fast-flapping client blocking on BackboneInterface

This commit is contained in:
Mark Qvist
2026-07-18 16:45:42 +02:00
parent b95c51b96e
commit cd6911ed53
3 changed files with 112 additions and 39 deletions
+3
View File
@@ -450,6 +450,9 @@ def program_setup(configdir, dispall=False, verbosity=0, name_filter=None, json=
clients_string = ""
else:
clients_string = "Clients : "+str(clients)
if "blocked_ips" in ifstat:
p = ifstat["blocked_ips"] > 0
if p: clients_string += "\n Blocked : "+str(ifstat["blocked_ips"])+" IP"+"s" if p else ""
else:
clients = None