Brad Fitzpatrick db2cc393af util/dirwalk, metrics, portlist: add new package for fast directory walking
This is similar to the golang.org/x/tools/internal/fastwalk I'd
previously written but not recursive and using mem.RO.

The metrics package already had some Linux-specific directory reading
code in it. Move that out to a new general package that can be reused
by portlist too, which helps its scanning of all /proc files:

    name                old time/op    new time/op    delta
    FindProcessNames-8    2.79ms ± 6%    2.45ms ± 7%  -12.11%  (p=0.000 n=10+10)

    name                old alloc/op   new alloc/op   delta
    FindProcessNames-8    62.9kB ± 0%    33.5kB ± 0%  -46.76%  (p=0.000 n=9+10)

    name                old allocs/op  new allocs/op  delta
    FindProcessNames-8     2.25k ± 0%     0.38k ± 0%  -82.98%  (p=0.000 n=9+10)

Change-Id: I75db393032c328f12d95c39f71c9742c375f207a
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2022-11-05 16:26:51 -07:00
2022-09-29 13:36:13 -07:00
2022-11-04 07:25:42 -07:00
2022-11-04 07:25:42 -07:00
2022-11-04 07:25:42 -07:00
2022-11-04 07:25:42 -07:00
2022-11-04 07:25:42 -07:00
2022-11-04 07:25:42 -07:00
2022-09-29 13:36:13 -07:00
2022-11-04 07:25:42 -07:00
2022-11-04 07:25:42 -07:00
2022-11-04 07:25:42 -07:00
2022-11-02 09:58:40 -04:00
2022-11-04 07:25:42 -07:00
2022-10-31 05:35:32 -07:00
2022-11-04 07:25:42 -07:00
2022-11-04 07:25:42 -07:00
2022-11-04 07:25:42 -07:00
2022-10-26 15:51:23 -04:00
2022-11-04 07:25:42 -07:00
2022-11-04 07:25:42 -07:00
2022-11-04 07:25:42 -07:00
2022-11-04 07:25:42 -07:00
2022-11-04 07:25:42 -07:00
2022-11-04 07:25:42 -07:00
2020-02-10 22:16:30 -08:00
2021-01-24 16:20:22 -08:00
2022-10-21 10:19:06 -07:00
2022-08-02 11:49:01 -07:00
2022-10-25 13:03:31 -04:00
2022-10-12 09:53:06 -07:00

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.

Description
The easiest, most secure way to use WireGuard and 2FA.
Readme BSD-3-Clause
Languages
Go 94.1%
C 2.4%
TypeScript 1.6%
Shell 0.8%
Swift 0.4%
Other 0.3%