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/magicsock
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
..
debughttp.go all: update copyright and license headers 3 years ago
debugknobs.go derp,magicsock: add debug envknobs for HTTP and derp server name (#7744) 3 years ago
debugknobs_stubs.go derp,magicsock: add debug envknobs for HTTP and derp server name (#7744) 3 years ago
discopingpurpose_string.go all: update copyright and license headers 3 years ago
magicsock.go wgengine/magicsock: add address selection for wireguard only endpoints (#7979) 3 years ago
magicsock_default.go net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 3 years ago
magicsock_linux.go net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 3 years ago
magicsock_test.go wgengine/magicsock: add address selection for wireguard only endpoints (#7979) 3 years ago
magicsock_unix_test.go all: update copyright and license headers 3 years ago
pathfinder.go all: update copyright and license headers 3 years ago