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/net
Mihai Parparita 62f4df3257 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>
1 year ago
..
connstats all: update copyright and license headers 1 year ago
dns net/dns/resolver: remove maxDoHInFlight 1 year ago
dnscache all: update copyright and license headers 1 year ago
dnsfallback all: update copyright and license headers 1 year ago
flowtrack all: update copyright and license headers 1 year ago
interfaces net/interfaces, net/netns: add node attributes to control default interface getting and binding 1 year ago
memnet net/memnet: rename from net/nettest 1 year ago
netaddr all: update copyright and license headers 1 year ago
netcheck all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 1 year ago
neterror all: update copyright and license headers 1 year ago
netknob all: update copyright and license headers 1 year ago
netns net/interfaces, net/netns: add node attributes to control default interface getting and binding 1 year ago
netstat net/{netns,netstat}: use new x/sys/cpu.IsBigEndian 1 year ago
netutil net/netutil: only check Linux sysctls w/ procfs, assume absent means false 1 year ago
packet all: update copyright and license headers 1 year ago
ping all: update copyright and license headers 1 year ago
portmapper all: update tools that manage copyright headers 1 year ago
proxymux all: update copyright and license headers 1 year ago
routetable all: update copyright and license headers 1 year ago
socks5 all: update copyright and license headers 1 year ago
speedtest all: update copyright and license headers 1 year ago
stun all: use Go 1.20's bytes.Clone 1 year ago
tlsdial health, net/tlsdial: add healthcheck for self-signed cert 1 year ago
tsaddr all: update copyright and license headers 1 year ago
tsdial all: update copyright and license headers 1 year ago
tshttpproxy net/tshttpproxy: more directly use Transport proxy CONNECT hooks 1 year ago
tstun all: implement pcap streaming for datapath debugging 1 year ago
wsconn all: update copyright and license headers 1 year ago