tailscale/ssh/tailssh
Andrew Dunham 45d2f4301f proxymap, various: distinguish between different protocols
Previously, we were registering TCP and UDP connections in the same map,
which could result in erroneously removing a mapping if one of the two
connections completes while the other one is still active.

Add a "proto string" argument to these functions to avoid this.
Additionally, take the "proto" argument in LocalAPI, and plumb that
through from the CLI and add a new LocalClient method.

Updates tailscale/corp#20600

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I35d5efaefdfbf4721e315b8ca123f0c8af9125fb
2024-06-18 13:29:41 -04:00
..
testcontainers ssh/tailssh: check IsSELinuxEnforcing in tailscaled process 2024-06-12 20:29:48 -05:00
incubator_linux.go ssh/tailssh: fall back to using su when no TTY available on Linux 2024-05-29 13:15:17 -05:00
incubator.go ssh/tailssh: check IsSELinuxEnforcing in tailscaled process 2024-06-12 20:29:48 -05:00
privs_test.go ssh/tailssh: fall back to using su when no TTY available on Linux 2024-05-29 13:15:17 -05:00
tailssh_integration_test.go ssh/tailssh: fall back to using su when no TTY available on Linux 2024-05-29 13:15:17 -05:00
tailssh_test.go proxymap, various: distinguish between different protocols 2024-06-18 13:29:41 -04:00
tailssh.go proxymap, various: distinguish between different protocols 2024-06-18 13:29:41 -04:00
user.go ssh/tailssh: try fetching group IDs for user with the 'id' command 2024-04-23 08:54:17 -05:00