Skip to content
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

Unclear interaction between inactivity timer and server keepalive #316

Open
gleason-m opened this issue Jul 18, 2024 · 0 comments
Open

Unclear interaction between inactivity timer and server keepalive #316

gleason-m opened this issue Jul 18, 2024 · 0 comments

Comments

@gleason-m
Copy link
Contributor

I'll preface this by saying that I do not know SSH well enough to know if this is a feature or a bug.

I have a russh client configured with an inactivity timeout of 60s. The server we're communicating with sends keepalives every 15s. My expectation is the session would be dropped after 60s, but this does not happen as the client is responding to the keepalives and this response resets the inactivity timer.

I see that sending a keepalive request does not reset the inactivity timer, so should it be true that responding to a keepalive does reset the timer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant