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/ipn
Aaron Klotz d7962e3bcf ipn/ipnserver, util/winutil: update workaround for os/user.LookupId failures on Windows to reject SIDs from deleted/invalid security principals.
Our current workaround made the user check too lax, thus allowing deleted
users. This patch adds a helper function to winutil that checks that the
uid's SID represents a valid Windows security principal.

Now if `lookupUserFromID` determines that the SID is invalid, we simply
propagate the error.

Updates https://github.com/tailscale/tailscale/issues/869

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
2 years ago
..
ipnlocal ipn/ipnlocal, wgengine/netstack: use netstack for peerapi server 2 years ago
ipnserver ipn/ipnserver, util/winutil: update workaround for os/user.LookupId failures on Windows to reject SIDs from deleted/invalid security principals. 2 years ago
ipnstate ipn/ipnstate: add TailnetName to status 2 years ago
localapi ipn/ipnserver: add TS_PERMIT_CERT_UID envknob to give webservers cert access 2 years ago
policy ipn/policy: treat DNS service as interesting so it's not filtered out 3 years ago
store/aws ipn/store/aws: support using sub-paths in parameters 3 years ago
backend.go ipn: use key.NodePublic instead of tailcfg.NodeKey 3 years ago
doc.go Move Linux client & common packages into a public repo. 4 years ago
fake_test.go ipn{,/ipnlocal}, cmd/tailscale/cli: don't check pref reverts on initial up 3 years ago
handle.go ipn: another controlplane synonym 3 years ago
message.go ipn: don't log IPN messages that may contain an authkey. 3 years ago
message_test.go ipn: allow b to be nil in NewBackendServer 3 years ago
prefs.go wgengine/netstack: add an SSH server experiment 2 years ago
prefs_clone.go wgengine/netstack: add an SSH server experiment 2 years ago
prefs_test.go wgengine/netstack: add an SSH server experiment 2 years ago
store.go ipn: remove mention of wgkey in comment. 3 years ago
store_test.go ipn: test TestFileStore in a fresh subdirectory 3 years ago