Skip to content

Commit 9bd83e5

Browse files
kylecarbscoadler
andauthored
feat: Add Tailscale networking (#3505)
* fix: Add coder user to docker group on installation This makes for a simpler setup, and reduces the likelihood a user runs into a strange issue. * Add wgnet * Add ping * Add listening * Finish refactor to make this work * Add interface for swapping * Fix conncache with interface * chore: update gvisor * fix tailscale types * linting * more linting * Add coordinator * Add coordinator tests * Fix coordination * It compiles! * Move all connection negotiation in-memory * Migrate coordinator to use net.conn * Add closed func * Fix close listener func * Make reconnecting PTY work * Fix reconnecting PTY * Update CI to Go 1.19 * Add CLI flags for DERP mapping * Fix Tailnet test * Rename ConnCoordinator to TailnetCoordinator * Remove print statement from workspace agent test * Refactor wsconncache to use tailnet * Remove STUN from unit tests * Add migrate back to dump * chore: Upgrade to Go 1.19 This is required as part of #3505. * Fix reconnecting PTY tests * fix: update wireguard-go to fix devtunnel * fix migration numbers * linting * Return early for status if endpoints are empty * Update cli/server.go Co-authored-by: Colin Adler <colin1adler@gmail.com> * Update cli/server.go Co-authored-by: Colin Adler <colin1adler@gmail.com> * Fix frontend entites * Fix agent bicopy * Fix race condition for the last node * Fix down migration * Fix connection RBAC * Fix migration numbers * Fix forwarding TCP to a local port * Implement ping for tailnet * Rename to ForceHTTP * Add external derpmapping * Expose DERP region names to the API * Add global option to enable Tailscale networking for web * Mark DERP flags hidden while testing * Update DERP map on reconnect * Add close func to workspace agents * Fix race condition in upstream dependency * Fix feature columns race condition Co-authored-by: Colin Adler <colin1adler@gmail.com>
1 parent 00da01f commit 9bd83e5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+2486
-1805
lines changed

.vscode/settings.json

+34
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
"codersdk",
1414
"cronstrue",
1515
"databasefake",
16+
"DERP",
17+
"derphttp",
18+
"derpmap",
1619
"devel",
1720
"drpc",
1821
"drpcconn",
@@ -25,6 +28,7 @@
2528
"goarch",
2629
"gographviz",
2730
"goleak",
31+
"gonet",
2832
"gossh",
2933
"gsyslog",
3034
"hashicorp",
@@ -34,20 +38,30 @@
3438
"idtoken",
3539
"Iflag",
3640
"incpatch",
41+
"ipnstate",
3742
"isatty",
3843
"Jobf",
3944
"Keygen",
4045
"kirsle",
4146
"Kubernetes",
4247
"ldflags",
48+
"magicsock",
4349
"manifoldco",
4450
"mapstructure",
4551
"mattn",
4652
"mitchellh",
4753
"moby",
4854
"namesgenerator",
55+
"namespacing",
56+
"netaddr",
57+
"netip",
58+
"netmap",
59+
"netns",
60+
"netstack",
61+
"nettype",
4962
"nfpms",
5063
"nhooyr",
64+
"nmcfg",
5165
"nolint",
5266
"nosec",
5367
"ntqry",
@@ -63,14 +77,23 @@
6377
"provisionersdk",
6478
"ptty",
6579
"ptytest",
80+
"reconfig",
6681
"retrier",
6782
"rpty",
6883
"sdkproto",
6984
"sdktrace",
7085
"Signup",
86+
"slogtest",
7187
"sourcemapped",
7288
"Srcs",
7389
"stretchr",
90+
"stuntest",
91+
"tailbroker",
92+
"tailcfg",
93+
"tailexchange",
94+
"tailnet",
95+
"tailnettest",
96+
"Tailscale",
7497
"TCGETS",
7598
"tcpip",
7699
"TCSETS",
@@ -84,19 +107,30 @@
84107
"tfstate",
85108
"tparallel",
86109
"trimprefix",
110+
"tsdial",
111+
"tslogger",
112+
"tstun",
87113
"turnconn",
88114
"typegen",
89115
"unconvert",
90116
"Untar",
117+
"Userspace",
91118
"VMID",
92119
"weblinks",
93120
"webrtc",
121+
"wgcfg",
122+
"wgconfig",
123+
"wgengine",
124+
"wgmonitor",
125+
"wgnet",
94126
"workspaceagent",
127+
"workspaceagents",
95128
"workspaceapp",
96129
"workspaceapps",
97130
"workspacebuilds",
98131
"workspacename",
99132
"wsconncache",
133+
"wsjson",
100134
"xerrors",
101135
"xstate",
102136
"yamux"

0 commit comments

Comments
 (0)