tailscale/types
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
..
dnstype net/dns, types/dnstypes: update some comments, tests for DoH 2022-09-08 17:16:13 -07:00
empty types/empty: add Message, stop using mysterious *struct{} 2020-02-14 13:35:49 -08:00
flagtype types/flagtype: fix bug showing the default port value (shown in --help) 2020-10-19 20:18:31 -07:00
ipproto net/packet, wgengine/filter: support SCTP 2021-03-20 21:34:13 -07:00
key types/key,cmd/tailscale/cli: support tlpub prefix for tailnet-lock keys 2022-11-30 18:04:47 -08:00
logger all: remove old +build tags 2022-11-04 07:25:42 -07:00
logid types/logid: move logtail ID types here (#6336) 2022-11-28 15:25:47 -08:00
netlogtype net/connstats: enforce maximum number of connections (#6760) 2022-12-16 10:14:00 -08:00
netmap cmd/tailscale: make "up", "status" warn if routes and --accept-routes off 2022-11-11 10:56:50 -08:00
nettype net/netaddr: start migrating to net/netip via new netaddr adapter package 2022-07-25 16:20:43 -07:00
opt all: fix spelling mistakes 2022-09-29 13:36:13 -07:00
persist ipn,types/persist: add DisallowedTKAStateIDs, refactor as view type 2022-11-29 12:29:42 -08:00
preftype types/preftype: don't use iota for consts persisted to disk 2021-04-02 09:02:54 -07:00
ptr types/ptr: move all the ptrTo funcs to one new package's ptr.To 2022-11-30 17:50:51 -08:00
structs types/structs: add structs.Incomparable annotation, use it where applicable 2020-05-03 14:05:32 -07:00
tkatype all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) 2022-12-09 15:12:20 -08:00
views net/tsaddr: remove ContainsFunc helpers (they're now in x/exp/slices) 2022-12-05 18:50:24 -08:00