David Anderson and Dave Anderson
7e6a1ef4f1
tailcfg: use key.NodePublic in wire protocol types.
...
Updates #3206 .
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-11-02 09:11:43 -07:00
David Anderson and Dave Anderson
7e8d5ed6f3
ipn: use key.NodePublic instead of tailcfg.NodeKey
...
Updates #3206
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-11-01 20:32:10 -07:00
David Anderson and Dave Anderson
c17250cee2
ipn/ipnstate: use key.NodePublic instead of tailcfg.NodeKey.
...
Updates #3206
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-11-01 20:32:10 -07:00
David Anderson and Dave Anderson
c3d7115e63
wgengine: use key.NodePublic instead of tailcfg.NodeKey.
...
Updates #3206
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-11-01 18:28:45 -07:00
David Anderson and Dave Anderson
72ace0acba
wgengine/magicsock: use key.NodePublic instead of tailcfg.NodeKey.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-11-01 18:03:48 -07:00
David Anderson
d6e7cec6a7
types/netmap: use key.NodePublic instead of tailcfg.NodeKey.
...
Update #3206
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-11-01 17:07:40 -07:00
David Anderson
8d14bc32d1
tstest/integration: use key.NodePublic instead of tailcfg.NodeKey.
...
Updates #3206
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-29 17:49:16 -07:00
David Anderson
84c3a09a8d
types/key: export constants for key size, not a method.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-29 17:39:04 -07:00
David Anderson
6422789ea0
disco: use key.NodePublic instead of tailcfg.NodeKey.
...
Updates #3206
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-29 17:39:04 -07:00
David Anderson
0fcc88873b
tailcfg: remove NodeKeyFromNodePublic.
...
Updates #3206
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-29 16:35:32 -07:00
David Anderson
c0ae1d2563
tailcfg: update go generate, which apparently normalizes type aliases.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-29 16:24:38 -07:00
David Anderson
418adae379
various: use NodePublic.AsNodeKey() instead of tailcfg.NodeKeyFromNodePublic()
...
Updates #3206
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-29 16:19:27 -07:00
David Anderson
ff16e58d23
tailcfg: move NodeKey type to types/key.
...
This leaves behind a type alias and associated constructor, to allow
for gradual switchover.
Updates #3206 .
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-29 16:04:45 -07:00
David Anderson
15d329b4fa
tailcfg: add marshaling round-tripping test.
...
Temporary until #3206 goes away, but having changed the marshal/unmarshal
implementation I got nervous about the new one doing the correct thing.
Thankfully, the test says it does.
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-29 15:21:41 -07:00
David Anderson
27e83402a8
cmd/tailscaled: fix depaware.
2021-10-29 15:07:13 -07:00
David Anderson
b43362852c
types/key: delete legacy undifferentiated key types.
...
Updates #3206
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-29 15:01:12 -07:00
David Anderson
eeb97fd89f
various: remove remaining uses of key.NewPrivate.
...
Updates #3206
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-29 15:01:12 -07:00
David Anderson
ccd36cb5b1
wgengine: remove use of legacy key parsing helper.
...
Updates #3206
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-29 14:57:32 -07:00
David Anderson
743293d473
types/key: remove node key AsPublic/AsPrivate compat shims.
...
Updates #3206 .
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-29 14:48:36 -07:00
David Anderson
2486d7cb9b
tailcfg: remove use of legacy key parsing helper.
...
Updates #3206 .
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-29 14:48:07 -07:00
David Anderson
ef241f782e
wgengine/magicsock: remove uses of tailcfg.DiscoKey.
...
Updates #3206
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-29 14:31:44 -07:00
David Anderson
073a3ec416
types/key: correct ShortString representation of DiscoPublic.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-29 14:31:44 -07:00
David Anderson
06dccea416
types/key: fix license header on disco files.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-29 13:45:49 -07:00
David Anderson
05cc2f510b
types/key: new types for disco keys.
...
Needed for #3206 to remove final uses of key.{Public,Private}.
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-29 13:44:02 -07:00
David Anderson
55b6753c11
wgengine/magicsock: remove use of key.{Public,Private}.
...
Updates #3206
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-29 13:20:13 -07:00
David Anderson and Dave Anderson
c1d009b9e9
ipn/ipnstate: use key.NodePublic instead of the generic key.Public.
...
Updates #3206 .
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-29 10:00:59 -07:00
David Anderson
ebae0d95d0
Revert "Revert "tailcfg: remove reference to types/key.Public.""
...
Updates #3206
This reverts commit ef14663934 .
2021-10-29 09:38:44 -07:00
David Anderson
ef14663934
Revert "tailcfg: remove reference to types/key.Public."
...
Breaks corp unit tests.
Updates #3206
This reverts commit 94f6257fde .
2021-10-28 19:00:29 -07:00
David Anderson
94f6257fde
tailcfg: remove reference to types/key.Public.
...
Updates #3206
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-28 16:16:38 -07:00
David Anderson
1f06f77dcb
derp: remove package shadowing of types/key.
...
Updates #3206
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-28 16:13:28 -07:00
David Anderson
37c150aee1
derp: use new node key type.
...
Update #3206
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-28 16:02:11 -07:00
David Anderson
15376f975b
types/wgkey: delete, no longer used.
...
Updates #3206
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-28 14:53:38 -07:00
David Anderson
c41fe182f0
cmd/tailscaled: update depaware.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-28 14:28:59 -07:00
David Anderson
4d38194c21
control/controlclient: stop using wgkey.
...
Updates #3206
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-28 14:22:51 -07:00
David Anderson
e03fda7ae6
wgengine/magicsock: remove test uses of wgkey.
...
Updates #3206
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-28 14:17:25 -07:00
David Anderson
c9bf773312
wgengine/magicsock: replace use of wgkey with new node key type.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-28 11:21:52 -07:00
David Anderson
6e5175373e
types/netmap: use new node key type.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-28 10:44:34 -07:00
David Anderson
96ad68c5d6
ipn: remove mention of wgkey in comment.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-28 10:40:44 -07:00
David Anderson
bab2d92c42
tailcfg: remove use of wgkey.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-28 10:39:56 -07:00
David Anderson
3164c7410e
wgengine/wgcfg: remove unused helper function.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-28 10:38:13 -07:00
David Anderson
0c546a28ba
types/persist: use new node key type.
...
Updates #3206
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-28 10:29:43 -07:00
David Anderson and Dave Anderson
a9c78910bd
wgengine/wgcfg: convert to use new node key type.
...
Updates #3206
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-28 09:39:23 -07:00
David Anderson and Dave Anderson
a47158e14d
cmd/derper: use new node key type.
...
Updates #3206
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-28 09:39:23 -07:00
David Anderson and Dave Anderson
bc89a796ec
types/key: add a dedicated type for node keys.
...
Complete with converters to all the other types that represent a
node key today, so the new type can gradually subsume old ones.
Updates #3206
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-28 09:16:39 -07:00
David Anderson and Dave Anderson
060ba86baa
net/portmapper: ignore IGD SSDP responses from !defaultgw
...
Now that we multicast the SSDP query, we can get IGD offers from
devices other than the current device's default gateway. We don't want
to accidentally bind ourselves to those.
Updates #3197
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-27 15:34:27 -07:00
David Anderson and Dave Anderson
4a65b07e34
net/portmapper: also send UPnP SSDP query to the SSDP multicast address.
...
Fixes #3197
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-27 15:02:03 -07:00
a320d70614
net/dns: fall back to copy+delete/truncate if moving to/from /etc/resolv.conf fails.
...
In some containers, /etc/resolv.conf is a bind-mount from outside the container.
This prevents renaming to or from /etc/resolv.conf, because it's on a different
filesystem from linux's perspective. It also prevents removing /etc/resolv.conf,
because doing so would break the bind-mount.
If we find ourselves within this environment, fall back to using copy+delete when
renaming to /etc/resolv.conf, and copy+truncate when renaming from /etc/resolv.conf.
Fixes #3000
Co-authored-by: Denton Gentry <dgentry@tailscale.com >
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-26 09:03:37 -07:00
David Anderson and Dave Anderson
04d24d3a38
net/dns: move directManager function below directManager's definition.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-26 09:03:37 -07:00
David Anderson and Dave Anderson
422ea4980f
net/dns: remove a tiny wrapper function that isn't contributing anything.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-26 09:03:37 -07:00
David Anderson
c60806b557
scripts/installer.sh: use .asc suffix for armored debian gpg key URL.
...
Fixes #2512
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-20 18:58:50 -07:00
8e3b8dbb50
scripts/installer.sh: Correct support for Oracle Linux.
...
Co-Authored-By: Jonathan Hult <jhult@mythics.com >
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-20 12:47:38 -07:00
David Anderson and Dave Anderson
1b4e007425
scripts/installer.sh: use expr for regex matches.
...
=~ doesn't work in posix shell, only in bash, and we don't use bash.
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-19 19:33:52 -07:00
David Anderson and Dave Anderson
7ce9c7ce84
scripts/installer.sh: use the appropriate apt key wrangling for the distro.
...
Updates #1937
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-19 19:15:07 -07:00
David Anderson and Dave Anderson
118fe105f5
scripts/installer.sh: add a few more supported distro versions.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-19 19:15:07 -07:00
David Anderson and Dave Anderson
b956139b0c
wgengine/magicsock: track IP<>node mappings without relying on discokeys.
...
Updates #3088 .
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-18 14:58:21 -07:00
David Anderson
e7eb46bced
wgengine/magicsock: add an explicit else branch to peerMap update.
...
Clarifies that the replace+delete of peerinfo data is only when peerInfo
already exists.
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-18 13:05:52 -07:00
David Anderson
1c56643136
disco: amplify comment that disco ping's NodeKey shouldn't be trusted by itself.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-18 13:05:52 -07:00
David Anderson and Dave Anderson
2aa5df7ac1
wgengine/magicsock: document and enforce that peerInfo.ep is non-nil.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-18 10:49:24 -07:00
David Anderson and Dave Anderson
521b44e653
wgengine/magicsock: move discoKey fields to the mutex-protected section.
...
Fixes #3106
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-18 10:49:24 -07:00
David Anderson and Dave Anderson
830f641c6b
wgengine/magicsock: update discokeys on netmap change.
...
Fixes #3008 .
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-10-06 14:52:47 -07:00
David Anderson and Dave Anderson
1eabb5b2d9
ipn: don't log IPN messages that may contain an authkey.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-09-22 20:32:49 -07:00
David Anderson and Dave Anderson
562622a32c
.github: add dependabot config to update go.mod and github actions.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-09-22 15:35:42 -07:00
David Anderson and Dave Anderson
4cf63b8df0
net/dnsfallback: update static map for new derp11.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-09-22 15:35:42 -07:00
David Anderson
18086c4cb7
go.mod: bump github.com/klauspost/compress to 1.13.6
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-09-22 15:11:25 -07:00
Dave Anderson and Dave Anderson
478775de6a
github: add code security scanning
2021-09-21 15:46:39 -07:00
David Anderson
efe8020dfa
wgengine/magicsock: fix race condition in tests.
...
AFAICT this was always present, the log read mid-execution was never safe.
But it seems like the recent magicsock refactoring made the race much
more likely.
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-09-05 17:42:33 -07:00
David Anderson and Dave Anderson
69c897a763
net/dnsfallback: run go generate to pick up new derp9s.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-09-05 00:00:16 -07:00
David Anderson and Dave Anderson
bb6fdfb243
net/dns: fix the build on freebsd (missing default case in switch)
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-09-05 00:00:16 -07:00
David Anderson and Dave Anderson
b3b1c06b3a
net/dns: only restart systemd-resolved if we changed /etc/resolv.conf.
...
Reported on IRC: in an edge case, you can end up with a directManager DNS
manager and --accept-dns=false, in which case we should do nothing, but
actually end up restarting resolved whenever the netmap changes, even though
the user told us to not manage DNS.
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-09-05 00:00:16 -07:00
David Anderson
10547d989d
net/dns: exhaustively test DNS selection paths for linux.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-09-04 23:40:48 -07:00
David Anderson
c071bcda33
net/dns: relax systemd-resolved detection.
...
Reported on IRC: a resolv.conf that contained two entries for
"nameserver 127.0.0.53", which defeated our "is resolved actually
in charge" check. Relax that check to allow any number of nameservers,
as long as they're all 127.0.0.53.
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-09-04 22:32:28 -07:00
Dave Anderson and GitHub
980acc38ba
types/key: add a special key with custom serialization for control private keys ( #2792 )
...
* Revert "Revert "types/key: add MachinePrivate and MachinePublic.""
This reverts commit 61c3b98a24 .
Signed-off-by: David Anderson <danderson@tailscale.com >
* types/key: add ControlPrivate, with custom serialization.
ControlPrivate is just a MachinePrivate that serializes differently
in JSON, to be compatible with how the Tailscale control plane
historically serialized its private key.
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-09-03 13:17:46 -07:00
David Anderson
61c3b98a24
Revert "types/key: add MachinePrivate and MachinePublic."
...
Broke the tailscale control plane due to surprise different serialization.
This reverts commit 4fdb88efe1 .
2021-09-03 11:34:34 -07:00
David Anderson and Dave Anderson
4fdb88efe1
types/key: add MachinePrivate and MachinePublic.
...
Plumb throughout the codebase as a replacement for the mixed use of
tailcfg.MachineKey and wgkey.Private/Public.
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-09-03 10:07:15 -07:00
David Anderson
4ce091cbd8
version: use go from the current toolchain to compile in tests.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-09-02 20:11:20 -07:00
David Anderson and Dave Anderson
159d88aae7
go.mod: tidy.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-09-02 14:26:27 -07:00
David Anderson
b96159e820
go.mod: update github.com/ulikunitz/xz for https://github.com/advisories/GHSA-25xm-hr59-7c27
...
Our code is not vulnerable to the issue in question: it only happens in the decompression
path for untrusted inputs, and we only use xz as part of mkpkg, which is write-only
and operates on trusted build system outputs to construct deb and rpm packages.
Still, it's nice to keep the dependabot dashboard clean.
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-09-02 14:02:57 -07:00
David Anderson and Dave Anderson
daf54d1253
control/controlclient: remove TS_DEBUG_USE_DISCO=only.
...
It was useful early in development when disco clients were the
exception and tailscale logs were noisier than today, but now
non-disco is the exception.
Updates #2752
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-09-01 18:11:32 -07:00
David Anderson and Dave Anderson
39748e9562
net/dns/resolver: authoritatively return NXDOMAIN for reverse zones we own.
...
Fixes #2774
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-09-01 18:11:32 -07:00
David Anderson and Dave Anderson
954064bdfe
wgengine/wgcfg/nmcfg: don't configure peers who can't DERP or disco.
...
Fixes #2770
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-09-01 18:11:32 -07:00
David Anderson and Dave Anderson
f90ac11bd8
wgengine: remove unnecessary magicConnStarted channel.
...
Having removed magicconn.Start, there's no need to synchronize startup
of other things to it any more.
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-09-01 18:11:32 -07:00
David Anderson and Dave Anderson
bb10443edf
wgengine/wgcfg: use just the hexlified node key as the WireGuard endpoint.
...
The node key is all magicsock needs to find the endpoint that WireGuard
needs.
Updates #2752
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-09-01 15:13:21 -07:00
David Anderson and Dave Anderson
d00341360f
wgengine/magicsock: remove unused debug knob.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-09-01 15:13:21 -07:00
David Anderson and Dave Anderson
dfd978f0f2
wgengine/magicsock: use NodeKey, not DiscoKey, as the trigger for lazy reconfig.
...
Updates #2752
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-09-01 15:13:21 -07:00
David Anderson and Dave Anderson
4c27e2fa22
wgengine/magicsock: remove Start method from Conn.
...
Over time, other magicsock refactors have made Start effectively a
no-op, except that some other functions choose to panic if called
before Start.
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-09-01 15:13:21 -07:00
David Anderson and Dave Anderson
1a899344bd
wgengine/magicsock: don't store tailcfg.Nodes alongside endpoints.
...
Updates #2752
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-09-01 15:13:21 -07:00
David Anderson and Dave Anderson
b2181608b5
wgengine/magicsock: eagerly create endpoints in SetNetworkMap.
...
Updates #2752
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-09-01 15:13:21 -07:00
David Anderson
44d71d1e42
wgengine/magicsock: fix race in test shutdown, again.
...
We were returning an error almost, but not quite like errConnClosed in
a single codepath, which could still trip the panic on reconfig in the
test logic.
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-08-30 21:26:38 -07:00
David Anderson
f09ede9243
wgengine/magicsock: don't configure eager WireGuard handshaking in tests.
...
Our prod code doesn't eagerly handshake, because our disco layer enables
on-demand handshaking. Configuring both peers to eagerly handshake leads
to WireGuard handshake races that make TestTwoDevicePing flaky.
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-08-30 17:28:12 -07:00
David Anderson and Dave Anderson
86d1c4eceb
wgengine/magicsock: ignore close races even harder.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-08-30 17:09:45 -07:00
David Anderson and Dave Anderson
8bacfe6a37
wgengine/magicsock: remove unused sendLogLimit limiter.
...
Magicsock these days gets its logs limited by the global log limiter.
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-08-30 17:09:45 -07:00
David Anderson and Dave Anderson
e151b74f93
wgengine/magicsock: remove opts.SimulatedNetwork.
...
It only existed to override one test-only behavior with a
different test-only behavior, in both cases working around
an annoying feature of our CI environments. Instead, handle
that weirdness entirely in the test code, with a tweaked
TestOnlyPacketListener that gets injected.
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-08-30 17:09:45 -07:00
David Anderson and Dave Anderson
58c1f7d51a
wgengine/magicsock: rename opts.PacketListener to TestOnlyPacketListener.
...
The docstring said it was meant for use in tests, but it's specifically a
special codepath that is _only_ used in tests, so make the claim stronger.
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-08-30 17:09:45 -07:00
David Anderson and Dave Anderson
8049063d35
wgengine/magicsock: rename discoEndpoint to just endpoint.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-08-30 17:09:45 -07:00
David Anderson and Dave Anderson
f2d949e2db
wgengine/magicsock: fold findEndpoint into its only remaining caller.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-08-30 17:09:45 -07:00
David Anderson and Dave Anderson
fe2f89deab
wgengine/magicsock: fix rare shutdown race in test.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-08-30 14:33:07 -07:00
David Anderson and Dave Anderson
97693f2e42
wgengine/magicsock: delete legacy AddrSet endpoints.
...
Instead of using the legacy codepath, teach discoEndpoint to handle
peers that have a home DERP, but no disco key. We can still communicate
with them, but only over DERP.
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-08-30 14:33:07 -07:00
David Anderson and Dave Anderson
61c62f48d9
wgengine/bench: disable unused benchmark that relies on legacy magicsock.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-08-30 14:33:07 -07:00
David Anderson and Dave Anderson
54bc3b7d97
util/deephash: remove soon to be deleted field from wgcfg.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-08-30 14:33:07 -07:00
David Anderson and Dave Anderson
923c98cd8f
types/wgkey: add TODO for a future API change.
...
Signed-off-by: David Anderson <danderson@tailscale.com >
2021-08-30 14:33:07 -07:00