Enabled ingress limiting on per-peer Weave and Auto sub-interfaces

This commit is contained in:
Mark Qvist 2025-12-27 10:43:28 +01:00
commit 2f47456668
2 changed files with 0 additions and 14 deletions

View file

@ -580,9 +580,6 @@ class AutoInterface(Interface):
def process_outgoing(self, data): pass
# Ingress limiting happens on peer sub-interfaces
def should_ingress_limit(self): return False
def detach(self): self.online = False
def __str__(self): return f"AutoInterface[{self.name}]"
@ -656,11 +653,6 @@ class AutoInterfacePeer(Interface):
if self in RNS.Transport.interfaces: RNS.Transport.interfaces.remove(self)
# Ingress-limit announces per discovered peer
# TODO: Disabled until potential discovery issue
# has been diagnosed
def should_ingress_limit(self): return False
class AutoInterfaceHandler(socketserver.BaseRequestHandler):
def __init__(self, callback, *args, **keys):
self.callback = callback

View file

@ -991,9 +991,6 @@ class WeaveInterface(Interface):
def process_outgoing(self,data):
pass
def should_ingress_limit(self):
return False
def detach(self):
self._online = False
@ -1086,6 +1083,3 @@ class WeaveInterfacePeer(Interface):
if self in RNS.Transport.interfaces:
RNS.Transport.interfaces.remove(self)
def should_ingress_limit(self):
return False