Mirror of tailscale/tailscale@github.com
Go to file
Brad Fitzpatrick 9203916a4a control/controlknobs: move more controlknobs code from controlclient
Updates #cleanup

Change-Id: I2b8b6ac97589270f307bfb20e33674894ce873b5
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2023-09-12 12:44:35 -07:00
.bencher
.github
atomicfile
chirp
client ipn/ipnlocal: fix missing controlknobs.Knobs plumbing 2023-09-12 06:17:14 -07:00
clientupdate clientupdate: restart tailscale after install on DSM6 (#9363) 2023-09-12 13:08:00 -05:00
cmd control/controlknobs: move more controlknobs code from controlclient 2023-09-12 12:44:35 -07:00
control control/controlknobs: move more controlknobs code from controlclient 2023-09-12 12:44:35 -07:00
derp
disco
docs
doctor
envknob wgengine/magicsock: make peerMap also keyed by NodeID 2023-09-11 12:43:47 -07:00
health all: use set.Set consistently instead of map[T]struct{} 2023-09-09 10:59:19 -07:00
hostinfo
internal/tooldeps
ipn control/controlclient, types/netmap: start plumbing delta netmap updates 2023-09-12 12:23:24 -07:00
jsondb
kube
licenses licenses: update win/apple licenses 2023-09-08 08:44:43 -07:00
log
logpolicy
logtail
metrics metrics: add missing comma in histogram JSON export 2023-09-07 15:28:12 -07:00
net net/portmapper: fall back to permanent UPnP leases if necessary 2023-09-12 11:16:45 -04:00
packages/deb
paths
portlist
prober
release
safesocket
scripts
smallzstd
ssh/tailssh ssh/tailssh: log when recording starts and finishes (#9294) 2023-09-07 18:47:04 -07:00
syncs
tailcfg control/controlclient, types/netmap: start plumbing delta netmap updates 2023-09-12 12:23:24 -07:00
tempfork
tka all: use set.Set consistently instead of map[T]struct{} 2023-09-09 10:59:19 -07:00
tool
tsconst
tsd control/controlknobs, all: add plumbed Knobs type, not global variables 2023-09-11 12:44:03 -07:00
tsnet control/controlknobs, all: add plumbed Knobs type, not global variables 2023-09-11 12:44:03 -07:00
tstest ipn/ipnlocal: fix missing controlknobs.Knobs plumbing 2023-09-12 06:17:14 -07:00
tstime
tsweb tsweb/varz: fix exporting histograms 2023-09-07 14:52:59 -07:00
types control/controlclient, types/netmap: start plumbing delta netmap updates 2023-09-12 12:23:24 -07:00
util all: use set.Set consistently instead of map[T]struct{} 2023-09-09 10:59:19 -07:00
version
wf
wgengine control/controlclient, types/netmap: start plumbing delta netmap updates 2023-09-12 12:23:24 -07:00
words
.gitattributes
.gitignore
.golangci.yml
ALPINE.txt
AUTHORS
CODEOWNERS
CODE_OF_CONDUCT.md
Dockerfile
Dockerfile.base
LICENSE
Makefile
PATENTS
README.md
SECURITY.md
VERSION.txt
api.md
build_dist.sh
build_docker.sh
flake.lock
flake.nix
go.mod
go.mod.sri
go.sum
go.toolchain.branch
go.toolchain.rev
pull-toolchain.sh
shell.nix
staticcheck.conf
update-flake.sh
version-embed.go
version_test.go

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.21. (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.

Building the web client

To include the embedded web client (accessed via the tailscale web command), you'll need to build the client assets using:

./tool/yarn --cwd client/web build

Do this before building the tailscale.com/cmd/tailscale binary.

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:

WireGuard is a registered trademark of Jason A. Donenfeld.