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
Jordan Whited 66ae8737f4
wgengine/magicsock: make endpoint.bestAddr Geneve-aware (#16195)
This commit adds a new type to magicsock, epAddr, which largely ends up
replacing netip.AddrPort in packet I/O paths throughout, enabling
Geneve encapsulation over UDP awareness.

The conn.ReceiveFunc for UDP has been revamped to fix and more clearly
distinguish the different classes of packets we expect to receive: naked
STUN binding messages, naked disco, naked WireGuard, Geneve-encapsulated
disco, and Geneve-encapsulated WireGuard.

Prior to this commit, STUN matching logic in the RX path could swallow
a naked WireGuard packet if the keypair index, which is randomly
generated, happened to overlap with a subset of the STUN magic cookie.

Updates tailscale/corp#27502
Updates tailscale/corp#29326

Signed-off-by: Jordan Whited <jordan@tailscale.com>
6 months ago
..
bench all: update the tsd.System constructor name (#15372) 8 months ago
filter wgengine/filter: add check for unknown proto 10 months ago
magicsock wgengine/magicsock: make endpoint.bestAddr Geneve-aware (#16195) 6 months ago
netlog wgengine: add exit destination logging enable for wgengine logger (#11952) 2 years ago
netstack net/netmon: publish events to event bus 8 months ago
router util/linuxfw,wgengine/router: add new netfilter rules for HA ingresses (#15896) 7 months ago
wgcfg go.mod,wgengine/magicsock: update wireguard-go (#16148) 6 months ago
wgint wgengine{,/wgint}: add wgint.Peer wrapper type, add to wgengine.Engine 2 years ago
wglog all: use Go 1.22 range-over-int 2 years ago
winnet all: add test for package comments, fix, add comments as needed 1 year ago
mem_ios.go all: update copyright and license headers 3 years ago
pendopen.go all: add Node.HomeDERP int, phase out "127.3.3.40:$region" hack [capver 111] 11 months ago
userspace.go ipn/ipnlocal,wgengine: move (*tsdial.Dialer).SetRoutes() calls from LocalBackend to userspaceEngine 7 months ago
userspace_ext_test.go net/netmon: publish events to event bus 8 months ago
userspace_test.go net/netmon: publish events to event bus 8 months ago
watchdog.go feature/capture: move packet capture to feature/*, out of iOS + CLI 10 months ago
watchdog_js.go all: update copyright and license headers 3 years ago
watchdog_test.go net/netmon: publish events to event bus 8 months ago
wgengine.go feature/capture: move packet capture to feature/*, out of iOS + CLI 10 months ago