disco: move disco pcap helper to disco package

Updates tailscale/corp#13464

Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
David Anderson
2023-07-26 12:06:03 -07:00
committed by Dave Anderson
parent cde37f5307
commit 9a76deb4b0
4 changed files with 52 additions and 42 deletions

View File

@@ -2351,6 +2351,8 @@ type PeerChange struct {
// Mnemonic: 3.3.40 are numbers above the keys D, E, R, P.
const DerpMagicIP = "127.3.3.40"
var DerpMagicIPAddr = netip.MustParseAddr(DerpMagicIP)
// EarlyNoise is the early payload that's sent over Noise but before the HTTP/2
// handshake when connecting to the coordination server.
//