tailscale/net/tstun
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>
2022-12-16 10:14:00 -08:00
..
constants.go wgengine/netstack: make netstack MTU be 1280 also 2022-06-01 12:16:41 -07:00
fake.go all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) 2022-12-09 15:12:20 -08:00
ifstatus_noop.go all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) 2022-12-09 15:12:20 -08:00
ifstatus_windows.go all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) 2022-12-09 15:12:20 -08:00
linkattrs_linux.go all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) 2022-12-09 15:12:20 -08:00
linkattrs_notlinux.go all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) 2022-12-09 15:12:20 -08:00
tap_linux.go all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) 2022-12-09 15:12:20 -08:00
tap_unsupported.go net/tstun, wgengine/magicsock: enable vectorized I/O on Linux (#6663) 2022-12-08 17:58:14 -08:00
tun_linux.go net/tstun: diagnose /dev/net/tun fd leak, give better failure message 2022-07-16 14:21:56 -07:00
tun_macos.go all: remove old +build tags 2022-11-04 07:25:42 -07:00
tun_notwindows.go all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) 2022-12-09 15:12:20 -08:00
tun_windows.go all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) 2022-12-09 15:12:20 -08:00
tun.go all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) 2022-12-09 15:12:20 -08:00
wrap_test.go net/connstats: enforce maximum number of connections (#6760) 2022-12-16 10:14:00 -08:00
wrap.go net/tstun: don't return early from a partial tun.Read() (#6745) 2022-12-14 16:29:34 -08:00