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
Andrew Dunham 4338db28f7 wgengine/magicsock: prefer link-local addresses to private ones
Since link-local addresses are definitionally more likely to be a direct
(lower-latency, more reliable) connection than a non-link-local private
address, give those a bit of a boost when selecting endpoints.

Updates #8097

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I93fdeb07de55ba39ba5fcee0834b579ca05c2a4e
8 months ago
..
batching_conn.go wgengine/magicsock: improve don't fragment bit set/get support 1 year ago
blockforever_conn.go wgengine/magicsock: improve don't fragment bit set/get support 1 year ago
debughttp.go all: remove LenIter, use Go 1.22 range-over-int instead 9 months ago
debugknobs.go all: cleanup unused code, part 2 (#10670) 11 months ago
debugknobs_stubs.go wgengine/magicsock: replace CanPMTUD() with ShouldPMTUD() 1 year ago
derp.go wgengine/magicsock: implement probing of UDP path lifetime (#10844) 10 months ago
discopingpurpose_string.go wgengine/magicsock: implement probing of UDP path lifetime (#10844) 10 months ago
endpoint.go wgengine/magicsock: prefer link-local addresses to private ones 8 months ago
endpoint_default.go all: adjust some build tags for plan9 1 year ago
endpoint_stub.go all: adjust some build tags for plan9 1 year ago
endpoint_test.go wgengine/magicsock: implement probing of UDP path lifetime (#10844) 10 months ago
endpoint_tracker.go wgengine/magicsock: only cache N most recent endpoints per-Addr 1 year ago
endpoint_tracker_test.go wgengine/magicsock: only cache N most recent endpoints per-Addr 1 year ago
magicsock.go wgengine{,/wgint}: add wgint.Peer wrapper type, add to wgengine.Engine 9 months ago
magicsock_default.go wgengine/magicsock: delete unused stuff 1 year ago
magicsock_linux.go wgengine/magicsock: simplify tryEnableUDPOffload() (#9872) 1 year ago
magicsock_test.go wgengine/magicsock: prefer link-local addresses to private ones 8 months ago
magicsock_unix_test.go all: update copyright and license headers 2 years ago
peermap.go wgengine/magicsock: make peerMap also keyed by NodeID 1 year ago
peermtu.go magicsock: mute noisy expected peer mtu related error (#10870) 10 months ago
peermtu_darwin.go wgengine/magicsock: improve don't fragment bit set/get support 1 year ago
peermtu_linux.go wgengine/magicsock: improve don't fragment bit set/get support 1 year ago
peermtu_stubs.go magicsock: mute noisy expected peer mtu related error (#10870) 10 months ago
peermtu_unix.go wgengine/magicsock: replace CanPMTUD() with ShouldPMTUD() 1 year ago
rebinding_conn.go wgengine/magicsock: improve don't fragment bit set/get support 1 year ago