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
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>
2 months ago
..
testcontainers ssh/tailssh: only chdir incubator process to user's homedir when necessary and possible 3 months ago
accept_env.go ssh/tailssh: add logic for matching against AcceptEnv patterns (#13466) 2 months ago
accept_env_test.go ssh/tailssh: add logic for matching against AcceptEnv patterns (#13466) 2 months ago
incubator.go ssh/tailssh: add ability to force V2 behavior using new feature flag 3 months ago
incubator_linux.go
privs_test.go ssh/tailssh: only chdir incubator process to user's homedir when necessary and possible 3 months ago
tailssh.go util/slicesx: add FirstElementEqual and LastElementEqual 2 months ago
tailssh_integration_test.go ssh/tailssh: only chdir incubator process to user's homedir when necessary and possible 3 months ago
tailssh_test.go util/usermetrics: make usermetrics non-global 2 months ago
user.go