tailscale/safesocket
Brad Fitzpatrick d3efe8caf6 safesocket, ipn/ipnserver: look up peer creds on Darwin
And open up socket permissions like Linux, now that we know who
connections are from.

This uses the new inet.af/peercred that supports Linux and Darwin at
the moment.

Fixes #1347
Fixes #1348

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-02-16 20:38:44 -08:00
..
basic_test.go safesocket: refactor macOS auth code, pull out separate LocalTCPPortAndToken 2021-01-29 14:34:57 -08:00
pipe_windows.go safesocket: document 2020-02-25 08:46:34 -08:00
safesocket_darwin.go safesocket: refactor macOS auth code, pull out separate LocalTCPPortAndToken 2021-01-29 14:34:57 -08:00
safesocket_test.go safesocket: refactor macOS auth code, pull out separate LocalTCPPortAndToken 2021-01-29 14:34:57 -08:00
safesocket.go safesocket: make ConnectDefault use paths pkg, fixing tailscaled-on-macOS 2021-02-15 11:33:12 -08:00
unixsocket.go safesocket, ipn/ipnserver: look up peer creds on Darwin 2021-02-16 20:38:44 -08:00