Go to file
Denton Gentry 399a80785e wgengine/netstack: use ping6 on BSD platforms
Various BSD-derived operating systems including macOS and FreeBSD
require that ping6 be used for IPv6 destinations. The "ping" command
does not understand an IPv6 destination.

FreeBSD 13.x and later do handle IPv6 in the regular ping command,
but also retain a ping6 command. We use ping6 on all versions of
FreeBSD.

Fixes https://github.com/tailscale/tailscale/issues/8225

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2023-05-28 09:50:21 -07:00
.bencher
.github .github: mark bots for exemption by issuebot (#8041) 2023-05-03 18:36:19 -07:00
atomicfile
chirp
client/tailscale
cmd cmd/k8s-operator: add support for priorityClassName 2023-05-17 15:28:06 -07:00
control control/controlclient: use dnscache.Resolver for Noise client 2023-05-01 13:22:10 -07:00
derp
disco all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 2023-02-01 15:23:54 -08:00
docs
doctor
envknob envknob: support tailscaled-env.txt on macOS too 2023-05-04 10:27:59 -07:00
health health, net/tlsdial: add healthcheck for self-signed cert 2023-02-01 23:17:41 -05:00
hostinfo
internal/tooldeps
ipn tka: provide authority StateID in NetworkLockStatus response (#8200) 2023-05-24 13:36:25 -07:00
jsondb
kube
licenses licenses: update win/apple licenses 2023-05-08 16:48:36 -07:00
log all: avoid repeated default interface lookups 2023-04-20 15:46:01 -07:00
logpolicy all: avoid repeated default interface lookups 2023-04-20 15:46:01 -07:00
logtail
metrics metrics: add SetInt64 to ease using LabelMap for gauge metrics 2023-02-18 17:43:43 +00:00
net
packages/deb
paths all: update copyright and license headers 2023-01-27 15:36:29 -08:00
portlist portlist: add Poller.IncludeLocalhost option 2023-05-24 13:26:16 -04:00
prober
release release/dist/cli: correctly handle absolute build outputs in manifest 2023-05-25 19:52:40 -07:00
safesocket
scripts
smallzstd all: update copyright and license headers 2023-01-27 15:36:29 -08:00
ssh/tailssh
syncs
tailcfg
tempfork net/tstun/table: add initial RoutingTable implementation 2023-03-29 12:30:18 -07:00
tka tka: fix go vet complaint on copy of lock value in tailchonk_test.go (#8208) 2023-05-25 13:34:13 -07:00
tool
tsconst
tsd
tsnet tsnet: reenable TestLoopbackSOCKS5 on Windows 2023-05-10 20:15:41 -07:00
tstest
tstime tstime/rate: add Value (#7491) 2023-03-09 11:13:09 -08:00
tsweb tsweb/promvarz: fix repeated expvar definition in test 2023-05-06 09:53:09 -07:00
types
util util/set: add a basic map-based Set type 2023-05-11 15:17:34 -07:00
version version: properly handle vcs.modified when it's "false" 2023-05-07 09:15:38 -07:00
wf
wgengine wgengine/netstack: use ping6 on BSD platforms 2023-05-28 09:50:21 -07:00
words words: shell-ebrating crustacean chaos 2023-05-19 14:15:26 -07:00
.gitattributes
.gitignore
.golangci.yml
ALPINE.txt
AUTHORS
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.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:

WireGuard is a registered trademark of Jason A. Donenfeld.