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
Joe Tsai d9df023e6f
net/connstats: enforce maximum number of connections (#6760)
The Tailscale logging service has a hard limit on the maximum
log message size that can be accepted.
We want to ensure that netlog messages never exceed
this limit otherwise a client cannot transmit logs.

Move the goroutine for periodically dumping netlog messages
from wgengine/netlog to net/connstats.
This allows net/connstats to manage when it dumps messages,
either based on time or by size.

Updates tailscale/corp#8427

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2 years ago
..
bench all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) 2 years ago
filter all: fix spelling mistakes 2 years ago
magicsock net/connstats: enforce maximum number of connections (#6760) 2 years ago
monitor wgengine/monitor: fix panic due to race on Windows 2 years ago
netlog net/connstats: enforce maximum number of connections (#6760) 2 years ago
netstack ipn/ipnlocal: call checkPrefs in Start too 2 years ago
router all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) 2 years ago
wgcfg all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) 2 years ago
wgint all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) 2 years ago
wglog all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) 2 years ago
winnet all: remove old +build tags 2 years ago
mem_ios.go all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) 2 years ago
pendopen.go wgengine: remove all peer status from open timeout diagnostics 2 years ago
userspace.go all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) 2 years ago
userspace_ext_test.go all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) 2 years ago
userspace_test.go all: convert more code to use net/netip directly 2 years ago
watchdog.go all: remove old +build tags 2 years ago
watchdog_js.go wasm: drop pprof dependency 2 years ago
watchdog_test.go wgengine: remove all peer status from open timeout diagnostics 2 years ago
wgengine.go wgengine: fix typo in Engine.PeerForIP (#5912) 2 years ago