-
-
Notifications
You must be signed in to change notification settings - Fork 877
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timeout in the transport should be reset #1720
Comments
I agree. This bug also causes file transfers over ssh to be truncated if they are large regardless of the file transfer still occurring. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
In the ssh transport, there is a timeout and it is only reset when the connection is lost. In the code, it says that the timeout is reset once the authentication succeeds. But I think this is not the case.
In the current state, when a user is connected and opens an interactive shell. Even there is data flow between the client and the server, the connection is timeout.
The timeout in the
protocol.py
is never reached unless it is less than that set in the transport.To Reproduce
Steps to reproduce the behavior:
Expected behavior
My suggestion is to reset the timeout of the transport in the protocol right after the
connectionMade()
inHoneyPotBaseProtocol
.If you agree to the idea, I will make a change.
The text was updated successfully, but these errors were encountered: