mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-12-02 21:00:09 -05:00
Implemented automated fast-flapping client blocking on BackboneInterface
This commit is contained in:
parent
b95c51b96e
commit
cd6911ed53
3 changed files with 112 additions and 39 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue