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
Cezar Craciunoiu 599e84f194 net/netmon: Do not iterate over problematic interfaces
Iterating interfaces happens unrelated to the previous problematic
interface check. Check here also to save time on initialization.

Updates #1552

Signed-off-by: Cezar Craciunoiu <cezar.craciunoiu@unikraft.io>
12 months ago
.bencher
.github .github: Bump github/codeql-action from 3.27.1 to 3.27.6 (#14332) 1 year ago
appc
atomicfile
chirp
client cmd/tailscale,net/netcheck: add debug feature to force preferred DERP 1 year ago
clientupdate clientupdate: don't link distsign on platforms that don't download 1 year ago
cmd cmd/containerboot: don't attempt to patch a Secret field without permissions (#14365) 1 year ago
control control/controlhttp: set *health.Tracker in tests 1 year ago
derp prober,derp/derphttp: make dev-mode DERP probes work without TLS (#14347) 1 year ago
disco
docs cmd/k8s-operator,docs/k8s: run tun mode proxies in privileged containers (#14262) 1 year ago
doctor
drive drive/driveimpl: use su instead of sudo 1 year ago
envknob envknob,kube/kubetypes,cmd/k8s-operator: add app type for ProxyGroup (#14029) 1 year ago
gokrazy gokrazy, various: use point versions of Go and update Nix deps 1 year ago
health health: fix TestHealthMetric to pass on release branch 1 year ago
hostinfo hostinfo: fix testing in container (#14330) 1 year ago
internal
ipn cmd/tailscale,net/netcheck: add debug feature to force preferred DERP 1 year ago
jsondb
k8s-operator cmd/k8s-operator,k8s-operator: operator integration tests (#12792) 1 year ago
kube cmd/{containerboot,k8s-operator},kube/kubetypes: kube Ingress L7 proxies only advertise HTTPS endpoint when ready (#14171) 1 year ago
licenses licenses: update license notices 1 year ago
log
logpolicy logpolicy: cleanup options API and allow setting http.Client (#11503) 1 year ago
logtail logtail: avoid bytes.Buffer allocation (#11858) 1 year ago
metrics metrics: revert changes to MultiLabelMap's String method 1 year ago
net net/netmon: Do not iterate over problematic interfaces 12 months ago
omit
packages/deb
paths
portlist
posture control/controlclient,posture,util/syspolicy: use predefined syspolicy keys instead of string literals 1 year ago
prober prober,derp/derphttp: make dev-mode DERP probes work without TLS (#14347) 1 year ago
proxymap ipnlocal,proxymap,wgengine/netstack: add optional WhoIs/proxymap debug 1 year ago
release release/dist: clamp min / max version for synology package centre (#13857) 1 year ago
safesocket safesocket: don't depend on go-ps on iOS 1 year ago
safeweb safeweb: add a Shutdown method to the Server type (#14048) 1 year ago
scripts scripts/installer.sh: allow Archcraft for Arch packages (#13870) 1 year ago
sessionrecording sessionrecording: implement v2 recording endpoint support (#14105) 1 year ago
smallzstd
ssh/tailssh ssh/tailssh: remove unused public key support 1 year ago
syncs syncs: allocate map with Map.WithLock (#13755) 1 year ago
tailcfg ssh/tailssh: remove unused public key support 1 year ago
taildrop taildrop: fix defer in loop (#13757) 1 year ago
tempfork
tka tka: truncate long rotation signature chains 1 year ago
tool tool/gocross: remove trimpath from test builds 1 year ago
tsconst
tsd util/usermetrics: make usermetrics non-global 1 year ago
tsnet tsnet: remove flaky test marker from metrics 1 year ago
tstest tstest/integration/testcontrol: remove a vestigial unused parameter 1 year ago
tstime
tsweb tsweb: change RequestID format to have a date in it 1 year ago
types types/bools: add IfElse (#14272) 1 year ago
util util/dnsname: use vizerror for all errors 1 year ago
version version: fix earlier test/wording mistakes 1 year ago
wf wf/firewall: allow link-local multicast for permitted local routes when the killswitch is on on Windows 1 year ago
wgengine cmd/tailscale,net/netcheck: add debug feature to force preferred DERP 1 year ago
words words: Add scoville to scales.txt (#14084) 1 year ago
.gitattributes
.gitignore
.golangci.yml
ALPINE.txt
AUTHORS
CODEOWNERS
CODE_OF_CONDUCT.md
Dockerfile all: switch to and require Go 1.23 1 year ago
Dockerfile.base
LICENSE
Makefile ssh/tailssh: remove unused public key support 1 year ago
PATENTS
README.md all: switch to and require Go 1.23 1 year ago
SECURITY.md
VERSION.txt VERSION.txt: this is v1.79.0 1 year ago
api.md {api.md,publicapi}: remove old API docs (#13468) 1 year ago
assert_ts_toolchain_match.go tailscaleroot: panic if tailscale_go build tag but Go toolchain mismatch 1 year ago
build_dist.sh
build_docker.sh Makefile,./build_docker.sh: update kube operator image build target name (#14251) 1 year ago
flake.lock nix: update nix and use go 1.23 1 year ago
flake.nix gokrazy, various: use point versions of Go and update Nix deps 1 year ago
go.mod go.mod: bump x/net and dependencies 1 year ago
go.mod.sri go.mod.sri: update SRI hash for go.mod changes 1 year ago
go.sum go.mod: bump x/net and dependencies 1 year ago
go.toolchain.branch all: switch to and require Go 1.23 1 year ago
go.toolchain.rev go.toolchain.rev: bump from Go 1.23.1 to Go 1.23.3 1 year ago
gomod_test.go
header.txt
pkgdoc_test.go
pull-toolchain.sh
shell.nix go.mod.sri: update SRI hash for go.mod changes 1 year ago
staticcheck.conf
update-flake.sh
version-embed.go tailscaleroot: panic if tailscale_go build tag but Go toolchain mismatch 1 year ago
version_tailscale_test.go tailscaleroot: panic if tailscale_go build tag but Go toolchain mismatch 1 year ago
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.23. (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.