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 808b4139ee wgengine/magicsock: use wireguard-go/conn.PeerAwareEndpoint
If we get an non-disco presumably-wireguard-encrypted UDP packet from
an IP:port we don't recognize, rather than drop the packet, give it to
WireGuard anyway and let WireGuard try to figure out who it's from and
tell us.

This uses the new hook added in https://github.com/tailscale/wireguard-go/pull/27

Updates tailscale/corp#20732

Change-Id: I5c61a40143810592f9efac6c12808a87f924ecf2
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
1 year ago
..
batching_conn.go wgengine/magicsock: improve don't fragment bit set/get support 2 years ago
blockforever_conn.go wgengine/magicsock: improve don't fragment bit set/get support 2 years ago
debughttp.go all: remove LenIter, use Go 1.22 range-over-int instead 2 years ago
debugknobs.go wgengine/magicsock: allow a CSV list for pretendpoint 1 year ago
debugknobs_stubs.go wgengine/magicsock: allow a CSV list for pretendpoint 1 year ago
derp.go control/controlknobs,tailcfg,wgengine/magicsock: remove DRPO shutoff switch 1 year ago
derp_test.go net/netcheck,wgengine/magicsock: align DERP frame receive time heuristics 2 years ago
discopingpurpose_string.go wgengine/magicsock: implement probing of UDP path lifetime (#10844) 2 years ago
endpoint.go all: use math/rand/v2 more 2 years ago
endpoint_default.go all: adjust some build tags for plan9 2 years ago
endpoint_stub.go all: adjust some build tags for plan9 2 years ago
endpoint_test.go wgengine/magicsock: implement probing of UDP path lifetime (#10844) 2 years ago
endpoint_tracker.go wgengine/magicsock: only cache N most recent endpoints per-Addr 2 years ago
endpoint_tracker_test.go all: use Go 1.22 range-over-int 2 years ago
magicsock.go wgengine/magicsock: use wireguard-go/conn.PeerAwareEndpoint 1 year ago
magicsock_default.go wgengine/magicsock: delete unused stuff 2 years ago
magicsock_linux.go wgengine/magicsock: simplify tryEnableUDPOffload() (#9872) 2 years ago
magicsock_test.go wgengine/magicsock: always set home DERP if no control conn 1 year ago
magicsock_unix_test.go all: update copyright and license headers 3 years ago
peermap.go wgengine/magicsock: allow disco communication without known endpoints 2 years ago
peermtu.go magicsock: mute noisy expected peer mtu related error (#10870) 2 years ago
peermtu_darwin.go wgengine/magicsock: improve don't fragment bit set/get support 2 years ago
peermtu_linux.go wgengine/magicsock: improve don't fragment bit set/get support 2 years ago
peermtu_stubs.go magicsock: mute noisy expected peer mtu related error (#10870) 2 years ago
peermtu_unix.go wgengine/magicsock: replace CanPMTUD() with ShouldPMTUD() 2 years ago
rebinding_conn.go wgengine/magicsock: improve don't fragment bit set/get support 2 years ago