You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/ssh/tailssh
Irbe Krumina a21bf100f3
cmd/k8s-operator,k8s-operator/sessionrecording,sessionrecording,ssh/tailssh: refactor session recording functionality (#12945)
cmd/k8s-operator,k8s-operator/sessionrecording,sessionrecording,ssh/tailssh: refactor session recording functionality

Refactor SSH session recording functionality (mostly the bits related to
Kubernetes API server proxy 'kubectl exec' session recording):

- move the session recording bits used by both Tailscale SSH
and the Kubernetes API server proxy into a shared sessionrecording package,
to avoid having the operator to import ssh/tailssh

- move the Kubernetes API server proxy session recording functionality
into a k8s-operator/sessionrecording package, add some abstractions
in preparation for adding support for a second streaming protocol (WebSockets)

Updates tailscale/corp#19821

Signed-off-by: Irbe Krumina <irbe@tailscale.com>
2 months ago
..
testcontainers ssh/tailssh: replace incubator process with su instead of running su as child 3 months ago
incubator.go ssh/tailssh: replace incubator process with su instead of running su as child 3 months ago
incubator_linux.go ssh/tailssh: fall back to using su when no TTY available on Linux 4 months ago
privs_test.go ssh/tailssh: fall back to using su when no TTY available on Linux 4 months ago
tailssh.go cmd/k8s-operator,k8s-operator/sessionrecording,sessionrecording,ssh/tailssh: refactor session recording functionality (#12945) 2 months ago
tailssh_integration_test.go ssh/tailssh: fix integration test (#12562) 3 months ago
tailssh_test.go cmd/k8s-operator,k8s-operator/sessionrecording,sessionrecording,ssh/tailssh: refactor session recording functionality (#12945) 2 months ago
user.go ssh/tailssh: try fetching group IDs for user with the 'id' command 5 months ago