You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Dylan Bargatze 9a43bca995
tailcfg: fix ClientVersion.UrgentSecurityUpdate doc comment (#19214)
2 weeks ago
.bencher bencher: add config to suppress failures on benchmark regressions. 5 years ago
.github ci: fix Windows benchmarks running all tests instead of just benchmarks 2 weeks ago
appc appc,feature/conn25: conn25: send address assignments to connector 1 month ago
atomicfile all: remove AUTHORS file and references to it 3 months ago
chirp all: remove AUTHORS file and references to it 3 months ago
client client/web: fix nil metricCapture crash in mockLocalAPI 2 weeks ago
clientupdate cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
cmd cmd/cloner, cmd/viewer: handle named map/slice types with Clone/View methods 2 weeks ago
control cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
derp cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
disco disco: remove experimental label from BindUDPRelayHandshakeState 3 weeks ago
docs docs: add commit message example (#19134) 3 weeks ago
doctor all: remove AUTHORS file and references to it 3 months ago
drive cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
envknob wgengine/magicsock: assume network up for tests 2 weeks ago
feature cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
gokrazy gokrazy: fix busybox breakglass support, add test 1 month ago
health cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
hostinfo all: use Go 1.26 things, run most gofix modernizers 1 month ago
internal cmd/tailscale/cli: allow fetching keys from AWS Parameter Store 3 months ago
ipn ipn/ipnlocal: add health.Tracker to tests where it was warning in CI 2 weeks ago
jsondb all: remove AUTHORS file and references to it 3 months ago
k8s-operator cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
kube kube/certs: discover TLS domains from TCP TerminateTLS handlers (#19020) 1 month ago
licenses licenses: update license notices 3 weeks ago
log cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
logpolicy all: remove AUTHORS file and references to it 3 months ago
logtail all: use Go 1.26 things, run most gofix modernizers 1 month ago
maths all: remove AUTHORS file and references to it 3 months ago
metrics all: use Go 1.26 things, run most gofix modernizers 1 month ago
net cmd/cloner, cmd/viewer: handle named map/slice types with Clone/View methods 2 weeks ago
omit all: remove AUTHORS file and references to it 3 months ago
packages/deb all: remove AUTHORS file and references to it 3 months ago
paths all: remove AUTHORS file and references to it 3 months ago
portlist portlist: also tb.Skip benchmarks (not just tests) on bad Linux kernels 2 months ago
posture all: remove AUTHORS file and references to it 3 months ago
prober all: use Go 1.26 things, run most gofix modernizers 1 month ago
proxymap all: remove AUTHORS file and references to it 3 months ago
release release/dist/unixpkgs: include tailscale-online.target in packages 3 weeks ago
safesocket safesocket, ipn/ipnserver: use PeerCreds on solaris and illumos 4 weeks ago
safeweb cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
scripts scripts/installer.sh: handle KDE Linux (#18861) 2 months ago
sessionrecording cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
ssh/tailssh cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
syncs cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
tailcfg tailcfg: fix ClientVersion.UrgentSecurityUpdate doc comment (#19214) 2 weeks ago
tempfork feature/c2n: move answerC2N code + deps out of control/controlclient 6 months ago
tka cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
tool tool/gocross: skip broken TestGocrossWrapper inside `git worktree` (#19218) 2 weeks ago
tsconsensus cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
tsconst all: remove AUTHORS file and references to it 3 months ago
tsd all: use Go 1.26 things, run most gofix modernizers 1 month ago
tsnet cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
tstest cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
tstime all: remove AUTHORS file and references to it 3 months ago
tsweb cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
types cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
util cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
version version: parse Void Linux version strings 2 weeks ago
wf wf: allow limited broadcast to/from permitted interfaces when using an exit node on Windows 3 months ago
wgengine cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
wif wif: add AWS ecs for autogenerated OIDC tokens 3 weeks ago
words Add 'fish' to the list of scales 3 weeks ago
.gitattributes .: add .gitattributes entry to use Go hunk-header driver 4 years ago
.gitignore Add .stignore for syncthing (#18540) 3 months ago
.golangci.yml .github: Bump golangci/golangci-lint-action from 6.5.0 to 7.0.0 (#15476) 1 year ago
.stignore Add .stignore for syncthing (#18540) 3 months ago
ALPINE.txt docker: bump alpine v3.19 -> 3.22 (#17155) 7 months ago
CODEOWNERS CODEOWNERS: add the start of an owners file 3 years ago
CODE_OF_CONDUCT.md CODE_OF_CONDUCT.md: update code of conduct 6 months ago
Dockerfile go.toolchain.branch: switch to Go 1.26 1 month ago
Dockerfile.base all: remove AUTHORS file and references to it 3 months ago
LICENSE all: remove AUTHORS file and references to it 3 months ago
Makefile Makefile, cmd/*/depaware.txt: split out vendor packages explicitly 7 months ago
PATENTS Move Linux client & common packages into a public repo. 6 years ago
README.md README: update the version of Go in the README (#19168) 3 weeks ago
SECURITY.md Add a SECURITY.md for vulnerability reports. 6 years ago
VERSION.txt VERSION.txt: this is v1.97.0 (#18898) 1 month ago
api.md {api.md,publicapi}: remove old API docs (#13468) 2 years ago
assert_ts_toolchain_match.go .: permit running binary built with TS_GO_NEXT=1 2 months ago
build_dist.sh build_dist.sh: keep --extra-small making a usable build, add --min 6 months ago
build_docker.sh docker: add riscv64 to container image architectures 3 weeks ago
flake.lock nix: update flakes to get a nixpkgs version with go 1.26 1 month ago
flake.nix cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
go.mod go.mod: bump tailscale/wireguard-go 1 month ago
go.mod.sri cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
go.sum go.mod: bump tailscale/wireguard-go 1 month ago
go.toolchain.branch go.toolchain.branch: switch to Go 1.26 1 month ago
go.toolchain.next.branch tool/gocross, pull-toolchain.sh: support a "next" Go toolchain 3 months ago
go.toolchain.next.rev go.toolchain.rev, version: bump Tailscale Go, add IsTailscaleGo 2 weeks ago
go.toolchain.rev go.toolchain.rev, version: bump Tailscale Go, add IsTailscaleGo 2 weeks ago
go.toolchain.rev.sri go.toolchain.rev, version: bump Tailscale Go, add IsTailscaleGo 2 weeks ago
go.toolchain.version go.mod: bump to Go 1.26.1 1 month ago
gomod_test.go all: remove AUTHORS file and references to it 3 months ago
header.txt all: remove AUTHORS file and references to it 3 months ago
license_test.go all: remove AUTHORS file and references to it 3 months ago
pkgdoc_test.go gokrazy: use monorepo for gokrazy appliance builds (monogok) 2 months ago
pull-toolchain.sh pull-toolchain.sh: advance the next hash if it's behind 1 month ago
shell.nix cmd/vet: add subtestnames analyzer; fix all existing violations 2 weeks ago
staticcheck.conf all: cleanup unused code, part 2 (#10670) 2 years ago
update-flake.sh flake.nix: update Nix to use tailscale/go 1.25.2 (#17500) 6 months ago
version-embed.go cmd/printdep: add --next flag to use rc Go build hash instead 3 months ago
version_tailscale_test.go all: remove AUTHORS file and references to it 3 months ago
version_test.go all: remove AUTHORS file and references to it 3 months ago

README.md

Tailscale

https://tailscale.com

Private WireGuard® networks made easy

Overview

This repository contains the majority of Tailscale's open source code. Notably, it includes the tailscaled daemon and the tailscale CLI tool. The tailscaled daemon runs on Linux, Windows, macOS, and to varying degrees on FreeBSD and OpenBSD. The Tailscale iOS and Android apps use this repo's code, but this repo doesn't contain the mobile GUI code.

Other Tailscale repos of note:

For background on which parts of Tailscale are open source and why, see https://tailscale.com/opensource/.

Using

We serve packages for a variety of distros and platforms at https://pkgs.tailscale.com.

Other clients

The macOS, iOS, and Windows clients use the code in this repository but additionally include small GUI wrappers. The GUI wrappers on non-open source platforms are themselves not open source.

Building

We always require the latest Go release, currently Go 1.26. (While we build releases with our Go fork, its use is not required.)

go install tailscale.com/cmd/tailscale{,d}

If you're packaging Tailscale for distribution, use build_dist.sh instead, to burn commit IDs and version info into the binaries:

./build_dist.sh tailscale.com/cmd/tailscale
./build_dist.sh tailscale.com/cmd/tailscaled

If your distro has conventions that preclude the use of build_dist.sh, please do the equivalent of what it does in your distro's way, so that bug reports contain useful version information.

Bugs

Please file any issues about this code or the hosted service on the issue tracker.

Contributing

PRs welcome! But please file bugs. Commit messages should reference bugs.

We require Developer Certificate of Origin Signed-off-by lines in commits.

See commit-messages.md (or skim git log) for our commit message style.

About Us

Tailscale is primarily developed by the people at https://github.com/orgs/tailscale/people. For other contributors, see:

WireGuard is a registered trademark of Jason A. Donenfeld.