tailscale/ssh/tailssh
Mario Minardi c90c9938c8
ssh/tailssh: add logic for matching against AcceptEnv patterns (#13466)
Add logic for parsing and matching against our planned format for
AcceptEnv values. Namely, this supports direct matches against string
values and matching where * and ? are treated as wildcard characters
which match against an arbitrary number of characters and a single
character respectively.

Actually using this logic in non-test code will come in subsequent
changes.

Updates https://github.com/tailscale/corp/issues/22775

Signed-off-by: Mario Minardi <mario@tailscale.com>
2024-09-25 21:09:05 -06:00
..
testcontainers ssh/tailssh: only chdir incubator process to user's homedir when necessary and possible 2024-08-21 13:20:12 -05:00
accept_env_test.go ssh/tailssh: add logic for matching against AcceptEnv patterns (#13466) 2024-09-25 21:09:05 -06:00
accept_env.go ssh/tailssh: add logic for matching against AcceptEnv patterns (#13466) 2024-09-25 21:09:05 -06: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: add ability to force V2 behavior using new feature flag 2024-08-29 15:02:58 -05:00
privs_test.go ssh/tailssh: only chdir incubator process to user's homedir when necessary and possible 2024-08-21 13:20:12 -05:00
tailssh_integration_test.go ssh/tailssh: only chdir incubator process to user's homedir when necessary and possible 2024-08-21 13:20:12 -05:00
tailssh_test.go util/usermetrics: make usermetrics non-global 2024-09-25 15:57:00 +02:00
tailssh.go util/slicesx: add FirstElementEqual and LastElementEqual 2024-09-11 18:36:00 -07:00
user.go ssh/tailssh: try fetching group IDs for user with the 'id' command 2024-04-23 08:54:17 -05:00