mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-29 11:54:21 +01:00
remove timeout on disconnection
This commit is contained in:
@@ -365,6 +365,7 @@ class HoneyPotTransport(transport.SSHServerTransport, TimeoutMixin):
|
||||
|
||||
# this seems to be the only reliable place of catching lost connection
|
||||
def connectionLost(self, reason):
|
||||
self.setTimeout(None)
|
||||
for i in self.interactors:
|
||||
i.sessionClosed()
|
||||
if self.transport.sessionno in self.factory.sessions:
|
||||
|
||||
Reference in New Issue
Block a user