fix(tailnet): set TCP keepalive idle to 72 hours for SSH conns (#7196)

This commit is contained in:
Colin Adler
2023-04-18 17:53:11 -05:00
committed by GitHub
parent 57c4de4647
commit fbf329fbb7
4 changed files with 41 additions and 36 deletions
+3 -3
View File
@@ -30,9 +30,9 @@ import (
var WorkspaceAgentIP = netip.MustParseAddr("fd7a:115c:a1e0:49d6:b259:b7ac:b1b2:48f4")
const (
WorkspaceAgentSSHPort = 1
WorkspaceAgentReconnectingPTYPort = 2
WorkspaceAgentSpeedtestPort = 3
WorkspaceAgentSSHPort = tailnet.WorkspaceAgentSSHPort
WorkspaceAgentReconnectingPTYPort = tailnet.WorkspaceAgentReconnectingPTYPort
WorkspaceAgentSpeedtestPort = tailnet.WorkspaceAgentSpeedtestPort
// WorkspaceAgentHTTPAPIServerPort serves a HTTP server with endpoints for e.g.
// gathering agent statistics.
WorkspaceAgentHTTPAPIServerPort = 4