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
Josh Bleecher Snyder 1f6c4ba7c3 wgengine/wgcfg: prevent ReconfigDevice from hanging on error
When wireguard-go's UAPI interface fails with an error, ReconfigDevice hangs.
Fix that by buffering the channel and closing the writer after the call.
The code now matches the corresponding code in DeviceConfig, where I got it right.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
5 years ago
..
bench all: delete wgcfg.Key and wgcfg.PrivateKey 5 years ago
filter net/packet, wgengine/{filter,tstun}: add TSMP ping 5 years ago
magicsock wgenengine/magicsock: delete cursed tests 5 years ago
monitor wgengine/monitor: reduce Linux log spam on down 5 years ago
netstack wgengine/netstack: avoid delivering incoming packets to both netstack + host 5 years ago
router wgengine/router: use net.IP.Equal instead of bytes.Equal to compare IPs 5 years ago
wgcfg wgengine/wgcfg: prevent ReconfigDevice from hanging on error 5 years ago
wglog wgengine/wglog: improve wireguard-go logging rate limiting 5 years ago
winnet wgengine/winnet: don't build on non-windows 5 years ago
pendopen.go wgengine: fix pendopen debug to not track SYN+ACKs, show Node.Online state 5 years ago
userspace.go wgengine/userspace: delete HandshakeDone 5 years ago
userspace_ext_test.go cmd/tailscaled, wgengine{,/netstack}: add netstack hybrid mode, add to Windows 5 years ago
userspace_test.go cmd/tailscaled, wgengine{,/netstack}: add netstack hybrid mode, add to Windows 5 years ago
watchdog.go wgengine: take in dns.Config, split out to resolver.Config and dns.OSConfig. 5 years ago
watchdog_test.go wgengine: extend TestWatchdog timeout on macOS 5 years ago
wgengine.go tailcfg: add Endpoint, EndpointType, MapRequest.EndpointType 5 years ago