summaryrefslogtreecommitdiffhomepage
path: root/shell.nix
AgeCommit message (Collapse)AuthorFilesLines
2026-01-26ipn/ipnlocal/netmapcache: add a package to split and cache network maps (#18497)M. J. Fromberger1-1/+1
This commit is based on part of #17925, reworked as a separate package. Add a package that can store and load netmap.NetworkMap values in persistent storage, using a basic columnar representation. This commit includes a default storage interface based on plain files, but the interface can be implemented with more structured storage if we want to later. The tests are set up to require that all the fields of the NetworkMap are handled, except those explicitly designated as not-cached, and check that a fully-populated value can round-trip correctly through the cache. Adding or removing fields, either in the NetworkMap or in the cached representation, will trigger either build failures (e.g., for type mismatch) or test failures (e.g., for representation changes or missing fields). This isn't quite as nice as automatically updating the representation, which I also prototyped, but is much simpler to maintain and less code. This commit does not yet hook up the cache to the backend, that will be a subsequent change. Updates #12639 Change-Id: Icb48639e1d61f2aec59904ecd172c73e05ba7bf9 Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
2026-01-14cmd,feature: add identity token auto generation for workload identity (#18373)Danni Popova1-1/+1
Adds the ability to detect what provider the client is running on and tries fetch the ID token to use with Workload Identity. Updates https://github.com/tailscale/corp/issues/33316 Signed-off-by: Danni Popova <danni@tailscale.com>
2026-01-09go.mod: bump github.com/containerd/containerd@v1.7.29 (#18374)Patrick O'Doherty1-1/+1
Updates #cleanup Signed-off-by: Patrick O'Doherty <patrick@tailscale.com>
2026-01-08net/portmapper, go.mod: unfork our goupnp dependencyAndrew Dunham1-1/+1
Updates #7436 Signed-off-by: Andrew Dunham <andrew@tailscale.com>
2026-01-08go.mod: bump mkctr dep (#18365)Tom Proctor1-1/+1
Brings in tailscale/mkctr#29. Updates tailscale/corp#32085 Change-Id: I90160ed1cdc47118ac8fd0712d63a7b590e739d3 Signed-off-by: Tom Proctor <tomhjp@users.noreply.github.com>
2026-01-08cmd/k8s-operator/e2e,go.mod: remove client v2 dependencyTom Proctor1-1/+1
It's not worth adding the v2 client just for these e2e tests. Remove that dependency for now to keep a clear separation, but we should revive the v2 client version if we ever decide to take that dependency for the tailscale/tailscale repo as a whole. Updates tailscale/corp#32085 Change-Id: Ic51ce233d5f14ce2d25f31a6c4bb9cf545057dd0 Signed-off-by: Tom Proctor <tomhjp@users.noreply.github.com>
2026-01-08cmd/k8s-operator/e2e: run self-contained e2e tests with devcontrol (#17415)Tom Proctor1-1/+1
* cmd/k8s-operator/e2e: run self-contained e2e tests with devcontrol Adds orchestration for more of the e2e testing setup requirements to make it easier to run them in CI, but also run them locally in a way that's consistent with CI. Requires running devcontrol, but otherwise supports creating all the scaffolding required to exercise the operator and proxies. Updates tailscale/corp#32085 Change-Id: Ia7bff38af3801fd141ad17452aa5a68b7e724ca6 Signed-off-by: Tom Proctor <tomhjp@users.noreply.github.com> * cmd/k8s-operator/e2e: being more specific on tmp dir cleanup Signed-off-by: chaosinthecrd <tom@tmlabs.co.uk> --------- Signed-off-by: Tom Proctor <tomhjp@users.noreply.github.com> Signed-off-by: chaosinthecrd <tom@tmlabs.co.uk> Co-authored-by: chaosinthecrd <tom@tmlabs.co.uk>
2025-12-03go.mod: bump the version of setecAlex Chan1-1/+1
Updates https://github.com/tailscale/corp/issues/34813 Change-Id: I926f1bad5bf143d82ddb36f51f70deb24fa11e71 Signed-off-by: Alex Chan <alexc@tailscale.com>
2025-11-26derp/derpserver: add a unique sender cardinality estimateJames Tucker1-1/+1
Adds an observation point that may identify potentially abusive traffic patterns at outlier values. Updates tailscale/corp#24681 Signed-off-by: James Tucker <james@tailscale.com>
2025-11-24cmd/cigocacher,go.mod: add cigocacher cmdTom Proctor1-1/+1
Adds cmd/cigocacher as the client to cigocached for Go caching over HTTP. The HTTP cache is best-effort only, and builds will fall back to disk-only cache if it's not available, much like regular builds. Not yet used in CI; that will follow in another PR once we have runners available in this repo with the right network setup for reaching cigocached. Updates tailscale/corp#10808 Change-Id: I13ae1a12450eb2a05bd9843f358474243989e967 Signed-off-by: Tom Proctor <tomhjp@users.noreply.github.com>
2025-11-20go.mod: bump golang.org/x/crypto (#18011)Andrew Lytvynov1-1/+1
Pick up fixes for https://pkg.go.dev/vuln/GO-2025-4134 Updates #cleanup Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
2025-11-17go.mod: bump golang.org/x/crypto (#17907)Andrew Lytvynov1-1/+1
Pick up a fix for https://pkg.go.dev/vuln/GO-2025-4116 (even though we're not affected). Updates #cleanup Change-Id: I9f2571b17c1f14db58ece8a5a34785805217d9dd Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
2025-11-16ipn/ipnlocal: add PROXY protocol support to Funnel/ServeAndrew Dunham1-1/+1
This adds the --proxy-protocol flag to 'tailscale serve' and 'tailscale funnel', which tells the Tailscale client to prepend a PROXY protocol[1] header when making connections to the proxied-to backend. I've verified that this works with our existing funnel servers without additional work, since they pass along source address information via PeerAPI already. Updates #7747 [1]: https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt Change-Id: I647c24d319375c1b33e995555a541b7615d2d203 Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
2025-11-05cmd/vet: add static vet checker that runs jsontags (#17778)Joe Tsai1-1/+1
This starts running the jsontags vet checker on the module. All existing findings are adding to an allowlist. Updates tailscale/corp#791 Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2025-10-30util/eventbus: allow logging of slow subscribers (#17705)M. J. Fromberger1-1/+1
Add options to the eventbus.Bus to plumb in a logger. Route that logger in to the subscriber machinery, and trigger a log message to it when a subscriber fails to respond to its delivered events for 5s or more. The log message includes the package, filename, and line number of the call site that created the subscription. Add tests that verify this works. Updates #17680 Change-Id: I0546516476b1e13e6a9cf79f19db2fe55e56c698 Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
2025-10-30logtail: avoid racing eventbus subscriptions with shutdown (#17695)M. J. Fromberger1-1/+1
In #17639 we moved the subscription into NewLogger to ensure we would not race subscribing with shutdown of the eventbus client. Doing so fixed that problem, but exposed another: As we were only servicing events occasionally when waiting for the network to come up, we could leave the eventbus to stall in cases where a number of network deltas arrived later and weren't processed. To address that, let's separate the concerns: As before, we'll Subscribe early to avoid conflicts with shutdown; but instead of using the subscriber directly to determine readiness, we'll keep track of the last-known network state in a selectable condition that the subscriber updates for us. When we want to wait, we'll wait on that condition (or until our context ends), ensuring all the events get processed in a timely manner. Updates #17638 Updates #15160 Change-Id: I28339a372be4ab24be46e2834a218874c33a0d2d Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
2025-10-08cmd/tsrecorder: adds sending api level logging to tsrecorder (#16960)Tom Meadows1-1/+1
Updates #17141 Signed-off-by: chaosinthecrd <tom@tmlabs.co.uk>
2025-10-01Makefile, cmd/*/depaware.txt: split out vendor packages explicitlyBrad Fitzpatrick1-1/+1
depaware was merging golang.org/x/foo and std's vendor/golang.org/x/foo packages (which could both be in the binary!), leading to confusing output, especially when I was working on eliminating duplicate packages imported under different names. This makes the depaware output longer and grosser, but doesn't hide reality from us. Updates #17305 Change-Id: I21cc3418014e127f6c1a81caf4e84213ce84ab57 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2025-08-29go.mod: bump github.com/ulikunitz/xz for security warningBrad Fitzpatrick1-1/+1
Doesn't look to affect us, but pacifies security scanners. See https://github.com/ulikunitz/xz/commit/88ddf1d0d98d688db65de034f48960b2760d2ae2 It's for decoding. We only use this package for encoding (via github.com/google/rpmpack / github.com/goreleaser/nfpm/v2). Updates #8043 Change-Id: I87631aa5048f9514bb83baf1424f6abb34329c46 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2025-08-25client/systray: go back to using upstream library (#16938)Claus Lensbøl1-1/+1
We had a fix in a local branch, but upstream has merged it now. Updates #1708 Signed-off-by: Claus Lensbøl <claus@tailscale.com>
2025-08-19.github/Makefile/flake: update nix flake support (#16636)Mike O'Driscoll1-1/+1
Cleanup nix support, make flake easier to read with nix-systems. This also harmonizes with golinks flake setup and reduces an input dependency by 1. Update deps test to ensure the vendor hash stays harmonized with go.mod. Update make tidy to ensure vendor hash stays current. Overlay the current version of golang, tailscale runs recent releases faster than nixpkgs can update them into the unstable branch. Updates #16637 Signed-off-by: Mike O'Driscoll <mikeo@tailscale.com>
2025-07-23flake.lock/go.mod.sri: update flake version info (#16631)Mike O'Driscoll1-1/+1
Update nixpkgs-unstable to include newer golang to satisfy go.mod requirement of 1.24.4 Update vendor hash to current. Updates #15015 Signed-off-by: Mike O'Driscoll <mikeo@tailscale.com>
2025-04-08nix: update nix and use go 1.24 (#15578)Chatnoir Miki1-1/+1
Updates #15015 Signed-off-by: Chatnoir Miki <cmiki@amono.me>
2024-09-05go.mod.sri: update SRI hash for go.mod changesFlakes Updater1-1/+1
Signed-off-by: Flakes Updater <noreply+flakes-updater@tailscale.com>
2024-08-23go.mod.sri: update SRI hash for go.mod changesFlakes Updater1-1/+1
Signed-off-by: Flakes Updater <noreply+flakes-updater@tailscale.com>
2024-08-22go.mod.sri: update SRI hash for go.mod changesFlakes Updater1-1/+1
Signed-off-by: Flakes Updater <noreply+flakes-updater@tailscale.com>
2024-08-22go.mod.sri: update SRI hash for go.mod changesFlakes Updater1-1/+1
Signed-off-by: Flakes Updater <noreply+flakes-updater@tailscale.com>
2024-08-14go.mod.sri: update SRI hash for go.mod changesFlakes Updater1-1/+1
Signed-off-by: Flakes Updater <noreply+flakes-updater@tailscale.com>
2024-08-13go.mod.sri: update SRI hash for go.mod changesFlakes Updater1-1/+1
Signed-off-by: Flakes Updater <noreply+flakes-updater@tailscale.com>
2024-08-12go.mod.sri: update SRI hash for go.mod changesFlakes Updater1-1/+1
Signed-off-by: Flakes Updater <noreply+flakes-updater@tailscale.com>
2024-08-03go.mod.sri: update SRI hash for go.mod changesFlakes Updater1-1/+1
Signed-off-by: Flakes Updater <noreply+flakes-updater@tailscale.com>
2024-07-29go.mod.sri: update SRI hash for go.mod changesFlakes Updater1-1/+1
Signed-off-by: Flakes Updater <noreply+flakes-updater@tailscale.com>
2024-07-21go.mod.sri: update SRI hash for go.mod changesFlakes Updater1-1/+1
Signed-off-by: Flakes Updater <noreply+flakes-updater@tailscale.com>
2024-07-08go.mod.sri: update SRI hash for go.mod changesFlakes Updater1-1/+1
Signed-off-by: Flakes Updater <noreply+flakes-updater@tailscale.com>
2024-07-01go.mod.sri: update SRI hash for go.mod changesFlakes Updater1-1/+1
Signed-off-by: Flakes Updater <noreply+flakes-updater@tailscale.com>
2024-06-26go.mod.sri: update SRI hash for go.mod changesFlakes Updater1-1/+1
Signed-off-by: Flakes Updater <noreply+flakes-updater@tailscale.com>
2024-06-18go.mod.sri: update SRI hash for go.mod changesFlakes Updater1-1/+1
Signed-off-by: Flakes Updater <noreply+flakes-updater@tailscale.com>
2024-04-13go.mod.sri: update SRI hash for go.mod changesFlakes Updater1-1/+1
Signed-off-by: Flakes Updater <noreply+flakes-updater@tailscale.com>
2024-04-06go.mod.sri: update SRI hash for go.mod changesFlakes Updater1-1/+1
Signed-off-by: Flakes Updater <noreply+flakes-updater@tailscale.com>
2024-03-26go.mod.sri: update SRI hash for go.mod changesFlakes Updater1-1/+1
Signed-off-by: Flakes Updater <noreply+flakes-updater@tailscale.com>
2024-03-09go.mod.sri: update SRI hash for go.mod changesFlakes Updater1-1/+1
Signed-off-by: Flakes Updater <noreply+flakes-updater@tailscale.com>
2024-02-29go.mod.sri: update SRI hash for go.mod changesFlakes Updater1-1/+1
Signed-off-by: Flakes Updater <noreply+flakes-updater@tailscale.com>
2024-02-13go.mod.sri: update SRI hash for go.mod changesFlakes Updater1-1/+1
Signed-off-by: Flakes Updater <noreply+flakes-updater@tailscale.com>
2024-02-09tailfs: initial implementationPercy Wegmann1-1/+1
Add a WebDAV-based folder sharing mechanism that is exposed to local clients at 100.100.100.100:8080 and to remote peers via a new peerapi endpoint at /v0/tailfs. Add the ability to manage folder sharing via the new 'share' CLI sub-command. Updates tailscale/corp#16827 Signed-off-by: Percy Wegmann <percy@tailscale.com>
2024-02-07go.mod.sri: update SRI hash for go.mod changesFlakes Updater1-1/+1
Signed-off-by: Flakes Updater <noreply+flakes-updater@tailscale.com>
2024-01-19go.mod.sri: update SRI hash for go.mod changesFlakes Updater1-1/+1
Signed-off-by: Flakes Updater <noreply+flakes-updater@tailscale.com>
2024-01-19go.mod.sri: update SRI hash for go.mod changesFlakes Updater1-1/+1
Signed-off-by: Flakes Updater <noreply+flakes-updater@tailscale.com>
2024-01-17go.mod.sri: update SRI hash for go.mod changesFlakes Updater1-1/+1
Signed-off-by: Flakes Updater <noreply+flakes-updater@tailscale.com>
2024-01-10go.mod.sri: update SRI hash for go.mod changesFlakes Updater1-1/+1
Signed-off-by: Flakes Updater <noreply+flakes-updater@tailscale.com>
2024-01-02go.mod.sri: update SRI hash for go.mod changesFlakes Updater1-1/+1
Signed-off-by: Flakes Updater <noreply+flakes-updater@tailscale.com>