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/ipnlocal
Brad Fitzpatrick 0a842f353c ipn/ipnserver: move more connection acceptance logic to LocalBackend
Follow-up to #6467 and #6506.

LocalBackend knows the server-mode state, so move more auth checking
there, removing some bookkeeping from ipnserver.Server.

Updates #6417
Updates tailscale/corp#8051

Change-Id: Ic5d14a077bf0dccc92a3621bd2646bab2cc5b837
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
..
c2n.go wgengine/magicsock: make debug-level stuff not logged by default 3 years ago
cert.go ipn/{ipnlocal,localapi}: move most of cert.go to ipnlocal 3 years ago
cert_js.go ipn/ipnlocal, wgengine/netstack: start handling ports for future serving 3 years ago
cert_test.go ipn/{ipnlocal,localapi}: move most of cert.go to ipnlocal 3 years ago
dnsconfig_test.go ipn/ipnlocal: use ipn.PrefsView 3 years ago
local.go ipn/ipnserver: move more connection acceptance logic to LocalBackend 3 years ago
local_test.go ipn/ipnlocal: add support for multiple user profiles 3 years ago
loglines_test.go ipn/ipnlocal: add support for multiple user profiles 3 years ago
network-lock.go ipn/ipnlocal,tka: generate a nonce for each TKA 3 years ago
network-lock_test.go ipn/ipnlocal: always tx TKA sync after enablement 3 years ago
peerapi.go envknob: add CanTaildrop (TS_DISABLE_TAILDROP) to disable taildrop on device 3 years ago
peerapi_h2c.go all: remove old +build tags 3 years ago
peerapi_macios_ext.go all: remove old +build tags 3 years ago
peerapi_test.go ipn/ipnlocal: move selfNode from peerAPIServer to peerAPIHandler 3 years ago
profiles.go envknob: add GOOS func 3 years ago
profiles_test.go ipn/ipnlocal: handle case when selected profile is deleted 3 years ago
serve.go cmd/tailscale/cli: flesh out serve CLI and tests (#6304) 3 years ago
serve_test.go ipn/ipnlocal: support serving files/directories too 3 years ago
ssh.go ssh/tailssh: add Tailscale SSH (server) support on FreeBSD 3 years ago
ssh_stub.go ssh/tailssh: add Tailscale SSH (server) support on FreeBSD 3 years ago
ssh_test.go ipn/ipnlocal: add support for multiple user profiles 3 years ago
state_test.go ipn/ipnlocal: strip NetworkLockKey from Prefs 3 years ago