mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-07-24 00:38:16 -07:00
Added blocked IPs list to ifstats
This commit is contained in:
@@ -525,6 +525,11 @@ class BackboneInterface(Interface):
|
||||
elif str(e).endswith("Bad file descriptor"): pass
|
||||
else: RNS.log("Error while shutting down socket for "+str(self)+": "+str(e), RNS.LOG_ERROR)
|
||||
|
||||
@property
|
||||
def blocked_ip_list(self):
|
||||
if not self.block_fast_flapping: return []
|
||||
else: return list(self.fast_flapping.keys())
|
||||
|
||||
@property
|
||||
def blocked_ip_count(self):
|
||||
if not self.block_fast_flapping: return 0
|
||||
|
||||
Reference in New Issue
Block a user