summaryrefslogtreecommitdiffhomepage
path: root/cmd/relaynode
AgeCommit message (Collapse)AuthorFilesLines
2020-03-25cmd/relaynode: delete it!Avery Pennarun35-553/+1
tailscale+tailscaled now completely obsoletes relaynode, so let's let it finally go away.
2020-03-17all: update to wireguard-go API changesBrad Fitzpatrick1-1/+1
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2020-03-12controlclient/netmap: write our own b.ConciseDiffFrom(a) function.Avery Pennarun1-4/+1
This removes the need for go-cmp, which is extremely bloaty so we had to leave it out of iOS. As a result, we had also left it out of macOS, and so we didn't print netmap diffs at all on darwin-based platforms. Oops. As a bonus, the output format of the new function is way better. Minor oddity: because I used the dumbest possible diff algorithm, the sort order is a bit dumb. We print all "removed" lines and then print all "added" lines, rather than doing the usual diff-like thing of interspersing them. This probably doesn't matter (maybe it's an improvement).
2020-02-25control: make Hostinfo accessed by pointerBrad Fitzpatrick1-1/+1
Fix potential races in copying aliased slices by value. Also few little doc updates. Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2020-02-19Lint: remove unused function.David Anderson1-8/+0
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-20cmd/relaynode: drop local --acl-file in favour of central packet filter.Avery Pennarun9-133/+10
relaynode itself is not long for this world, deprecated in favour of tailscale/tailscaled. But now that the control server supports central distribution of packet filters, let's actually take advantage of it in a final, backward compatible release of relaynode.
2020-02-19logpolicy: automatically figure out paths and filenames.David Anderson1-1/+1
The autoselection should pick sensible paths for all of: - Windows (LocalAppData) - Mac (Library/Caches) - Unix user (XDG_CACHE_DIR) - Linux systemd service (CACHE_DIRECTORY) As a last resort, if cache dir lookup fails, plops sufficiently uniquely named files into the current working directory. Signed-off-by: David Anderson <dave@natulte.net>
2020-02-17wgengine: simplify, change some signaturesBrad Fitzpatrick1-3/+2
* make RouterGen return an error, not take both tunname and tundev * also remove RouteGen taking a wireguard/device.Device; currently unused * remove derp parameter (it'll work differently) * unexport NewUserspaceRouter in per-OS impls, add documented wrapper Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2020-02-11debian: fix changelog generation.David Anderson1-1/+1
It seems changelog generation got broken by moving the code between corp and OSS repos, because one of the commit SHAs doesn't have an associated tag. In the interest of fixing the build, and because we're not yet trying to upstream the debian package, I fixed this by allowing hash-based versions to show up in the changelog. This maybe wrong from a debian standards perspective, but for our current point in life it'll work until we learn to do it better. Signed-Off-By: David Anderson <dave@natulte.net>
2020-02-10cmd: add import commentsBrad Fitzpatrick1-1/+1
See https://golang.org/cmd/go/#hdr-Import_path_checking
2020-02-09Move Linux client & common packages into a public repo.Earl Lee35-0/+688