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>
2024-07-12 08:24:06 -07:00
..
batching_conn.go
blockforever_conn.go
debughttp.go
debugknobs.go wgengine/magicsock: allow a CSV list for pretendpoint 2024-07-10 09:57:28 -07:00
debugknobs_stubs.go wgengine/magicsock: allow a CSV list for pretendpoint 2024-07-10 09:57:28 -07:00
derp.go
derp_test.go
discopingpurpose_string.go
endpoint.go
endpoint_default.go
endpoint_stub.go
endpoint_test.go
endpoint_tracker.go
endpoint_tracker_test.go
magicsock.go wgengine/magicsock: use wireguard-go/conn.PeerAwareEndpoint 2024-07-12 08:24:06 -07:00
magicsock_default.go
magicsock_linux.go
magicsock_test.go
magicsock_unix_test.go
peermap.go
peermtu.go
peermtu_darwin.go
peermtu_linux.go
peermtu_stubs.go
peermtu_unix.go
rebinding_conn.go