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/ipn
Mihai Parparita b64d78d58f sockstats: refactor validation to be opt-in
Followup to #7499 to make validation a separate function (
GetWithValidation vs. Get). This way callers that don't need it don't
pay the cost of a syscall per active TCP socket.

Also clears the conn on close, so that we don't double-count the stats.

Also more consistently uses Go doc comments for the exported API of the
sockstats package.

Updates tailscale/corp#9230
Updates #3363

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
2 years ago
..
ipnauth all: update copyright and license headers 2 years ago
ipnlocal sockstats: refactor validation to be opt-in 2 years ago
ipnserver all: update copyright and license headers 2 years ago
ipnstate cmd/tailscale: surface node-key for locked out tailnet-lock peers 2 years ago
localapi all: implement preauth-key support with tailnet lock 2 years ago
policy all: update copyright and license headers 2 years ago
store all: use Go 1.20's bytes.Clone 2 years ago
backend.go all: update copyright and license headers 2 years ago
doc.go all: update copyright and license headers 2 years ago
fake_test.go all: update copyright and license headers 2 years ago
ipn_clone.go all: update copyright and license headers 2 years ago
ipn_view.go all: update copyright and license headers 2 years ago
prefs.go all: update copyright and license headers 2 years ago
prefs_test.go all: update copyright and license headers 2 years ago
serve.go ipn/ipnlocal: add support for funnel in tsnet 2 years ago
store.go ipn: remove unused NLKeyStateKey constant 2 years ago