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/cmd/tailscaled
Jonathan Nobels 3e89068792
net/netmon, wgengine/userspace: purge ChangeDelta.Major and address TODOs (#17823)
updates tailscale/corp#33891

Addresses several older the TODO's in netmon.  This removes the 
Major flag precomputes the ChangeDelta state, rather than making
consumers of ChangeDeltas sort that out themselves.   We're also seeing
a lot of ChangeDelta's being flagged as "Major" when they are
not interesting, triggering rebinds in wgengine that are not needed.  This
cleans that up and adds a host of additional tests.

The dependencies are cleaned, notably removing dependency on netmon
itself for calculating what is interesting, and what is not.  This includes letting
individual platforms set a bespoke global "IsInterestingInterface"
function.  This is only used on Darwin.

RebindRequired now roughly follows how "Major" was historically
calculated but includes some additional checks for various
uninteresting events such as changes in interface addresses that
shouldn't trigger a rebind.  This significantly reduces thrashing (by
roughly half on Darwin clients which switching between nics).   The individual
values that we roll  into RebindRequired are also exposed so that
components consuming netmap.ChangeDelta can ask more
targeted questions.

Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>
1 week ago
..
childproc all: update copyright and license headers 3 years ago
tailscaledhooks feature/taildrop, ipn/ipnlocal: remove leftover dup calls to osshare 8 months ago
debug.go net/netmon, wgengine/userspace: purge ChangeDelta.Major and address TODOs (#17823) 1 week ago
debug_forcereflect.go cmd/tailscaled: add disabled debug file to force reflect for binary size experiments 4 months ago
depaware-min.txt appc,feature: add the start of new conn25 app connector 2 weeks ago
depaware-minbox.txt appc,feature: add the start of new conn25 app connector 2 weeks ago
depaware.txt appc,feature: add the start of new conn25 app connector 2 weeks ago
deps_test.go cmd/tailscale/cli,feature: add support for identity federation (#17529) 2 months ago
flag.go cmd/tailscaled: default --encrypt-state to true if TPM is available (#17376) 3 months ago
generate.go cmd/mkmanifest, cmd/tailscale, cmd/tailscaled: remove Windows arm32 resources from OSS 3 years ago
install_darwin.go all: update copyright and license headers 3 years ago
install_windows.go util/backoff: rename logtail/backoff package to util/backoff 3 months ago
manifest_windows_386.syso cmd/{tailscale,tailscaled}: embed manifest into Windows binaries 3 years ago
manifest_windows_amd64.syso cmd/{tailscale,tailscaled}: embed manifest into Windows binaries 3 years ago
manifest_windows_arm64.syso cmd/{tailscale,tailscaled}: embed manifest into Windows binaries 3 years ago
netstack.go cmd/tailscaled: start implementing ts_omit_netstack 3 months ago
proxy.go feature, net/tshttpproxy: pull out support for using proxies as a feature 3 months ago
required_version.go all: switch to and require Go 1.23 1 year ago
sigpipe.go all: adjust some build tags for plan9 2 years ago
ssh.go ssh/tailssh: add Plan 9 support for Tailscale SSH 9 months ago
tailscaled.defaults cmd/tailscaled: rename relaynode reference in defaults file comment 6 years ago
tailscaled.go net/dns: retrample resolve.conf when another process has trampled it (#18069) 2 weeks ago
tailscaled.openrc tstest/integration/vms: use an in-process logcatcher (#2360) 5 years ago
tailscaled.service cmd/tailscaled: move cleanup to an implicit action during startup 2 years ago
tailscaled_bird.go all: update copyright and license headers 3 years ago
tailscaled_drive.go feature/drive: start factoring out Taildrive, add ts_omit_drive build tag 3 months ago
tailscaled_notwindows.go all: update copyright and license headers 3 years ago
tailscaled_test.go cmd/tailscaled,ipn: show a health warning when state store fails to open (#17883) 1 month ago
tailscaled_windows.go feature/logtail: pull logtail + netlog out to modular features 3 months ago
webclient.go derp/derpserver: split off derp.Server out of derp into its own package 3 months ago
windows-manifest.xml cmd/{tailscale,tailscaled}: embed manifest into Windows binaries 3 years ago
with_cli.go all: update copyright and license headers 3 years ago