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.
 
 
 
 
 
 
Go to file
Nick Khyl 2a69f48541 wf: allow limited broadcast to/from permitted interfaces when using an exit node on Windows
Similarly to allowing link-local multicast in #13661, we should also allow broadcast traffic
on permitted interfaces when the killswitch is enabled due to exit node usage on Windows.
This always includes internal interfaces, such as Hyper-V/WSL2, and also the LAN when
"Allow local network access" is enabled in the client.

Updates #18504

Signed-off-by: Nick Khyl <nickk@tailscale.com>
3 days ago
.bencher bencher: add config to suppress failures on benchmark regressions. 4 years ago
.github .github/workflows: double the timeout for golangci-lint (#18404) 2 weeks ago
appc all: remove AUTHORS file and references to it 3 days ago
atomicfile all: remove AUTHORS file and references to it 3 days ago
chirp all: remove AUTHORS file and references to it 3 days ago
client all: remove AUTHORS file and references to it 3 days ago
clientupdate all: remove AUTHORS file and references to it 3 days ago
cmd all: remove AUTHORS file and references to it 3 days ago
control all: remove AUTHORS file and references to it 3 days ago
derp all: remove AUTHORS file and references to it 3 days ago
disco all: remove AUTHORS file and references to it 3 days ago
docs all: remove AUTHORS file and references to it 3 days ago
doctor all: remove AUTHORS file and references to it 3 days ago
drive all: remove AUTHORS file and references to it 3 days ago
envknob all: remove AUTHORS file and references to it 3 days ago
feature all: remove AUTHORS file and references to it 3 days ago
gokrazy all: remove AUTHORS file and references to it 3 days ago
health all: remove AUTHORS file and references to it 3 days ago
hostinfo all: remove AUTHORS file and references to it 3 days ago
internal all: remove AUTHORS file and references to it 3 days ago
ipn all: remove AUTHORS file and references to it 3 days ago
jsondb all: remove AUTHORS file and references to it 3 days ago
k8s-operator all: remove AUTHORS file and references to it 3 days ago
kube all: remove AUTHORS file and references to it 3 days ago
licenses all: remove AUTHORS file and references to it 3 days ago
log all: remove AUTHORS file and references to it 3 days ago
logpolicy all: remove AUTHORS file and references to it 3 days ago
logtail all: remove AUTHORS file and references to it 3 days ago
maths all: remove AUTHORS file and references to it 3 days ago
metrics all: remove AUTHORS file and references to it 3 days ago
net all: remove AUTHORS file and references to it 3 days ago
omit all: remove AUTHORS file and references to it 3 days ago
packages/deb all: remove AUTHORS file and references to it 3 days ago
paths all: remove AUTHORS file and references to it 3 days ago
portlist all: remove AUTHORS file and references to it 3 days ago
posture all: remove AUTHORS file and references to it 3 days ago
prober all: remove AUTHORS file and references to it 3 days ago
proxymap all: remove AUTHORS file and references to it 3 days ago
release all: remove AUTHORS file and references to it 3 days ago
safesocket all: remove AUTHORS file and references to it 3 days ago
safeweb all: remove AUTHORS file and references to it 3 days ago
scripts all: remove AUTHORS file and references to it 3 days ago
sessionrecording all: remove AUTHORS file and references to it 3 days ago
ssh/tailssh all: remove AUTHORS file and references to it 3 days ago
syncs all: remove AUTHORS file and references to it 3 days ago
tailcfg all: remove AUTHORS file and references to it 3 days ago
tempfork feature/c2n: move answerC2N code + deps out of control/controlclient 4 months ago
tka all: remove AUTHORS file and references to it 3 days ago
tool all: remove AUTHORS file and references to it 3 days ago
tsconsensus all: remove AUTHORS file and references to it 3 days ago
tsconst all: remove AUTHORS file and references to it 3 days ago
tsd all: remove AUTHORS file and references to it 3 days ago
tsnet all: remove AUTHORS file and references to it 3 days ago
tstest wf: allow limited broadcast to/from permitted interfaces when using an exit node on Windows 3 days ago
tstime all: remove AUTHORS file and references to it 3 days ago
tsweb all: remove AUTHORS file and references to it 3 days ago
types all: remove AUTHORS file and references to it 3 days ago
util all: remove AUTHORS file and references to it 3 days ago
version all: remove AUTHORS file and references to it 3 days ago
wf wf: allow limited broadcast to/from permitted interfaces when using an exit node on Windows 3 days ago
wgengine all: remove AUTHORS file and references to it 3 days ago
wif all: remove AUTHORS file and references to it 3 days ago
words all: remove AUTHORS file and references to it 3 days ago
.gitattributes .: add .gitattributes entry to use Go hunk-header driver 4 years ago
.gitignore cmd/k8s-operator: Add NOTES.txt to Helm chart (#16364) 7 months ago
.golangci.yml .github: Bump golangci/golangci-lint-action from 6.5.0 to 7.0.0 (#15476) 10 months ago
ALPINE.txt docker: bump alpine v3.19 -> 3.22 (#17155) 4 months ago
CODEOWNERS CODEOWNERS: add the start of an owners file 2 years ago
CODE_OF_CONDUCT.md CODE_OF_CONDUCT.md: update code of conduct 3 months ago
Dockerfile all: remove AUTHORS file and references to it 3 days ago
Dockerfile.base all: remove AUTHORS file and references to it 3 days ago
LICENSE all: remove AUTHORS file and references to it 3 days ago
Makefile Makefile, cmd/*/depaware.txt: split out vendor packages explicitly 4 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 4 months ago
SECURITY.md Add a SECURITY.md for vulnerability reports. 6 years ago
VERSION.txt VERSION.txt: this is v1.95.0 (#18414) 2 weeks ago
api.md {api.md,publicapi}: remove old API docs (#13468) 1 year ago
assert_ts_toolchain_match.go all: remove AUTHORS file and references to it 3 days ago
build_dist.sh build_dist.sh: keep --extra-small making a usable build, add --min 4 months ago
build_docker.sh build_docker.sh: support including extra files (#17405) 4 months ago
flake.lock .github/Makefile/flake: update nix flake support (#16636) 5 months ago
flake.nix cmd,feature: add identity token auto generation for workload identity (#18373) 2 weeks ago
go.mod cmd,feature: add identity token auto generation for workload identity (#18373) 2 weeks ago
go.mod.sri cmd,feature: add identity token auto generation for workload identity (#18373) 2 weeks ago
go.sum cmd,feature: add identity token auto generation for workload identity (#18373) 2 weeks ago
go.toolchain.branch go.toolchain.branch: bump to go1.25 (#16954) 5 months ago
go.toolchain.rev go.toolchain.rev: update to Go 1.25.5 (#18123) 2 months ago
go.toolchain.rev.sri go.toolchain.rev: update to Go 1.25.5 (#18123) 2 months ago
go.toolchain.version go.toolchain.rev: update to Go 1.25.5 (#18123) 2 months ago
gomod_test.go all: remove AUTHORS file and references to it 3 days ago
header.txt all: remove AUTHORS file and references to it 3 days ago
license_test.go all: remove AUTHORS file and references to it 3 days ago
pkgdoc_test.go all: remove AUTHORS file and references to it 3 days ago
pull-toolchain.sh flake.nix: update Nix to use tailscale/go 1.25.2 (#17500) 4 months ago
shell.nix cmd,feature: add identity token auto generation for workload identity (#18373) 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) 4 months ago
version-embed.go all: remove AUTHORS file and references to it 3 days ago
version_tailscale_test.go all: remove AUTHORS file and references to it 3 days ago
version_test.go all: remove AUTHORS file and references to it 3 days 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.