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/wgengine
Andrew Dunham 2a9d46c38f wgengine/magicsock: prefer private endpoints to public ones
Switch our best address selection to use a scoring-based approach, where
we boost each address based on whether it's a private IP or IPv6.

For users in cloud environments, this biases endpoint selection towards
using an endpoint that is less likely to cost the user money, and should
be less surprising to users.

This also involves updating the tests to not use private IPv4 addresses;
other than that change, the behaviour should be identical for existing
endpoints.

Updates #8097

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I069e3b399daea28be66b81f7e44fc27b2943d8af
11 months ago
..
bench all: move network monitoring from wgengine/monitor to net/netmon 1 year ago
capture various: add golangci-lint, fix issues (#7905) 1 year ago
filter all: use tstest.Replace more 1 year ago
magicsock wgengine/magicsock: prefer private endpoints to public ones 11 months ago
netlog all: avoid repeated default interface lookups 1 year ago
netstack wgengine/netstack: use ping6 on BSD platforms 12 months ago
router all: move network monitoring from wgengine/monitor to net/netmon 1 year ago
wgcfg tailcfg: make SelfNodeV4MasqAddrForThisPeer a pointer 1 year ago
wgint all: update copyright and license headers 1 year ago
wglog all: update copyright and license headers 1 year ago
winnet all: update copyright and license headers 1 year ago
mem_ios.go all: update copyright and license headers 1 year ago
pendopen.go all: update copyright and license headers 1 year ago
userspace.go tsd: add package with System type to unify subsystem init, discovery 1 year ago
userspace_ext_test.go tsd: add package with System type to unify subsystem init, discovery 1 year ago
userspace_test.go all: update copyright and license headers 1 year ago
watchdog.go tsd: add package with System type to unify subsystem init, discovery 1 year ago
watchdog_js.go all: update copyright and license headers 1 year ago
watchdog_test.go all: update copyright and license headers 1 year ago
wgengine.go tsd: add package with System type to unify subsystem init, discovery 1 year ago