基于WireGuard的VPN。免费支持最多20个节点。 https://tailscale.com/

Adrian Dewhurst 8c0572e088 go.mod: bump wireguard-go há 2 anos atrás
.bencher babd163aac bencher: add config to suppress failures on benchmark regressions. há 4 anos atrás
.github 8e840489ed cmd/testwrapper: only retry flaky failed tests há 2 anos atrás
atomicfile 280255acae various: add golangci-lint, fix issues (#7905) há 2 anos atrás
chirp 71029cea2d all: update copyright and license headers há 3 anos atrás
client fd8c8a3700 client/tailscale: add API for verifying network lock signing deeplink há 2 anos atrás
cmd a7648a6723 net/dnsfallback: run recursive resolver and compare results há 2 anos atrás
control 9d1a3a995c control/controlclient: use ctx passed down to NoiseClient.getConn há 2 anos atrás
derp ab310a7f60 derp: use new net/tcpinfo package há 2 anos atrás
disco b1248442c3 all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork há 3 anos atrás
docs 0c427f23bd docs/k8s: don't call kubectl directly from Makefile há 2 anos atrás
doctor c98652c333 doctor/permissions: add new check to print process permissions há 2 anos atrás
envknob 73d128238e envknob: support tailscaled-env.txt on macOS too há 2 anos atrás
health 2755f3843c health, net/tlsdial: add healthcheck for self-signed cert há 3 anos atrás
hostinfo 2cf6e12790 hostinfo: make lxcfs container check more specific há 2 anos atrás
internal 280255acae various: add golangci-lint, fix issues (#7905) há 2 anos atrás
ipn 7b1c3dfd28 tailcfg,etc: remove unused tailcfg.Node.KeepAlive field há 2 anos atrás
jsondb 71029cea2d all: update copyright and license headers há 3 anos atrás
kube e0d291ab8a ipn/store: add support for stores to hook into a custom dialer há 2 anos atrás
licenses 626f650033 licenses: update android licenses há 2 anos atrás
log 7330aa593e all: avoid repeated default interface lookups há 2 anos atrás
logpolicy 7330aa593e all: avoid repeated default interface lookups há 2 anos atrás
logtail 67e912824a all: adjust some build tags for wasi há 2 anos atrás
metrics 4d94d72fba metrics: add LabelMap.GetIncrFunc há 2 anos atrás
net a7648a6723 net/dnsfallback: run recursive resolver and compare results há 2 anos atrás
packages 71029cea2d all: update copyright and license headers há 3 anos atrás
paths 67e912824a all: adjust some build tags for wasi há 2 anos atrás
portlist f8f0b981ac portlist: remove async functionality há 2 anos atrás
prober f314fa4a4a prober: fix data race when altering derpmap (#8397) há 2 anos atrás
release 0a86705d59 release/dist: add helper to build Go binaries with custom tags há 2 anos atrás
safesocket f844791e15 safesocket: enable test to run on Windows unpriviliged há 2 anos atrás
scripts 4321d1d6e9 scripts/installer.sh: add sle-micro-rancher. há 2 anos atrás
smallzstd 71029cea2d all: update copyright and license headers há 3 anos atrás
ssh 61886e031e ssh/tailssh: fix double race condition with non-pty command (#8405) há 2 anos atrás
syncs cafd9a2bec syncs: add ShardedMap.Mutate há 2 anos atrás
tailcfg ffaa6be8a4 tailcfg: add json omitempty to DNSConfig.ExitNodeFilteredSet há 2 anos atrás
tempfork cb53846717 tempfork/heap: add copy of Go's container/heap but using generics há 2 anos atrás
tka 0ed088b47b tka: add function for generating signing deeplinks (#8385) há 2 anos atrás
tool bfe5623a86 tool/gocross: make gocross behave with pre-release Go toolchains há 2 anos atrás
tsconst 71029cea2d all: update copyright and license headers há 3 anos atrás
tsd 6e967446e4 tsd: add package with System type to unify subsystem init, discovery há 2 anos atrás
tsnet f05a9f3e7f tsnet: mark TestLoopbackLocalAPI as flakey há 2 anos atrás
tstest 92fb80d55f tstest, tstime: mockable timers and tickers há 2 anos atrás
tstime 92fb80d55f tstest, tstime: mockable timers and tickers há 2 anos atrás
tsweb cd4c71c122 tstest: prepare for Clock API changes há 2 anos atrás
types 2e19790f61 types/views: add JSON marshal/unmarshal and AsMap to Map há 2 anos atrás
util 7b1c3dfd28 tailcfg,etc: remove unused tailcfg.Node.KeepAlive field há 2 anos atrás
version 28ee355c56 version: fix tvOS network extension bundle identifier (#8545) há 2 anos atrás
wf 71029cea2d all: update copyright and license headers há 3 anos atrás
wgengine 7b1c3dfd28 tailcfg,etc: remove unused tailcfg.Node.KeepAlive field há 2 anos atrás
words 3f1f906b63 words: ack Miles Prower (#8479) há 2 anos atrás
.gitattributes 1813c2a162 .: add .gitattributes entry to use Go hunk-header driver há 4 anos atrás
.gitignore fc4b25d9fd release: open-source release build logic for unix packages há 3 anos atrás
.golangci.yml f85dc6f97c ci: add more lints (#7909) há 2 anos atrás
ALPINE.txt 88133c361e Docker: add ALPINE.txt to manage alpine versions há 3 anos atrás
AUTHORS a8d8b8719a Move Linux client & common packages into a public repo. há 6 anos atrás
CODE_OF_CONDUCT.md 452b81d56b Add a code of conduct. há 6 anos atrás
Dockerfile 80692edcb8 .github/workflows: Add docker build check (#8345) há 2 anos atrás
Dockerfile.base 1302295299 Dockerfile.base: install iputils há 2 anos atrás
LICENSE 947c14793a all: update tools that manage copyright headers há 3 anos atrás
Makefile 32e0ba5e68 release/dist/synology: build synology packages with cmd/dist há 2 anos atrás
PATENTS a8d8b8719a Move Linux client & common packages into a public repo. há 6 anos atrás
README.md b1248442c3 all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork há 3 anos atrás
SECURITY.md e59605595e Add a SECURITY.md for vulnerability reports. há 6 anos atrás
VERSION.txt 30d9201a11 VERSION.txt: this is v1.45.0 há 2 anos atrás
api.md a874f1afd8 all: adjust case of "IPv4" and "IPv6" há 2 anos atrás
build_dist.sh 6554a0cbec build_dist.sh: use $go consistently. há 2 anos atrás
build_docker.sh f9667e4946 Dockerfile: fix docker build há 3 anos atrás
flake.lock 30e0156430 nix: update nixpkgs flake, override go_1_20 for tailscale_go (#7139) há 3 anos atrás
flake.nix 909e9eabe4 go.mod.sri: update SRI hash for go.mod changes há 2 anos atrás
go.mod 8c0572e088 go.mod: bump wireguard-go há 2 anos atrás
go.mod.sri 909e9eabe4 go.mod.sri: update SRI hash for go.mod changes há 2 anos atrás
go.sum 8c0572e088 go.mod: bump wireguard-go há 2 anos atrás
go.toolchain.branch fbacc0bd39 go.toolchain: switch to tailscale.go1.21 (#8415) há 2 anos atrás
go.toolchain.rev fbacc0bd39 go.toolchain: switch to tailscale.go1.21 (#8415) há 2 anos atrás
pull-toolchain.sh 0e4f2bdd0c pull-toolchain.sh: don't run update-flake.sh há 3 anos atrás
shell.nix 909e9eabe4 go.mod.sri: update SRI hash for go.mod changes há 2 anos atrás
staticcheck.conf ece138ffc3 staticcheck.conf: remove unnecessary warning há 4 anos atrás
update-flake.sh f145c2b65b .github/workflows: add workflow to update go.mod Nix SRI hash há 3 anos atrás
version-embed.go da75e49223 version: return correct Meta.MajorMinorPatch in non-dev builds há 3 anos atrás
version_test.go 71029cea2d all: update copyright and license headers há 3 anos atrás

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.20. (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 git log for our commit message style. It's basically the same as Go's style.

About Us

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

Legal

WireGuard is a registered trademark of Jason A. Donenfeld.