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/util
Andrew Dunham e985c6e58f ssh/tailssh: try fetching group IDs for user with the 'id' command
Since the tailscaled binaries that we distribute are static and don't
link cgo, we previously wouldn't fetch group IDs that are returned via
NSS. Try shelling out to the 'id' command, similar to how we call
'getent', to detect such cases.

Updates #11682

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I9bdc938bd76c71bc130d44a97cc2233064d64799
2 years ago
..
cache util/cache: fix missing interface methods (#11275) 2 years ago
cibuild all: update copyright and license headers 3 years ago
clientmetric util/clientmetric: allow client metric values to be provided by a function 3 years ago
cloudenv util/cloudenv: add support for DigitalOcean 2 years ago
cmpver util/cmpver: add Less/LessEq helper funcs 2 years ago
codegen all: use Go 1.22 range-over-int 2 years ago
cstruct all: use Go 1.22 range-over-int 2 years ago
ctxkey all: use reflect.TypeFor now available in Go 1.22 (#11078) 2 years ago
deephash all: use Go 1.22 range-over-int 2 years ago
dirwalk all: use tstest.Replace more 3 years ago
dnsname all: use Go 1.22 range-over-int 2 years ago
execqueue control/controlclient,util/execqueue: extract execqueue into a package 2 years ago
expvarx all: use Go 1.22 range-over-int 2 years ago
fastuuid all: use Go 1.22 range-over-int 2 years ago
goroutines util/goroutines: let ScrubbedGoroutineDump get only current stack 2 years ago
groupmember util/groupmember: fail earlier if group doesn't exist, use slices.Contains 2 years ago
hashx all: use Go 1.22 range-over-int 2 years ago
httphdr util/httphdr: add new package for parsing HTTP headers (#9797) 2 years ago
httpm util/httpm: don't run test if .git doesn't exist 2 years ago
jsonutil all: use Go 1.22 range-over-int 2 years ago
limiter all: use Go 1.22 range-over-int 2 years ago
lineread all: update copyright and license headers 3 years ago
linuxfw cmd/tailscaled: move cleanup to an implicit action during startup 2 years ago
lru all: use Go 1.22 range-over-int 2 years ago
mak various: add golangci-lint, fix issues (#7905) 3 years ago
multierr all: use Go 1.22 range-over-int 2 years ago
must all: update copyright and license headers 3 years ago
nocasemaps all: use Go 1.22 range-over-int 2 years ago
osdiag ipn/local: log OS-specific diagnostic information as JSON (#11700) 2 years ago
osshare all: update copyright and license headers 3 years ago
osuser ssh/tailssh: try fetching group IDs for user with the 'id' command 2 years ago
pidowner all: use Go 1.22 range-over-int 2 years ago
precompress all: update copyright and license headers 3 years ago
progresstracking ipn/localapi: add support for multipart POST to file-put 2 years ago
quarantine all: update copyright and license headers 3 years ago
race all: use Go 1.22 range-over-int 2 years ago
racebuild all: update copyright and license headers 3 years ago
rands util/rands: add Shuffle and Perm functions with on-stack RNG state 2 years ago
reload util/reload: add new package to handle periodic value loading 2 years ago
ringbuffer all: use Go 1.22 range-over-int 2 years ago
set all: use Go 1.22 range-over-int 2 years ago
singleflight all: use Go 1.22 range-over-int 2 years ago
slicesx all: use Go 1.22 range-over-int 2 years ago
syspolicy util/syspolicy: clean up doc grammar and consistency 2 years ago
sysresources util/sysresources, magicsock: scale DERP buffer based on system memory 3 years ago
systemd all: update copyright and license headers 3 years ago
testenv util/testenv: add new package to hold InTest 2 years ago
topk all: use Go 1.22 range-over-int 2 years ago
truncate util/truncate: support []byte as well (#11614) 2 years ago
uniq all: use Go 1.22 range-over-int 2 years ago
vizerror util/vizerror: add As function to get wrapped Error 3 years ago
winutil all: use Go 1.22 range-over-int 2 years ago
zstdframe all: use Go 1.22 range-over-int 2 years ago