Mirror of tailscale/tailscale@github.com
Go to file
Brad Fitzpatrick 93a806ba31 types/tkatype: add test for MarshaledSignature's JSON format
Lock in its wire format before a potential change to its Go type.

Updates #1909

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2023-08-19 19:34:18 -07:00
.bencher
.github scripts/installer.sh: set Deepin to a debian version 2023-08-12 07:51:11 -07:00
atomicfile
chirp
client tailcfg: rename prototype field to reflect its status 2023-08-16 15:34:51 -07:00
clientupdate clientupdate: parse /etc/synoinfo.conf to get CPU arch (#8940) 2023-08-17 16:45:50 -07:00
cmd types/netmap, all: use read-only tailcfg.NodeView in NetworkMap 2023-08-18 20:04:35 -07:00
control control/controlclient: remove Opts.KeepSharerAndUserSplit 2023-08-19 15:06:05 -07:00
derp derp: include src IPs in mesh watch messages 2023-08-16 08:46:52 -07:00
disco wgengine,ipn,cmd/tailscale: add size option to ping (#8739) 2023-08-08 13:11:28 +01:00
docs
doctor
envknob all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 2023-08-17 08:42:35 -07:00
health cmd/tailscale: warn if node is locked out on bringup 2023-07-19 12:31:21 -05:00
hostinfo tailcfg: Add FirewallMode to NetInfo to record wether host using iptables or nftables 2023-08-15 18:52:51 -04:00
internal/tooldeps
ipn types/netmap, all: use read-only tailcfg.NodeView in NetworkMap 2023-08-18 20:04:35 -07:00
jsondb
kube
licenses cmd/tailscale: refactor shared utility methods 2023-08-09 08:59:10 -07:00
log tailcfg: move LogHeapPprof from Debug to c2n [capver 69] 2023-08-16 20:35:04 -07:00
logpolicy util/testenv: add new package to hold InTest 2023-08-08 19:51:44 -06:00
logtail logtail: use tstime (#8607) 2023-07-21 13:10:39 -04:00
metrics all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 2023-08-17 08:42:35 -07:00
net types/netmap, all: use read-only tailcfg.NodeView in NetworkMap 2023-08-18 20:04:35 -07:00
packages/deb go.mod: upgrade nfpm to v2 (#8786) 2023-08-03 13:00:45 -07:00
paths
portlist all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 2023-08-17 08:42:35 -07:00
prober
release cmd/dist,release/dist: expose RPM signing hook (#8789) 2023-08-03 15:27:06 -07:00
safesocket
scripts scripts/installer.sh: set Deepin to a debian version 2023-08-12 07:51:11 -07:00
smallzstd
ssh/tailssh types/netmap, all: use read-only tailcfg.NodeView in NetworkMap 2023-08-18 20:04:35 -07:00
syncs all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 2023-08-17 08:42:35 -07:00
tailcfg tailcfg: remove unused Domain field from Login/User 2023-08-18 20:07:17 -07:00
tempfork all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 2023-08-17 08:42:35 -07:00
tka all: implement lock revoke-keys command 2023-08-01 15:37:55 -05:00
tool tool/{node,yarn}: update node and yarn tools 2023-08-10 17:29:29 -04:00
tsconst
tsd
tsnet tsnet/example/web-client: listen on localhost 2023-08-18 14:57:08 -07:00
tstest tailcfg: remove unused Domain field from Login/User 2023-08-18 20:07:17 -07:00
tstime tstime/mono: remove unsafe 2023-08-11 13:23:16 -07:00
tsweb tsweb: add request ID for errors 2023-08-16 12:55:31 -04:00
types types/tkatype: add test for MarshaledSignature's JSON format 2023-08-19 19:34:18 -07:00
util util/linuxfw: reorganize nftables rules to allow it to work with ufw 2023-08-18 18:24:05 -07:00
version cmd/tailscale/cli,version/distro: update support for Alpine (#8701) 2023-07-24 16:53:15 -07:00
wf
wgengine types/netmap, all: use read-only tailcfg.NodeView in NetworkMap 2023-08-18 20:04:35 -07:00
words
.gitattributes
.gitignore client/web: copy existing UI to basic react components 2023-08-15 12:01:36 -07:00
.golangci.yml
ALPINE.txt
AUTHORS
CODEOWNERS CODEOWNERS: add the start of an owners file 2023-08-16 15:57:29 -07:00
CODE_OF_CONDUCT.md
Dockerfile all: require Go 1.21 2023-08-08 21:15:08 -07:00
Dockerfile.base
LICENSE
Makefile
PATENTS
README.md all: require Go 1.21 2023-08-08 21:15:08 -07:00
SECURITY.md
VERSION.txt VERSION.txt: this is v1.49.0 (#8907) 2023-08-16 09:37:36 -07:00
api.md api.md: update device authorize API docs to allow for deauth (#8728) 2023-07-27 15:30:14 +01:00
build_dist.sh
build_docker.sh
flake.lock
flake.nix go.mod.sri: update SRI hash for go.mod changes 2023-08-05 10:02:40 -07:00
go.mod all: require Go 1.21 2023-08-08 21:15:08 -07:00
go.mod.sri go.mod.sri: update SRI hash for go.mod changes 2023-08-05 10:02:40 -07:00
go.sum all: require Go 1.21 2023-08-08 21:15:08 -07:00
go.toolchain.branch
go.toolchain.rev tstime/mono: remove unsafe 2023-08-11 13:23:16 -07:00
pull-toolchain.sh
shell.nix go.mod.sri: update SRI hash for go.mod changes 2023-08-05 10:02:40 -07:00
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.

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.