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
2 days ago
..
bench all: move network monitoring from wgengine/monitor to net/netmon 2 months ago
capture various: add golangci-lint, fix issues (#7905) 2 months ago
filter all: use tstest.Replace more 3 months ago
magicsock wgengine/magicsock: prefer private endpoints to public ones 2 days ago
netlog all: avoid repeated default interface lookups 2 months ago
netstack wgengine/netstack: use ping6 on BSD platforms 2 weeks ago
router all: move network monitoring from wgengine/monitor to net/netmon 2 months ago
wgcfg tailcfg: make SelfNodeV4MasqAddrForThisPeer a pointer 2 months ago
wgint all: update copyright and license headers 4 months ago
wglog all: update copyright and license headers 4 months ago
winnet all: update copyright and license headers 4 months ago
mem_ios.go all: update copyright and license headers 4 months ago
pendopen.go all: update copyright and license headers 4 months ago
userspace.go tsd: add package with System type to unify subsystem init, discovery 1 month ago
userspace_ext_test.go tsd: add package with System type to unify subsystem init, discovery 1 month ago
userspace_test.go all: update copyright and license headers 4 months ago
watchdog.go tsd: add package with System type to unify subsystem init, discovery 1 month ago
watchdog_js.go all: update copyright and license headers 4 months ago
watchdog_test.go all: update copyright and license headers 4 months ago
wgengine.go tsd: add package with System type to unify subsystem init, discovery 1 month ago