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
Joe Tsai 32a1a3d1c0
util/deephash: avoid variadic argument for Update (#5372)
Hashing []any is slow since hashing of interfaces is slow.
Hashing of interfaces is slow since we pessimistically assume
that cycles can occur through them and start cycle tracking.

Drop the variadic signature of Update and fix callers to pass in
an anonymous struct so that we are hashing concrete types
near the root of the value tree.

Signed-off-by: Joe Tsai <joetsai@digital-static.net>

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2 years ago
.bencher
.github .github/workflows: cancel previous CI runs on PR update 2 years ago
atomicfile atomicfile: update docs to clarify behavior of argument 2 years ago
chirp
client/tailscale all: require Go 1.19 2 years ago
cmd net/stun: convert to use net/netip.AddrPort 2 years ago
control cmd/tailscale/cli: fix build break 2 years ago
derp all: use syncs.AtomicValue 2 years ago
disco all: migrate more code code to net/netip directly 2 years ago
docs
envknob
health
hostinfo hostinfo, net/netcheck: use CutPrefix 2 years ago
internal/tooldeps
ipn util/deephash: avoid variadic argument for Update (#5372) 2 years ago
jsondb
kube
log
logpolicy
logtail cmd/tsconnect: make logtail uploading work 2 years ago
metrics
net net/stun: convert to use net/netip.AddrPort 2 years ago
packages/deb
paths all: use syncs.AtomicValue 2 years ago
portlist syncs, all: move to using Go's new atomic types instead of ours 2 years ago
prober syncs, all: move to using Go's new atomic types instead of ours 2 years ago
safesocket all: gofmt for Go 1.19 2 years ago
scripts scripts/installer.sh: add `-y` for unattended install 2 years ago
smallzstd
ssh/tailssh syncs, all: move to using Go's new atomic types instead of ours 2 years ago
syncs syncs: add generic AtomicValue 2 years ago
tailcfg tailcfg, control/controlclient: add PingRequest.URLIsNoise [capver 38] 2 years ago
tempfork all: gofmt for Go 1.19 2 years ago
tka tka: Use strict decoding settings, implement Unserialize() 2 years ago
tool
tsconst
tsnet tsnet: cleanup resources upon start failure (#5301) 2 years ago
tstest all: use syncs.AtomicValue 2 years ago
tstime
tsweb all: gofmt for Go 1.19 2 years ago
types types/opt: support an explicit "unset" value for Bool 2 years ago
util util/deephash: avoid variadic argument for Update (#5372) 2 years ago
version all: use syncs.AtomicValue 2 years ago
wf
wgengine util/deephash: avoid variadic argument for Update (#5372) 2 years ago
words
.gitattributes
.gitignore
ALPINE.txt
AUTHORS
CODE_OF_CONDUCT.md
Dockerfile
Dockerfile.base
LICENSE
Makefile Makefile: add target for wasm and make it part of check 2 years ago
PATENTS
README.md all: require Go 1.19 2 years ago
SECURITY.md
VERSION.txt
api.md
build_dist.sh
build_docker.sh
go.mod build(deps): bump github.com/u-root/u-root from 0.8.0 to 0.9.0 2 years ago
go.sum build(deps): bump github.com/u-root/u-root from 0.8.0 to 0.9.0 2 years ago
go.toolchain.branch
go.toolchain.rev all: require Go 1.19 2 years ago
pull-toolchain.sh
shell.nix
staticcheck.conf
version-embed.go

README.md

Tailscale

https://tailscale.com

Private WireGuard® networks made easy

Overview

This repository contains all the open source Tailscale client code and the tailscaled daemon and tailscale CLI tool. The tailscaled daemon runs on Linux, Windows and macOS, and to varying degrees on FreeBSD, OpenBSD, and Darwin. (The Tailscale iOS and Android apps use this repo's code, but this repo doesn't contain the mobile GUI code.)

The Android app is at https://github.com/tailscale/tailscale-android

The Synology package is at https://github.com/tailscale/tailscale-synology

Using

We serve packages for a variety of distros 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 that are not open source.

Building

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.

We require the latest Go release, currently Go 1.19.

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.

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.