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
James Tucker 1aa75b1c9e wgengine/netstack: always set TCP keepalive
Setting keepalive ensures that idle connections will eventually be
closed. In userspace mode, any application configured TCP keepalive is
effectively swallowed by the host kernel, and is not easy to detect.
Failure to close connections when a peer tailscaled goes offline or
restarts may result in an otherwise indefinite connection for any
protocol endpoint that does not initiate new traffic.

This patch does not take any new opinion on a sensible default for the
keepalive timers, though as noted in the TODO, doing so likely deserves
further consideration.

Update #4522

Signed-off-by: James Tucker <james@tailscale.com>
2 years ago
..
bench types/netmap: use key.NodePublic instead of tailcfg.NodeKey. 3 years ago
filter all: add arbitrary capability support 2 years ago
magicsock wgengine/{,magicsock}: add metrics for rebinds and restuns 2 years ago
monitor wgengine/monitor: do not ignore changes to pdp_ip* 2 years ago
netstack wgengine/netstack: always set TCP keepalive 2 years ago
router Revert "wgengine/router,util/kmod: load & log xt_mark" 2 years ago
wgcfg all: use any instead of interface{} 2 years ago
wglog all: use any instead of interface{} 2 years ago
winnet all: gofmt -w -s (simplify) tests 2 years ago
mem_ios.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 3 years ago
pendopen.go util/mak: move tailssh's mapSet into a new package for reuse elsewhere 2 years ago
userspace.go wgengine/{,magicsock}: add metrics for rebinds and restuns 2 years ago
userspace_ext_test.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 3 years ago
userspace_test.go all: gofmt -w -s (simplify) tests 2 years ago
watchdog.go all: use any instead of interface{} 2 years ago
watchdog_test.go all: use any instead of interface{} 2 years ago
wgengine.go ipn/ipnlocal: do not process old status messages received out of order 2 years ago