coder/tailnet
Spike Curtis 5388a1b6d7
fix: use TSMP ping for reachability, not latency (#11749)
Use TSMP ping for reachability, but leave Disco ping for when we call Ping() since we often use that to determine whether we have a direct connection.

Also adds unit tests to make sure Ping() returns direct connection vs DERP correctly.
2024-01-22 17:37:15 +04:00
..
proto chore: add setDERPMap to configMaps (#11590) 2024-01-18 09:34:30 +04:00
tailnettest feat: use tailnet v2 API for coordination (#11638) 2024-01-22 11:07:50 +04:00
test feat: add AgentAPI using DRPC (#10811) 2023-12-18 22:53:28 +10:00
testdata feat: add AgentAPI using DRPC (#10811) 2023-12-18 22:53:28 +10:00
client.go chore: remove tailnet from agent API and rename client API to tailnet (#11303) 2024-01-02 10:02:45 +04:00
configmaps.go feat: add setAllPeersLost to the configMaps subcomponent (#11665) 2024-01-22 12:12:15 +04:00
configmaps_internal_test.go feat: add setAllPeersLost to the configMaps subcomponent (#11665) 2024-01-22 12:12:15 +04:00
conn.go fix: use TSMP ping for reachability, not latency (#11749) 2024-01-22 17:37:15 +04:00
conn_test.go fix: use TSMP ping for reachability, not latency (#11749) 2024-01-22 17:37:15 +04:00
convert.go feat: add AgentAPI using DRPC (#10811) 2023-12-18 22:53:28 +10:00
convert_test.go feat: add AgentAPI using DRPC (#10811) 2023-12-18 22:53:28 +10:00
coordinator.go feat: set peers lost when disconnected from coordinator (#11681) 2024-01-22 15:26:20 +04:00
coordinator_internal_test.go feat: support v2 Tailnet API in AGPL coordinator (#11010) 2023-12-06 15:04:28 +04:00
coordinator_test.go feat: set peers lost when disconnected from coordinator (#11681) 2024-01-22 15:26:20 +04:00
derp.go feat: automatically use websockets if DERP upgrade is unavailable (#6381) 2023-03-01 22:18:14 +00:00
derpmap.go chore: fail server startup on invalid DERP map (#10536) 2023-11-06 23:04:07 +10:00
derpmap_test.go chore: fail server startup on invalid DERP map (#10536) 2023-11-06 23:04:07 +10:00
multiagent.go feat: use tailnet v2 API for coordination (#11638) 2024-01-22 11:07:50 +04:00
node.go chore: add setBlockEndpoints to nodeUpdater (#11636) 2024-01-18 10:02:15 +04:00
node_internal_test.go chore: add setBlockEndpoints to nodeUpdater (#11636) 2024-01-18 10:02:15 +04:00
peer.go feat: add AgentAPI using DRPC (#10811) 2023-12-18 22:53:28 +10:00
service.go feat: use tailnet v2 API for coordination (#11638) 2024-01-22 11:07:50 +04:00
service_test.go chore(coderd): extract api version validation to util package (#11407) 2024-01-05 10:22:07 +00:00
trackedconn.go feat: use tailnet v2 API for coordination (#11638) 2024-01-22 11:07:50 +04:00
tunnel.go feat: support v2 Tailnet API in AGPL coordinator (#11010) 2023-12-06 15:04:28 +04:00
tunnel_internal_test.go feat: support v2 Tailnet API in AGPL coordinator (#11010) 2023-12-06 15:04:28 +04:00