Mirror of tailscale/tailscale@github.com
Go to file
Josh Bleecher Snyder 1ebbaaaebb net/interfaces: make syscall and netstat agree when multiple gateways are present
likelyHomeRouterIPDarwinSyscall iterates through the list of routes,
looking for a private gateway, returning the first one it finds.

likelyHomeRouterIPDarwinExec does the same thing,
except that it returns the last one it finds.

As a result, when there are multiple gateways,
TestLikelyHomeRouterIPSyscallExec fails.
(At least, I think that that is what is happening;
I am going inferring from observed behavior.)

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2020-11-19 12:14:58 -08:00
.github .github/workflows: use cache to speed up Windows tests 2020-11-02 07:45:48 -08:00
atomicfile atomicfile: don't Chmod on windows 2020-07-15 12:31:40 -07:00
cmd tempfork/osexec: remove old fork of os/exec 2020-11-18 08:42:43 -08:00
control/controlclient control/controlclient: diagnose zero bytes from control 2020-11-12 14:45:08 -08:00
derp version: use OSS repo's version when building. 2020-10-28 16:17:21 -07:00
disco wgengine/magicsock: run test DERP in mode where only disco packets allowed 2020-07-16 12:58:35 -07:00
internal Add tooldeps package to keep depaware pinned in go.mod. 2020-09-09 12:13:30 -07:00
ipn ipn/ipnserver: add knob to disable babysitter 2020-11-17 15:26:39 -08:00
log log/filelogger: move our Windows disk file writing+rotation package here 2020-10-29 14:59:44 -07:00
logpolicy logpolicy: add -race suffix to Go version when race detector in use 2020-11-16 10:13:06 -08:00
logtail logtail: fix typo in comment 2020-11-17 13:43:54 -08:00
metrics metrics: add LabelMap.GetFloat 2020-07-19 12:31:12 -07:00
net net/interfaces: make syscall and netstat agree when multiple gateways are present 2020-11-19 12:14:58 -08:00
paths paths, cmd/tailscaled: on Windows, don't try to migrate from legacy relay.conf 2020-07-13 08:59:54 -07:00
portlist tempfork/osexec: remove old fork of os/exec 2020-11-18 08:42:43 -08:00
safesocket safesocket: gofmt 2020-07-20 14:40:19 -07:00
scripts scripts: don't descend into .git for license header check 2020-09-10 09:23:33 -07:00
smallzstd smallzstd: new package that constructs zstd small encoders/decoders. 2020-07-02 16:13:06 -07:00
syncs syncs: add Watch, for monitoring mutex contention 2020-09-11 11:36:07 -07:00
tailcfg Reverse earlier "allow tag without 'tag:' prefix" changes. 2020-11-11 03:30:36 -05:00
tempfork/pprof tempfork/osexec: remove old fork of os/exec 2020-11-18 08:42:43 -08:00
tsconst net/netns: add windows support. 2020-09-14 16:28:49 -07:00
tstest wgengine/magicsock: make test pass on Windows and without firewall dialog box 2020-10-28 09:02:08 -07:00
tstime tstime: hand-implement parseInt for specific needs of rfc3339 parsing. 2020-04-14 12:36:55 -07:00
tsweb tsweb: refactor JSONHandler to take status code from error if it is present (#905) 2020-11-10 09:52:26 -05:00
types all: prepare for GOOS=ios in Go 1.16 2020-11-11 09:17:04 -08:00
util util/endian: add Native variable to get the platform's native binary.ByteOrder 2020-11-17 13:49:24 -08:00
version all: prepare for GOOS=ios in Go 1.16 2020-11-11 09:17:04 -08:00
wgengine wgengine/monitor: fix memory corruption in Windows implementation 2020-11-18 14:51:27 -08:00
.gitattributes .gitattributes: add a smudge filter for go.mod. 2020-02-19 20:02:02 -05:00
.gitignore .gitignore: ignore *.tmp files. 2020-11-11 03:32:00 -05:00
AUTHORS Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
CODE_OF_CONDUCT.md Add a code of conduct. 2020-02-10 22:16:30 -08:00
Dockerfile Patch docker to use valid Go version 2020-11-11 06:27:15 -08:00
LICENSE Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
Makefile Makefile: remove tsshd from depaware 2020-09-11 11:09:32 -07:00
PATENTS Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
README.md version: use OSS repo's version when building. 2020-10-28 16:17:21 -07:00
SECURITY.md Add a SECURITY.md for vulnerability reports. 2020-02-11 10:26:41 -08:00
VERSION.txt VERSION.txt: this is now 1.3.x. 2020-11-03 15:09:02 -08:00
build_dist.sh build_dist: fix after version refactor. 2020-11-03 14:40:09 -08:00
go.mod go.mod: update some deps to get past a wireguard-windows checkptr fix 2020-11-13 11:55:13 -08:00
go.sum net/netstat: remove some unsafe 2020-11-14 21:24:09 -08:00

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 primarily on Linux; it also works to varying degrees on FreeBSD, OpenBSD, Darwin, and Windows.

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

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 only guarantee to support the latest Go release and any Go beta or release candidate builds (currently Go 1.15) in module mode. It might work in earlier Go versions or in GOPATH mode, but we're making no effort to keep those working.

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

We are apenwarr, bradfitz, crawshaw, danderson, dfcarney, josharian from Tailscale Inc. You can learn more about us from our website.

WireGuard is a registered trademark of Jason A. Donenfeld.