tailscale/net
Mihai Parparita a8231b18cc net/interfaces, net/netns: add node attributes to control default interface getting and binding
With #6566 we started to more aggressively bind to the default interface
on Darwin. We are seeing some reports of the wrong cellular interface
being chosen on iOS. To help with the investigation, this adds to knobs
to control the behavior changes:
- CapabilityDebugDisableAlternateDefaultRouteInterface disables the
  alternate function that we use to get the default interface on macOS
  and iOS (implemented in tailscale/corp#8201). We still log what it
  would have returned so we can see if it gets things wrong.
- CapabilityDebugDisableBindConnToInterface is a bigger hammer that
  disables binding of connections to the default interface altogether.

Updates #7184
Updates #7188

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
(cherry picked from commit 62f4df3257)
2023-02-08 13:56:29 -08:00
..
connstats net/connstats: mark TestConcurrent as flaky 2023-01-21 11:04:31 -08:00
dns net/dns: fix recently added URL scheme from http to https 2023-01-17 18:50:04 -08:00
dnscache ipn/ipnlocal, net/dnscache: allow configuring dnscache logging via capability 2023-01-24 17:21:43 -05:00
dnsfallback all: remove old +build tags 2022-11-04 07:25:42 -07:00
flowtrack net/flowtrack,wgengine/filter: refactor Cache to use generics 2023-01-11 15:29:09 -08:00
interfaces net/interfaces, net/netns: add node attributes to control default interface getting and binding 2023-02-08 13:56:29 -08:00
netaddr all: migrate code from netaddr.FromStdAddr to Go 1.18 2022-08-02 22:25:07 -07:00
netcheck net/netcheck: don't use a space in the captive portal challenge 2022-11-08 16:58:54 -05:00
neterror net/{neterror,dns/resolver}: move PacketWasTruncated to neterror from DNS code 2022-01-03 14:03:30 -08:00
netknob all: disable TCP keep-alives on iOS/Android 2021-09-28 12:03:18 -07:00
netns net/interfaces, net/netns: add node attributes to control default interface getting and binding 2023-02-08 13:56:29 -08:00
netstat net/netstat: document the Windows netstat code a bit more 2023-01-27 10:12:46 -08:00
nettest ssh/tailssh: add TestSSHAuthFlow 2022-10-09 10:27:31 -07:00
netutil all: fix spelling mistakes 2022-09-29 13:36:13 -07:00
packet net/{packet,tstun}: fix typo in test helper docs 2023-01-14 13:01:15 -08:00
ping all: fix spelling mistakes 2022-09-29 13:36:13 -07:00
portmapper net/portmapper: relax handling of UPnP resp (#6946) 2023-01-12 16:57:02 -08:00
proxymux net/proxymux: add a listener mux that can run SOCKS and HTTP on a single socket. 2021-11-29 16:49:48 -08:00
routetable all: remove old +build tags 2022-11-04 07:25:42 -07:00
socks5 net/socks5: use new Go 1.19 binary.AppendByteOrder.AppendUintX 2022-08-05 08:30:48 -07:00
speedtest net/speedtest: retune to meet iperf on localhost in a VM 2022-09-23 10:46:04 -07:00
stun net/netcheck: deflake (maybe) magicsock's TestNewConn 2022-11-05 22:02:13 -07:00
tlsdial net/tlsdial,tstest,version: use go command from $PATH 2023-01-03 09:30:23 -08:00
tsaddr net/tsaddr: remove ContainsFunc helpers (they're now in x/exp/slices) 2022-12-05 18:50:24 -08:00
tsdial all: standardize on PeerAPI 2022-11-16 22:49:13 +05:00
tshttpproxy net/tshttpproxy: don't ignore env-based HTTP proxies after system lookups fail 2022-11-14 09:11:33 -08:00
tstun Remove redundant type declaration 2023-01-15 07:32:02 -08:00
wsconn net/wsconn: add back custom wrapper for turning a websocket.Conn into a net.Conn 2022-10-18 15:39:32 -07:00