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/cmd
Mihai Parparita 7330aa593e all: avoid repeated default interface lookups
On some platforms (notably macOS and iOS) we look up the default
interface to bind outgoing connections to. This is both duplicated
work and results in logspam when the default interface is not available
(i.e. when a phone has no connectivity, we log an error and thus cause
more things that we will try to upload and fail).

Fixed by passing around a netmon.Monitor to more places, so that we can
use its cached interface state.

Fixes #7850
Updates #7621

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
2 years ago
..
addlicense all: update tools that manage copyright headers 2 years ago
cloner all: update tools that manage copyright headers 2 years ago
containerboot cmd/containerboot,kube: consolidate the two kube clients 2 years ago
derper all: avoid repeated default interface lookups 2 years ago
derpprobe prober: migrate to Prometheus metric library 2 years ago
dist release/dist: add forgotten license headers 2 years ago
get-authkey all: replace /kb/ links with /s/ equivalents 2 years ago
gitops-pusher Add support for OAuth tokens #7394 (#7393) 2 years ago
hello all: update copyright and license headers 2 years ago
k8s-operator ci: add more lints (#7909) 2 years ago
mkmanifest cmd/mkmanifest, cmd/tailscale, cmd/tailscaled: remove Windows arm32 resources from OSS 2 years ago
mkpkg all: update copyright and license headers 2 years ago
mkversion version/mkversion: open-source version generation logic 2 years ago
nardump all: update copyright and license headers 2 years ago
netlogfmt all: replace logtail.{Public,Private}ID with logid.{Public,Private}ID (#7404) 2 years ago
nginx-auth tailcfg,all: add and use Node.IsTagged() 2 years ago
pgproxy various: add golangci-lint, fix issues (#7905) 2 years ago
printdep cmd/printdep: print correct toolchain URL 2 years ago
proxy-to-grafana tailcfg,all: add and use Node.IsTagged() 2 years ago
sniproxy sniproxy: add promote-https (#7487) 2 years ago
speedtest all: update copyright and license headers 2 years ago
ssh-auth-none-demo all: update copyright and license headers 2 years ago
stunc all: update copyright and license headers 2 years ago
sync-containers cmd/sync-containers: update latest and stable tags 2 years ago
tailscale all: avoid repeated default interface lookups 2 years ago
tailscaled all: avoid repeated default interface lookups 2 years ago
testcontrol all: update copyright and license headers 2 years ago
testwrapper all: update copyright and license headers 2 years ago
tsconnect all: avoid repeated default interface lookups 2 years ago
tsshd all: update copyright and license headers 2 years ago
viewer all: update tools that manage copyright headers 2 years ago