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/tailcfg
Percy Wegmann 7d83056a1b ssh/tailssh: fix SSH on busybox systems
This involved the following:

1. Pass the su command path as first of args in call to unix.Exec to make sure that busybox sees the correct program name.
   Busybox is a single executable userspace that implements various core userspace commands in a single binary. You'll
   see it used via symlinking, so that for example /bin/su symlinks to /bin/busybox. Busybox knows that you're trying
   to execute /bin/su because argv[0] is '/bin/su'. When we called unix.Exec, we weren't including the program name for
   argv[0], which caused busybox to fail with 'applet not found', meaning that it didn't know which command it was
   supposed to run.
2. Tell su to whitelist the SSH_AUTH_SOCK environment variable in order to support ssh agent forwarding.
3. Run integration tests on alpine, which uses busybox.
4. Increment CurrentCapabilityVersion to allow turning on SSH V2 behavior from control.

Fixes #12849

Signed-off-by: Percy Wegmann <percy@tailscale.com>
3 months ago
..
c2ntypes.go posture: add network hardware addresses to posture identity 4 months ago
derpmap.go all: make more tests pass/skip in airplane mode 7 months ago
proto_port_range.go tailcfg: implement text encoding for ProtoPortRange 1 year ago
proto_port_range_test.go tailcfg: implement text encoding for ProtoPortRange 1 year ago
tailcfg.go ssh/tailssh: fix SSH on busybox systems 3 months ago
tailcfg_clone.go cmd/cloner, cmd/viewer, util/codegen: add support for generic types and interfaces 4 months ago
tailcfg_test.go kube,tailcfg: store parsed recorder tags in a separate field (#12429) 5 months ago
tailcfg_view.go cmd/viewer,type/views: add MapSlice for maps of slices 5 months ago
tka.go tailcfg: add RPC structs for /tka/affected-sigs 2 years ago