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
Nick Khyl caa3d7594f ipn/ipnlocal, net/tsdial: plumb routes into tsdial and use them in UserDial
We'd like to use tsdial.Dialer.UserDial instead of SystemDial for DNS over TCP.
This is primarily necessary to properly dial internal DNS servers accessible
over Tailscale and subnet routes. However, to avoid issues when switching
between Wi-Fi and cellular, we need to ensure that we don't retain connections
to any external addresses on the old interface. Therefore, we need to determine
which dialer to use internally based on the configured routes.

This plumbs routes and localRoutes from router.Config to tsdial.Dialer,
and updates UserDial to use either the peer dialer or the system dialer,
depending on the network address and the configured routes.

Updates tailscale/corp#18725
Fixes #4529

Signed-off-by: Nick Khyl <nickk@tailscale.com>
5 months ago
..
addlicense all: update tools that manage copyright headers 2 years ago
build-webclient client/web: precompress assets 10 months ago
cloner all: use Go 1.22 range-over-int 6 months ago
connector-gen cmd/connector-gen: add helper tool for wide app connector configurations 10 months ago
containerboot cmd/containerboot,kube,ipn/store/kubestore: allow interactive login on kube, check Secret create perms, allow empty state Secret (#11326) 5 months ago
derper derp/derphttp: fix netcheck HTTPS probes 5 months ago
derpprobe cmd/{derper,derpprobe}: add --version flag 6 months ago
dist release/dist/qnap: add qnap target builder 5 months ago
get-authkey util/cmpx: delete now that we're using Go 1.22 8 months ago
gitops-pusher cmd/gitops-pusher: only use OAuth creds if non-empty string 8 months ago
hello cmd/hello: link to the Hello KB article (#11022) 8 months ago
k8s-nameserver cmd/{k8s-operator,k8s-nameserver},k8s-operator: update nameserver config with records for ingress/egress proxies (#11019) 5 months ago
k8s-operator cmd/k8s-operator: cleanup runReconciler signature (#11993) 5 months ago
mkmanifest cmd/mkmanifest, cmd/tailscale, cmd/tailscaled: remove Windows arm32 resources from OSS 2 years ago
mkpkg go.mod: upgrade nfpm to v2 (#8786) 1 year ago
mkversion version/mkversion: open-source version generation logic 2 years ago
nardump all: update copyright and license headers 2 years ago
netlogfmt all: use Go 1.22 range-over-int 6 months ago
nginx-auth tailcfg,all: add and use Node.IsTagged() 2 years ago
pgproxy various: add golangci-lint, fix issues (#7905) 1 year ago
printdep cmd/printdep: print correct toolchain URL 2 years ago
proxy-to-grafana all: use Go 1.22 range-over-int 6 months ago
sniproxy all: make more tests pass/skip in airplane mode 5 months ago
speedtest all: update copyright and license headers 2 years ago
ssh-auth-none-demo all: replace deprecated ioutil references 1 year ago
stunc all: update copyright and license headers 2 years ago
stund build(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (#11410) 5 months ago
sync-containers all: adjust some build tags for plan9 1 year ago
tailscale cmd/tailscale/cli: set localClient.UseSocketOnly during flag parsing 5 months ago
tailscaled ipn/ipnlocal, net/tsdial: plumb routes into tsdial and use them in UserDial 5 months ago
testcontrol all: use Go 1.22 range-over-int 6 months ago
testwrapper cmd/testwrapper: apply results of all unit tests to coverage for all packages 7 months ago
tsconnect health, all: remove health.Global, finish plumbing health.Tracker 5 months ago
tsidp cmd/tsidp: add start of OIDC Tailscale IdP 11 months ago
tsshd all: update copyright and license headers 2 years ago
viewer all: use Go 1.22 range-over-int 6 months ago