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
@@ -1415,6 +1415,9 @@ class Reticulum:
if interface.announce_queue != None: ifstats["announce_queue"] = len(interface.announce_queue)
else: ifstats["announce_queue"] = None
if hasattr(interface, "blocked_ip_count"):
ifstats["blocked_ips"] = interface.blocked_ip_count
ifstats["name"] = str(interface)
ifstats["short_name"] = str(interface.name)
ifstats["hash"] = interface.get_hash()