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
Brad Fitzpatrick 95a9adbb97 wgengine/netstack: implement UDP relaying to advertised subnets
TCP was done in 662fbd4a09.

This does the same for UDP.

Tested by hand. Integration tests will have to come later. I'd wanted
to do it in this commit, but the SOCKS5 server needed for interop
testing between two userspace nodes doesn't yet support UDP and I
didn't want to invent some whole new userspace packet injection
interface at this point, as SOCKS seems like a better route, but
that's its own bug.

Fixes #2302

RELNOTE=netstack mode can now UDP relay to subnets

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
..
bench wgengine: randomize client port if netmap says to 3 years ago
filter wgengine/filter: add a debug flag for filter logs (#2241) 3 years ago
magicsock cmd/addlicense: add command to add licenseheaders to generated code 3 years ago
monitor wgengine/{monitor,router}: restore Linux ip rules when systemd deletes them 3 years ago
netstack wgengine/netstack: implement UDP relaying to advertised subnets 3 years ago
router wgengine/{monitor,router}: restore Linux ip rules when systemd deletes them 3 years ago
wgcfg wgcfg: Switch to using mem.RO 3 years ago
wglog wgengine/wglog: match upstream wireguard-go's code for wireguardGoString 4 years ago
winnet wgengine/winnet: don't build on non-windows 4 years ago
mem_ios.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 4 years ago
pendopen.go cmd/tailscale, wgengine, tailcfg: don't assume LastSeen is present [mapver 20] 4 years ago
userspace.go util/deephash: make hash type opaque 3 years ago
userspace_ext_test.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 4 years ago
userspace_test.go wgengine: randomize client port if netmap says to 3 years ago
watchdog.go wgengine: randomize client port if netmap says to 3 years ago
watchdog_test.go wgengine: extend TestWatchdog timeout on macOS 4 years ago
wgengine.go wgengine: randomize client port if netmap says to 3 years ago