mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-07-29 02:58:11 -07:00
Implemented automated fast-flapping client blocking on BackboneInterface
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user