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
Charlotte Brandhorst-Satzkorn ddb4040aa0
wgengine/magicsock: add address selection for wireguard only endpoints (#7979)
This change introduces address selection for wireguard only endpoints.
If a endpoint has not been used before, an address is randomly selected
to be used based on information we know about, such as if they are able
to use IPv4 or IPv6. When an address is initially selected, we also
initiate a new ICMP ping to the endpoints addresses to determine which
endpoint offers the best latency. This information is then used to
update which endpoint we should be using based on the best possible
route. If the latency is the same for a IPv4 and an IPv6 address, IPv6
will be used.

Updates #7826

Signed-off-by: Charlotte Brandhorst-Satzkorn <charlotte@tailscale.com>
3 years ago
..
bench all: move network monitoring from wgengine/monitor to net/netmon 3 years ago
capture various: add golangci-lint, fix issues (#7905) 3 years ago
filter all: use tstest.Replace more 3 years ago
magicsock wgengine/magicsock: add address selection for wireguard only endpoints (#7979) 3 years ago
netlog all: avoid repeated default interface lookups 3 years ago
netstack wgengine/netstack: fix data-race on startup 3 years ago
router all: move network monitoring from wgengine/monitor to net/netmon 3 years ago
wgcfg tailcfg: make SelfNodeV4MasqAddrForThisPeer a pointer 3 years ago
wgint all: update copyright and license headers 3 years ago
wglog all: update copyright and license headers 3 years ago
winnet all: update copyright and license headers 3 years ago
mem_ios.go all: update copyright and license headers 3 years ago
pendopen.go all: update copyright and license headers 3 years ago
userspace.go all: avoid repeated default interface lookups 3 years ago
userspace_ext_test.go all: update copyright and license headers 3 years ago
userspace_test.go all: update copyright and license headers 3 years ago
watchdog.go all: move network monitoring from wgengine/monitor to net/netmon 3 years ago
watchdog_js.go all: update copyright and license headers 3 years ago
watchdog_test.go all: update copyright and license headers 3 years ago
wgengine.go all: move network monitoring from wgengine/monitor to net/netmon 3 years ago