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/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>
2 years ago
..
dnstype net/dns, types/dnstypes: update some comments, tests for DoH 2 years ago
empty types/empty: add Message, stop using mysterious *struct{} 5 years ago
flagtype types/flagtype: fix bug showing the default port value (shown in --help) 4 years ago
ipproto net/packet, wgengine/filter: support SCTP 4 years ago
key types/key,cmd/tailscale/cli: support tlpub prefix for tailnet-lock keys 2 years ago
logger all: remove old +build tags 2 years ago
logid types/logid: move logtail ID types here (#6336) 2 years ago
netlogtype net/connstats: enforce maximum number of connections (#6760) 2 years ago
netmap cmd/tailscale: make "up", "status" warn if routes and --accept-routes off 2 years ago
nettype net/netaddr: start migrating to net/netip via new netaddr adapter package 2 years ago
opt all: fix spelling mistakes 2 years ago
persist ipn,types/persist: add DisallowedTKAStateIDs, refactor as view type 2 years ago
preftype types/preftype: don't use iota for consts persisted to disk 4 years ago
ptr types/ptr: move all the ptrTo funcs to one new package's ptr.To 2 years ago
structs types/structs: add structs.Incomparable annotation, use it where applicable 5 years ago
tkatype all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692) 2 years ago
views net/tsaddr: remove ContainsFunc helpers (they're now in x/exp/slices) 2 years ago