Brad Fitzpatrick
fb6b0e247c
cmd/tailscaled: rename Windows service to just Tailscale
...
Updates #1232
2021-02-05 11:13:34 -08:00
Brad Fitzpatrick
98f9e82c62
logpolicy: on Windows, use tailscale-ipn log name if it already existed
...
For the migration to tailscaled.exe on Windows, don't create a new logid
if one existed under the old filename.
Updates #1232
2021-02-05 10:57:51 -08:00
Brad Fitzpatrick
e8d4afedd1
control/controlclient: don't call lite endpoint update path when logged out
...
This was the other half of the #1271 problem.
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-02-05 10:00:35 -08:00
Brad Fitzpatrick
a7562be5e1
cmd/tailscaled: move more of the Windows server setup code into tailscaled
...
Updates #1232
2021-02-05 09:53:54 -08:00
Brad Fitzpatrick
6f7974b7f2
cmd/tailscaled: add missing depaware.txt update
2021-02-05 08:48:00 -08:00
Brad Fitzpatrick
6099ecf7f4
cmd/tailscaled: run as a service on Windows
...
Updates #1232
2021-02-05 08:46:12 -08:00
Brad Fitzpatrick
7529b74018
control/controlclient: avoid crash sending map request with zero node key
...
Fixes #1271
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-02-04 16:23:50 -08:00
Brad Fitzpatrick and Dave Anderson
d76334d2f0
ipn: split LocalBackend off into new ipn/ipnlocal package
...
And move a couple other types down into leafier packages.
Now cmd/tailscale doesn't bring in netlink, magicsock, wgengine, etc.
Fixes #1181
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-02-04 14:04:23 -08:00
Brad Fitzpatrick
6254efb9ef
cmd/tailscale{,d}: move debug subcommand to tailscaled
...
Work on reducing the size of the tailscale binary, which is
currently pulling in most of the same code as tailscaled.
Updates #1181
2021-02-04 12:23:06 -08:00
Brad Fitzpatrick
70eb05fd47
wgengine: access flow pending problem with lock held
...
Missed review feedback from just-submitted d37058af72 .
2021-02-04 11:18:32 -08:00
Brad Fitzpatrick and Brad Fitzpatrick
d37058af72
net/packet: add some more TSMP packet reject reasons and MaybeBroken bit
...
Unused for now, but I want to backport this commit to 1.4 so 1.6 can
start sending these and then at least 1.4 logs will stringify nicely.
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-02-04 10:59:07 -08:00
Brad Fitzpatrick and Brad Fitzpatrick
f7eed25bb9
wgengine/magicsock: filter disco packets and packets when stopped from wireguard
...
Fixes #1167
Fixes tailscale/corp#219
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-02-04 09:38:02 -08:00
Brad Fitzpatrick
9a70789853
cmd/tailscale: fix IPN message reading stall in tailscale status -web
...
Fixes #1234
Updates #1254
2021-02-02 14:51:44 -08:00
Brad Fitzpatrick
a2aa6cd2ed
wgengine/router: clarify disabled IPv6 message on Linux
2021-02-02 14:51:44 -08:00
Brad Fitzpatrick
c7d4bf2333
cmd/tailscale/cli: recommend sudo for 'tailscale up' on failure
...
Fixes #1220
2021-02-01 13:53:57 -08:00
Brad Fitzpatrick and Brad Fitzpatrick
2889fabaef
cmd/tailscaled/tailscaled.service: revert recent hardening for now
...
It broke Debian Stretch. We'll try again later.
Updates #1245
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-02-01 13:37:48 -08:00
Brad Fitzpatrick
761188e5d2
wgengine/wgcfg: fix validateEndpoints of empty string
...
Updates tailscale/corp#1238
2021-01-30 11:17:55 -08:00
Brad Fitzpatrick
914a486af6
safesocket: refactor macOS auth code, pull out separate LocalTCPPortAndToken
2021-01-29 14:34:57 -08:00
Brad Fitzpatrick
60e189f699
cmd/hello: use safesocket client to connect
2021-01-29 13:49:17 -08:00
Brad Fitzpatrick
006a224f50
ipn/ipnserver, cmd/hello: do whois over unix socket, not debug http
...
Start of a local HTTP API. Not a stable interface yet.
2021-01-29 13:23:13 -08:00
Brad Fitzpatrick and Brad Fitzpatrick
0bc73f8e4f
cmd/hello: new hello.ipn.dev server
...
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-29 12:23:13 -08:00
Brad Fitzpatrick
c611d8480b
cmd/tailscaled: add whois/identd-ish debug handler
2021-01-28 15:31:52 -08:00
Brad Fitzpatrick and Dave Anderson
c7fc4a06da
wgengine/router: don't configure IPv6 on Linux when IPv6 is unavailable
...
Fixes #1214
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-28 13:35:11 -08:00
Brad Fitzpatrick and Brad Fitzpatrick
4d943536f1
wgengine: don't leak TUN device in NewUserspaceEngine error path
...
Updates #1187
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-27 11:06:56 -08:00
Brad Fitzpatrick
9f5b0d058f
wgengine: fix bugs from earlier fix
...
Fixes a regression from e970ed0995 that wasn't covered by tests
in this repo. (Our end-to-end tests in another repo caught this.)
Updates #1204
2021-01-27 10:32:08 -08:00
Brad Fitzpatrick and Brad Fitzpatrick
35e10c78fc
net/interfaces: don't send over zt* interfaces
...
Fixes #1208
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-26 15:20:43 -08:00
Brad Fitzpatrick and Brad Fitzpatrick
e970ed0995
wgengine: fix crash reading long UAPI lines from legacy peers
...
Also don't log.Fatalf in a function returning an error.
Fixes #1204
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-26 11:39:13 -08:00
Brad Fitzpatrick
a7edcd0872
ipn/ipnstate: update tailscale status -web to match CLI
2021-01-26 08:29:59 -08:00
Brad Fitzpatrick
a98538f84a
Merge branch 'main' of github.com:tailscale/tailscale into main
2021-01-25 15:53:13 -08:00
Brad Fitzpatrick and Brad Fitzpatrick
c3c59445ff
ipn/ipnserver: on Windows in unattended mode, wait for Engine forever
...
Updates #1187
2021-01-25 15:52:24 -08:00
Brad Fitzpatrick
0dde8fa0a8
ipn/ipnserver: rearrange some code
...
No functional change. Make a future diff easier to read.
2021-01-25 15:46:39 -08:00
Brad Fitzpatrick
4d3c09ced4
ipn/ipnserver: on Windows in unattended mode, wait for Engine forever
...
Updates #1187
2021-01-25 15:32:13 -08:00
Brad Fitzpatrick
4fea604979
wgengine/router: stop setPrivateNetwork goroutine on configureInterface failure
...
On Windows, configureInterface starts a goroutine reconfiguring the
Windows firewall.
But if configureInterface fails later, that goroutine kept running and
likely failing forever, spamming logs. Make it stop quietly if its
launching goroutine filed.
2021-01-25 13:22:51 -08:00
Brad Fitzpatrick
9ce92aad3e
cmd/tailscaled: update depaware.txt
2021-01-22 14:44:40 -08:00
Brad Fitzpatrick
fa3543d629
control/controlclient: use more direct way of getting the MagicDNS suffix
...
Suggested by Avery earlier. Ends up fixing bug in "tailscale status" when
MagicDNS if off too:
https://forum.tailscale.com/t/1-3-293-is-released-a-1-4-0-pre-release/349/11?u=bradfitz
2021-01-22 14:30:56 -08:00
Brad Fitzpatrick
e7bf144c3f
ipn, wgengine/filter: fix Shields Up recent regression and old bug
...
Fixes #1192 (regression)
Fixes #1193 (old bug)
2021-01-22 13:39:53 -08:00
Brad Fitzpatrick
97496a83af
wgengine/tstun: also support DropSilently on PostFilterIn
...
Not a problem (yet). But should be consistent with other places that support both
types of drops.
2021-01-22 13:22:32 -08:00
Brad Fitzpatrick
eb47cba435
cmd/tailscaled: don't require --state for --cleanup
2021-01-22 11:35:22 -08:00
Brad Fitzpatrick
daf2c70a08
go.mod: bump wireguard-go
2021-01-21 20:03:35 -08:00
Brad Fitzpatrick
4306433d1c
cmd/tailscale: make "tailscale ping" also resolve names without DNS
...
This lets "tailscale ping $NAME" work even if MagicDNS is off, letting you
ping a name that shows up in "tailscale status".
More user friendly.
2021-01-21 15:45:36 -08:00
Brad Fitzpatrick and Brad Fitzpatrick
9541886856
wgengine/magicsock: disable regular STUNs for all platforms by default
...
Reduces background CPU & network.
Updates #1034
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-21 14:56:07 -08:00
Brad Fitzpatrick and Brad Fitzpatrick
54d0d83b67
safesocket: on Linux, make /var/run/tailscale be 0755
...
Continuation of earlier two umask changes,
5611f290eb and
d6e9fb1df0 .
This change mostly affects us, running tailscaled as root by hand (wit
a umask of 0077), not under systemd. End users running tailscaled
under systemd won't have a umask.
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-21 13:23:14 -08:00
Brad Fitzpatrick
c55d26967b
wgengine/magicsock: log more details of endpoints learned over disco
...
Also, don't try to use IPv6 LinkLocalUnicast addresses for now. Like endpoints
exchanged with control, we share them but don't yet use them.
Updates #1172
2021-01-21 08:06:14 -08:00
Brad Fitzpatrick
9f1b02699a
tstime: add RandomDurationBetween helper
...
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-21 07:54:14 -08:00
Brad Fitzpatrick
a905ce5607
control/controlclient: add debug knob to not use control's endpoints
2021-01-20 21:31:06 -08:00
Brad Fitzpatrick
359055d3fa
wgengine/magicsock: fix logging regression
...
c8c493f3d9 made it always say
`created=false` which scared me when I saw it, as that would've implied
things were broken much worse. Fortunately the logging was just wrong.
2021-01-20 20:48:02 -08:00
Brad Fitzpatrick
b5628cee4e
control/controlclient: add detail to verbose log about route skips
2021-01-20 19:28:21 -08:00
Brad Fitzpatrick and Brad Fitzpatrick
edf64e0901
wgengine/magicsock: send, use endpoints in CallMeMaybe messages
...
Fixes #1172
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-20 14:59:41 -08:00
Brad Fitzpatrick and Brad Fitzpatrick
ec77b80c53
tailcfg, control/controlclient: add mapver 10: MapResponse.PeerSeenChange
...
This adds a more wire-efficient way of updating peers' Node.LastSeen times.
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-20 13:20:21 -08:00
Brad Fitzpatrick and Brad Fitzpatrick
b5b4992eff
disco: support parsing/encoding endpoints in call-me-maybe frames
...
Updates #1172
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-20 12:16:33 -08:00
Brad Fitzpatrick and Brad Fitzpatrick
187e22a756
wgengine/magicsock: don't run the DERP cleanup so often
...
To save CPU and wakeups, don't run the DERP cleanup timer regularly
unless there is a non-home DERP connection open.
Also eliminates the goroutine, moving to a time.AfterFunc.
Updates #1034
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-19 18:14:25 -08:00
Brad Fitzpatrick
b405644f5d
api.md: add TOC
2021-01-19 12:35:09 -08:00
Brad Fitzpatrick
edce91a8a6
wgengine/magicsock: fix a naked return bug/crash where we returned (nil, true)
...
The 'ok' from 'ipp, ok :=' above was the result parameter ok. Whoops.
2021-01-19 10:57:40 -08:00
Brad Fitzpatrick and Brad Fitzpatrick
51bd1feae4
wgengine/magicsock: add single element IPPort->endpoint cache in receive path
...
name old time/op new time/op delta
ReceiveFrom-4 21.8µs ± 2% 20.9µs ± 2% -4.27% (p=0.000 n=10+10)
Updates #414
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-18 21:40:58 -08:00
Brad Fitzpatrick and Brad Fitzpatrick
5c619882bc
wgengine/magicsock: simplify ReceiveIPv4+DERP path
...
name old time/op new time/op delta
ReceiveFrom-4 35.8µs ± 3% 21.9µs ± 5% -38.92% (p=0.008 n=5+5)
Fixes #1145
Updates #414
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-18 15:23:17 -08:00
Brad Fitzpatrick
3fa86a8b23
wgengine/magicsock: use relatively new netaddr.IPPort.IsZero method
2021-01-15 19:21:10 -08:00
Brad Fitzpatrick
4811236189
wgengine/magicsock: speed up BenchmarkReceiveFrom, store context.Done chan
...
context.cancelCtx.Done involves a mutex and isn't as cheap as I
previously assumed. Convert the donec method into a struct field and
store the channel value once. Our one magicsock.Conn gets one pointer
larger, but it cuts ~1% of the CPU time of the ReceiveFrom benchmark
and removes a bubble from the --svg output :)
2021-01-15 19:19:27 -08:00
Brad Fitzpatrick
c78ed5b399
go.sum: update (forgotten after earlier wireguard-go update again)
2021-01-15 19:19:27 -08:00
Brad Fitzpatrick and Brad Fitzpatrick
b560386c1a
net/packet, wgengine, tstun: add inter-node TSMP protocol for connect errors
...
This adds a new IP Protocol type, TSMP on protocol number 99 for
sending inter-tailscale messages over WireGuard, currently just for
why a peer rejects TCP SYNs (ACL rejection, shields up, and in the
future: nothing listening, something listening on that port but wrong
interface, etc)
Updates #1094
Updates tailscale/corp#1185
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-15 14:03:57 -08:00
Brad Fitzpatrick and Brad Fitzpatrick
5611f290eb
ipn, ipnserver: only require sudo on Linux for mutable CLI actions
...
This partially reverts d6e9fb1df0 , which modified the permissions
on the tailscaled Unix socket and thus required "sudo tailscale" even
for "tailscale status".
Instead, open the permissions back up (on Linux only) but have the
server look at the peer creds and only permit read-only actions unless
you're root.
In the future we'll also have a group that can do mutable actions.
On OpenBSD and FreeBSD, the permissions on the socket remain locked
down to 0600 from d6e9fb1df0 .
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-15 10:13:00 -08:00
Brad Fitzpatrick
a45665426b
cmd/tailscale/cli: tweak the status name column a bit
...
* make peers without DNS names show their hostnames as always one column, for cut/etc users
* remove trailing dot from shared peers' DNS names
2021-01-15 07:46:58 -08:00
Brad Fitzpatrick
3ac952d4e9
go.sum: update
2021-01-14 20:19:44 -08:00
Brad Fitzpatrick
a4b39022e0
wgengine/tsdns: fix MagicDNS lookups of shared nodes
...
Fixes tailscale/corp#1184
2021-01-14 14:49:32 -08:00
Brad Fitzpatrick
b00c0e5f60
go.sum: update
2021-01-14 14:49:32 -08:00
Brad Fitzpatrick
017dcd520f
tsweb: export VarzHandler
2021-01-14 11:49:44 -08:00
Brad Fitzpatrick
c1dabd9436
control/controlclient: let clients opt in to Sharer-vs-User split model
...
Updates tailscale/corp#1183
2021-01-13 15:03:15 -08:00
Brad Fitzpatrick
b987b2ab18
control/controlclient: treat node sharer as owner for display purposes
...
This make clients (macOS, Windows, tailscale status) show the node
sharer's profile rather than the node owner (which may be anonymized).
Updates #992
2021-01-12 12:15:35 -08:00
Brad Fitzpatrick
7acd3397d5
README: names of contributors, link to them instead
2021-01-12 08:24:32 -08:00
Brad Fitzpatrick and Brad Fitzpatrick
9d73f84a71
tailcfg, control/controlclient: make MapResponse.CollectServices an opt.Bool
...
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-12 08:08:00 -08:00
Brad Fitzpatrick
85e54af0d7
wgengine: on TCP connect fail/timeout, log some clues about why it failed
...
So users can see why things aren't working.
A start. More diagnostics coming.
Updates #1094
2021-01-11 22:09:09 -08:00
Brad Fitzpatrick
5eeaea9ef9
net/packet: add TCPFlag type and some more constants
...
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-11 22:09:09 -08:00
Brad Fitzpatrick
ad3fb6125d
net/flowtrack: add Tuple.String method
...
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-11 22:09:09 -08:00
Brad Fitzpatrick and Brad Fitzpatrick
d6e9fb1df0
all: adjust Unix permissions for those without umasks
...
Fixes tailscale/corp#1165
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-11 19:24:41 -08:00
Brad Fitzpatrick
6b08303b0f
Dockerfile: add big warning banner
...
Updates #504
2021-01-11 19:23:47 -08:00
Brad Fitzpatrick and Brad Fitzpatrick
676b5b7946
net/netcheck: improve the preferred DERP hysteresis
...
Users in Amsterdam (as one example) were flipping back and forth
between equidistant London & Frankfurt relays too much.
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-11 14:50:47 -08:00
Brad Fitzpatrick
f85769b1ed
wgengine/magicsock: drop netaddr.IPPort cache
...
netaddr.IP no longer allocates, so don't need a cache or all its associated
code/complexity.
This totally removes groupcache/lru from the deps.
Also go mod tidy.
2021-01-11 13:23:04 -08:00
Brad Fitzpatrick
a80446c026
Update depaware (removes lru from wgengine/filter)
2021-01-11 13:17:18 -08:00
Brad Fitzpatrick
4d15e954bd
net/flowtrack: add new package to specialize groupcache/lru key type
...
Reduces allocs.
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-11 13:08:03 -08:00
Brad Fitzpatrick
8b0112649a
wgengine/netstack: don't build netstack on 32-bit platforms
...
See google/gvisor#5241
2021-01-11 09:56:05 -08:00
Brad Fitzpatrick
5aa5db89d6
cmd/tailscaled, wgengine/netstack: add start of gvisor userspace netstack work
...
Not usefully functional yet (mostly a proof of concept), but getting
it submitted for some work @namansood is going to do atop this.
Updates #707
Updates #634
Updates #48
Updates #835
2021-01-11 09:31:14 -08:00
Brad Fitzpatrick
5efb0a8bca
cmd/tailscale: change formatting of "tailscale status"
...
* show DNS name over hostname, removing domain's common MagicDNS suffix.
only show hostname if there's no DNS name.
but still show shared devices' MagicDNS FQDN.
* remove nerdy low-level details by default: endpoints, DERP relay,
public key. They're available in JSON mode still for those who need
them.
* only show endpoint or DERP relay when it's active with the goal of
making debugging easier. (so it's easier for users to understand
what's happening) The asterisks are gone.
* remove Tx/Rx numbers by default for idle peers; only show them when
there's traffic.
* include peers' owner login names
* add CLI option to not show peers (matching --self=true, --peers= also
defaults to true)
* sort by DNS/host name, not public key
* reorder columns
2021-01-10 12:11:22 -08:00
Brad Fitzpatrick
c09d5a9e28
go.mod: bump wireguard-go to match our meta repo
2021-01-08 21:15:32 -08:00
Brad Fitzpatrick
b5b9866ba2
wgengine/magicsock: copy self DNS name to PeerStatus, re-fill OS
...
The OS used to be sent back from the server but that has since
been removed as being redundant.
2021-01-08 20:55:57 -08:00
Brad Fitzpatrick
a4cc31e7d8
go.sum: update
2021-01-08 20:55:03 -08:00
Brad Fitzpatrick and Brad Fitzpatrick
2f04f49376
control/controlclient: use lite map request handler to avoid aborting streams
...
Previously, any change to endpoints or hostinfo (or hostinfo's
netinfo) would result in the long-running map request HTTP stream
being torn down and restarted, losing all compression context along
with it.
This change makes us instead send a lite map request (OmitPeers: true,
Stream: false) that doesn't subscribe to anything, and then the
coordination server knows to not close other streams for that node
when it recives a lite request.
Fixes tailscale/corp#797
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-08 09:30:08 -08:00
Brad Fitzpatrick
b5129dadfd
ipn: fix buggy-looking format string in error log
...
On shutdown, logs showed:
wgengine status error: &errors.errorString{s:"engine closing; no status"}
2021-01-06 20:18:29 -08:00
Brad Fitzpatrick
66be052a70
net/dnscache: work on IPv6-only hosts (again)
...
This fixes the regression where we had stopped working on IPv6-only
hosts.
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-06 19:53:13 -08:00
Brad Fitzpatrick
560da4884f
tailcfg: add Node.Sharer field
...
Updates #992
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-05 13:53:00 -08:00
Brad Fitzpatrick and GitHub
312646c516
tailcfg: add omitempty to FilterRule.SrcBits ( #1089 )
...
It's not used by recent clients, so even more reason to omit it.
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-05 10:54:01 -08:00
Brad Fitzpatrick and GitHub
e8ae355bb8
ipn: delete domainsForProxying, require explicit DNS search domains (mapver 9) ( #1078 )
...
Previously the client had heuristics to calculate which DNS search domains
to set, based on the peers' names. Unfortunately that prevented us from
doing some things we wanted to do server-side related to node sharing.
So, bump MapRequest.Version to 9 to signal that the client only uses the
explicitly configured DNS search domains and doesn't augment it with its own
list.
Updates tailscale/corp#1026
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2021-01-05 10:37:15 -08:00
Brad Fitzpatrick
1ccf997699
version: new version for a new year
2021-01-04 08:58:05 -08:00
Brad Fitzpatrick
13b554fed9
version: bump for the last time in 2020
2020-12-30 12:07:25 -08:00
Brad Fitzpatrick
c2edb2865b
go.sum: update
2020-12-30 12:07:25 -08:00
Brad Fitzpatrick and GitHub
0d94fe5f69
wgengine/router: disable IPv6 on Linux if ip rule -6 fails ( #1074 )
...
Updates #562
Fixes #973
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2020-12-29 08:26:17 -08:00
Brad Fitzpatrick
80c94168ae
wgengine: finish updating isTrimmablePeer
...
I accidentally merged Dave's change with the XXXX DO NOT SUBMIT comment
in it.
2020-12-22 14:48:24 -08:00
Brad Fitzpatrick
d0baece5fa
go.mod: bump inet.af/netaddr to non-allocating version
2020-12-22 14:25:32 -08:00
Brad Fitzpatrick
ef15096a7d
control/controlclient, version/distro: detect NixOS explicitly
...
The fallthrough happened to work in controlclient already due to the
/etc/os-release PRETTY_NAME default, but make it explicit so it
doesn't look like an accident.
Also add it to version/distro, even though nothing needs it yet.
2020-12-21 21:03:04 -08:00
Brad Fitzpatrick
15c064f76f
wgengine/router/dns: remove unsafe endianness detection on Linux
2020-12-21 13:11:09 -08:00
Brad Fitzpatrick
f9659323df
wgengine/router/dns: fix typo in comment
2020-12-21 13:07:30 -08:00
Brad Fitzpatrick and Brad Fitzpatrick
053a1d1340
all: annotate log verbosity levels on most egregiously spammy log prints
...
Fixes #924
Fixes #282
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2020-12-21 12:59:33 -08:00