summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs/controlknobs_test.go
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@tailscale.com>2024-07-08 20:31:16 -0700
committerBrad Fitzpatrick <brad@danga.com>2024-07-12 08:24:06 -0700
commit808b4139eec4f9ffcf8fc7a39b0519395efcc165 (patch)
treeb6a12ab98b73477b0e2e9d20ab180665ea2499db /control/controlknobs/controlknobs_test.go
parent49bf63cdd0ffbc207f9b5e75890a977309714c11 (diff)
downloadtailscale-808b4139eec4f9ffcf8fc7a39b0519395efcc165.tar.xz
tailscale-808b4139eec4f9ffcf8fc7a39b0519395efcc165.zip
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>
Diffstat (limited to 'control/controlknobs/controlknobs_test.go')
0 files changed, 0 insertions, 0 deletions