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.
 
 
 
 
 
 
Brad Fitzpatrick 32adca78f1 pull-toolchain.sh: advance the next hash if it's behind 1 month ago
.bencher bencher: add config to suppress failures on benchmark regressions. 5 years ago
.github .github/workflows: use tailscale/go for Windows CI too 1 month 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 all: use Go 1.26 things, run most gofix modernizers 1 month ago
clientupdate all: use Go 1.26 things, run most gofix modernizers 1 month ago
cmd cmd/k8s-operator: use correct tailnet client for L7 & L3 ingresses (#18749) 1 month ago
control all: use Go 1.26 things, run most gofix modernizers 1 month ago
derp all: use Go 1.26 things, run most gofix modernizers 1 month ago
disco all: use Go 1.26 things, run most gofix modernizers 1 month ago
docs all: use Go 1.26 things, run most gofix modernizers 1 month ago
doctor all: remove AUTHORS file and references to it 3 months ago
drive all: use Go 1.26 things, run most gofix modernizers 1 month ago
envknob all: remove AUTHORS file and references to it 3 months ago
feature appc,feature/conn25: conn25: send address assignments to connector 1 month ago
gokrazy gokrazy: use monorepo for gokrazy appliance builds (monogok) 2 months ago
health all: use Go 1.26 things, run most gofix modernizers 1 month 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 tailcfg: reintroduce UserProfile.Groups 1 month ago
jsondb all: remove AUTHORS file and references to it 3 months ago
k8s-operator all: use Go 1.26 things, run most gofix modernizers 1 month ago
kube types/ptr: deprecate ptr.To, use Go 1.26 new 1 month ago
licenses licenses: update license notices 2 months ago
log all: remove AUTHORS file and references to it 3 months 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 all: use Go 1.26 things, run most gofix modernizers 1 month 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 all: remove AUTHORS file and references to it 3 months ago
safesocket all: fix typos in comments 1 month ago
safeweb all: remove AUTHORS file and references to it 3 months ago
scripts scripts/installer.sh: handle KDE Linux (#18861) 2 months ago
sessionrecording all: remove AUTHORS file and references to it 3 months ago
ssh/tailssh ssh/tailssh: fix race between termination message write and session teardown 1 month ago
syncs all: use Go 1.26 things, run most gofix modernizers 1 month ago
tailcfg tailcfg: reintroduce UserProfile.Groups 1 month ago
tempfork feature/c2n: move answerC2N code + deps out of control/controlclient 6 months ago
tka all: use Go 1.26 things, run most gofix modernizers 1 month ago
tool all: use Go 1.26 things, run most gofix modernizers 1 month ago
tsconsensus all: use Go 1.26 things, run most gofix modernizers 1 month 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 appc,feature/conn25: conn25: send address assignments to connector 1 month ago
tstest all: use Go 1.26 things, run most gofix modernizers 1 month ago
tstime all: remove AUTHORS file and references to it 3 months ago
tsweb all: use Go 1.26 things, run most gofix modernizers 1 month ago
types tailcfg: reintroduce UserProfile.Groups 1 month ago
util util/osuser: extend id command fallback for group IDs to freebsd 1 month ago
version all: use Go 1.26 things, run most gofix modernizers 1 month ago
wf wf: allow limited broadcast to/from permitted interfaces when using an exit node on Windows 3 months ago
wgengine all: use Go 1.26 things, run most gofix modernizers 1 month ago
wif all: use Go 1.26 things, run most gofix modernizers 1 month ago
words all: remove AUTHORS file and references to it 3 months 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 7 months 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 build_docker.sh: support including extra files (#17405) 7 months ago
flake.lock nix: update flakes to get a nixpkgs version with go 1.26 1 month ago
flake.nix go.mod: bump staticcheck to version that supports Go 1.26 1 month ago
go.mod go.mod: bump to Go 1.26.1 1 month ago
go.mod.sri go.mod: bump staticcheck to version that supports Go 1.26 1 month ago
go.sum go.mod: bump staticcheck to version that supports Go 1.26 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.next.rev: update to final Go 1.26.1 [next] (#18939) 1 month ago
go.toolchain.rev go.mod: bump for internal/poll: move rsan to heap on windows 1 month ago
go.toolchain.rev.sri go.mod: bump for internal/poll: move rsan to heap on windows 1 month 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 go.mod: bump staticcheck to version that supports Go 1.26 1 month 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.25. (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.