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 1b89662eff ipn/ipnlocal: make peerapi listener on Android avoid the kernel
We intercept the peerapi port in netstack anyway, so there's no reason
the linux kernel on Android needs to know about it. It's only getting
in the way and causing problems for reasons we don't fully understand.
But we don't even need to understand it because it's not relevant
anymore.

Instead, provide a dummy net.Listener that just sits and blocks to
pacify the rest of the code that assumes it can be stuck in a
Listener.Accept call and call Listener.Close and Listener.Addr.

We'll likely do this for all platforms in the future, if/when we also
link in netstack on iOS.

Updates #4449
Updates #4293
Updates #3986

Change-Id: Ic2d3fe2f3cee60fc527356a3368830f17aeb75ae
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
..
dnsconfig_test.go net/dns: schedule DoH upgrade explicitly, fix Resolver.Addr confusion 3 years ago
local.go ipn/ipnlocal: reject tailscale up --ssh if disabled on tailnet 3 years ago
local_test.go ipn/ipnlocal: make peerIPs return a sorted slice 3 years ago
loglines_test.go ipn/store: add common package for instantiating ipn.StateStores 3 years ago
peerapi.go ipn/ipnlocal: make peerapi listener on Android avoid the kernel 3 years ago
peerapi_h2c.go ipn/ipnlocal: add HTTP/2 h2c server support to peerapi on non-mobile platforms 3 years ago
peerapi_macios_ext.go net/tsdial: move macOS/iOS peerapi sockopt logic from LocalBackend 3 years ago
peerapi_test.go ipn/ipnlocal: add start of inter-user Taildrop 3 years ago
ssh.go tempfork: temporarily fork gliderlabs/ssh and x/crypto/ssh 3 years ago
ssh_stub.go ssh: make it build on darwin 3 years ago
ssh_test.go ipn/ipnlocal: generate tailscaled-owned SSH keys as needed 3 years ago
state_test.go ipn/ipnlocal: do not process old status messages received out of order 3 years ago