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
Ox Cart 719ee4415e ssh/tailssh: use control server time instead of local time
This takes advantage of existing functionality in ipn/ipnlocal to adjust
the local clock based on periodic time signals from the control server.
This way, when checking things like SSHRule expirations, calculations are
protected incorrectly set local clocks.

Fixes tailscale/corp#15796

Signed-off-by: Percy Wegmann <percy@tailscale.com>
1 year ago
..
incubator.go ssh/tailssh: add envknobs to force override forwarding, sftp, pty 1 year ago
incubator_linux.go all: update copyright and license headers 2 years ago
privs_test.go all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 1 year ago
tailssh.go ssh/tailssh: use control server time instead of local time 1 year ago
tailssh_test.go all: replace deprecated ioutil references 1 year ago
user.go ssh/tailssh,util: extract new osuser package from ssh code (#10170) 1 year ago