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
Brad Fitzpatrick 120273d7f6 portlist: document, clean up, fix an open fd spike, optimize a bit
I noticed portlist when looking at some profiles and hadn't looked at
the code much before. This is a first pass over it. It allocates a
fair bit. More love remains, but this does a bit:

name       old time/op    new time/op    delta
GetList-8    9.92ms ± 8%    9.64ms ±12%     ~     (p=0.247 n=10+10)

name       old alloc/op   new alloc/op   delta
GetList-8     931kB ± 0%     869kB ± 0%   -6.70%  (p=0.000 n=10+10)

name       old allocs/op  new allocs/op  delta
GetList-8     4.59k ± 0%     3.69k ± 1%  -19.71%  (p=0.000 n=10+10)

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
5 years ago
.github Revert "update CI and everything to Go 1.14." 5 years ago
atomicfile
cmd cmd/tailscaled: rename relaynode reference in defaults file comment 5 years ago
control/controlclient control/controlclient: remove a number literal in string slice offset 5 years ago
derp derp: test that client a->b and a->c relaying do not interfere 5 years ago
ipn portlist: document, clean up, fix an open fd spike, optimize a bit 5 years ago
logpolicy
logtail
metrics
net net/nettest: new package with net-like testing primitives 5 years ago
netcheck Quiet two little log annoyances. 5 years ago
paths
portlist portlist: document, clean up, fix an open fd spike, optimize a bit 5 years ago
ratelimit
safesocket
stun netcheck: work behind UDP-blocked networks again, add tests 5 years ago
stunner stunner: quiet a harmless log warning 5 years ago
syncs syncs: add new package for extra sync types 5 years ago
tailcfg tailcfg.NetInfo: add a .String() renderer. 5 years ago
tempfork/osexec
testy
tsweb wgengine/monitor: don't call LinkChange when interfaces look unchanged 5 years ago
types
version version: bump OSS version datestamp. 5 years ago
wgengine wgengine/magicsock: don't interrupt endpoint updates, merge all mutex into one 5 years ago
.gitattributes
.gitignore
AUTHORS
CODE_OF_CONDUCT.md
Dockerfile Revert "update CI and everything to Go 1.14." 5 years ago
LICENSE
PATENTS
README.md Revert "update CI and everything to Go 1.14." 5 years ago
SECURITY.md
go.mod go.mod: bump wireguard-go version. 5 years ago
go.sum go.mod: bump wireguard-go version. 5 years ago

README.md

Tailscale

https://tailscale.com

Private WireGuard® networks made easy

Overview

This repository contains all the open source Tailscale code. It currently includes the Linux client.

The Linux client is currently cmd/relaynode, but will soon be replaced by cmd/tailscaled.

Using

We serve packages for a variety of distros at https://pkgs.tailscale.com .

Building

go install tailscale.com/cmd/tailscale{,d}

We only support the latest Go release and any Go beta or release candidate builds (currently Go 1.13.x or Go 1.14) 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

under_construction.gif

PRs welcome, but we are still working out our contribution process and tooling.

We require Developer Certificate of Origin Signed-off-by lines in commits.

About Us

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

WireGuard is a registered trademark of Jason A. Donenfeld.