From cf74e9039e3fcd64b42e9ef75a1f2387d7b89187 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Mon, 6 Jul 2020 09:55:11 -0700 Subject: [PATCH] net/netcheck: add an informative payload in the netcheck UDP helper packets Per comment from @normanr: https://github.com/tailscale/tailscale/commit/0a5ab533c1b8853774587a471ab9c8a0949b1eac#r40401954 Updates #188 --- net/netcheck/netcheck.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/netcheck/netcheck.go b/net/netcheck/netcheck.go index 420a81a45..71fd39ee8 100644 --- a/net/netcheck/netcheck.go +++ b/net/netcheck/netcheck.go @@ -682,7 +682,7 @@ func (c *Client) GetReport(ctx context.Context, dm *tailcfg.DERPMap) (*Report, e // So do that for now. In the future we might want to classify networks // that do and don't require this separately. But for now help it. const documentationIP = "203.0.113.1" - rs.pc4Hair.WriteTo([]byte("sets up mapping"), &net.UDPAddr{IP: net.ParseIP(documentationIP), Port: 12345}) + rs.pc4Hair.WriteTo([]byte("tailscale netcheck; see https://github.com/tailscale/tailscale/issues/188"), &net.UDPAddr{IP: net.ParseIP(documentationIP), Port: 12345}) if f := c.GetSTUNConn4; f != nil { rs.pc4 = f()