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/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>
4 years ago
..
basic_test.go safesocket: refactor macOS auth code, pull out separate LocalTCPPortAndToken 4 years ago
pipe_windows.go safesocket: document 5 years ago
safesocket.go safesocket: make ConnectDefault use paths pkg, fixing tailscaled-on-macOS 4 years ago
safesocket_darwin.go safesocket: refactor macOS auth code, pull out separate LocalTCPPortAndToken 4 years ago
safesocket_test.go safesocket: refactor macOS auth code, pull out separate LocalTCPPortAndToken 4 years ago
unixsocket.go safesocket, ipn/ipnserver: look up peer creds on Darwin 4 years ago