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>
2021-07-21 22:32:26 -07:00
..
bench wgengine: randomize client port if netmap says to 2021-06-23 08:51:37 -07:00
filter wgengine/filter: add a debug flag for filter logs (#2241) 2021-06-25 10:10:26 -04:00
magicsock cmd/addlicense: add command to add licenseheaders to generated code 2021-07-19 15:31:56 -07:00
monitor wgengine/{monitor,router}: restore Linux ip rules when systemd deletes them 2021-07-20 15:52:22 -07:00
netstack wgengine/netstack: implement UDP relaying to advertised subnets 2021-07-21 22:32:26 -07:00
router wgengine/{monitor,router}: restore Linux ip rules when systemd deletes them 2021-07-20 15:52:22 -07:00
wgcfg wgcfg: Switch to using mem.RO 2021-07-13 13:45:44 -07:00
wglog wgengine/wglog: match upstream wireguard-go's code for wireguardGoString 2021-06-04 13:06:28 -07:00
winnet wgengine/winnet: don't build on non-windows 2021-02-09 21:09:24 -08:00
mem_ios.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 2021-05-25 13:18:21 -07:00
pendopen.go cmd/tailscale, wgengine, tailcfg: don't assume LastSeen is present [mapver 20] 2021-06-11 08:41:16 -07:00
userspace.go util/deephash: make hash type opaque 2021-07-20 11:03:25 -07:00
userspace_ext_test.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 2021-05-25 13:18:21 -07:00
userspace_test.go wgengine: randomize client port if netmap says to 2021-06-23 08:51:37 -07:00
watchdog.go wgengine: randomize client port if netmap says to 2021-06-23 08:51:37 -07:00
watchdog_test.go wgengine: extend TestWatchdog timeout on macOS 2021-03-27 09:27:11 -07:00
wgengine.go wgengine: randomize client port if netmap says to 2021-06-23 08:51:37 -07:00