-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Configurable Keep-alives #2334
Comments
can we just make the keepalives more frequent by default? |
Sure, but what value is sufficient for more frequent, it would really vary per how your VPN is configured right? For the forwarding proxy, if I recall correctly I think we heartbeat every 5 minutes. |
Hi @russjones, @klizhentas, I think it's more a firewall related setting (sometimes it's at LoadBalancer level), as a reference, you can consider how some related applications/actors behave: I'd said (to be as much flexible as possible):
|
@klizhentas One thing we can do is add |
this will be hard to manage/troubleshoot per cluster, don't you think? Let's have a cluster global setting instead that applies to every single client for now. |
@kontsevoy What do you think about adding a cluster level keep alive that will be sent by Teleport nodes to clients. It can be configured with the following syntax:
|
I would drop "server" because it's obvious and add "interval" (because we use this word elsewhere in the config to express periodically happening actions). How about |
Talked with @ev offline about this, we'll add support for
Teleport configuration will look like:
|
Looks good to me. |
Support configurable client and server keep-alives messages for users whose network disconnects SSH connections after some idle period. This would allow users/admins to configure clients/server to send keep-alive messages shorter than the idle period to prevent the network (VPN) from tearing down the connection.
See Zendesk #377.
The text was updated successfully, but these errors were encountered: