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
Brad Fitzpatrick 69f4b4595a wgengine{,/wgint}: add wgint.Peer wrapper type, add to wgengine.Engine
This adds a method to wgengine.Engine and plumbed down into magicsock
to add a way to get a type-safe Tailscale-safe wrapper around a
wireguard-go device.Peer that only exposes methods that are safe for
Tailscale to use internally.

It also removes HandshakeAttempts from PeerStatusLite that was just
added as it wasn't needed yet and is now accessible ala cart as needed
from the Peer type accessor.

None of this is used yet.

Updates #7617

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