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.
tailscale/net
Denton Gentry 5302e4be96 net/portmapper: only print PCP/PMP if VerboseLogs
Make UPnP, NAT-PMP, and PCP packet reception logs be [v1] so
they will never appear on stdout and instead only go to logtail.

```
$ tailscale netcheck
2021/10/15 22:50:31 portmap: Got PMP response; IP: w.x.y.z, epoch: 1012707
2021/10/15 22:50:31 portmap: Got PCP response: epoch: 1012707

Report:
        * UDP: true
        * IPv4: yes, w.x.y.z:1511
        * IPv6: no
        * MappingVariesByDestIP: true
        * HairPinning: false
        * PortMapping: NAT-PMP, PCP
        * Nearest DERP: San Francisco
        * DERP latency:
                - sfo: 5.9ms   (San Francisco)
                - sea: 24ms    (Seattle)
                - dfw: 45ms    (Dallas)
                - ord: 53.7ms  (Chicago)
                - nyc: 74.1ms  (New York City)
                - tok: 111.1ms (Tokyo)
                - lhr: 139.4ms (London)
                - syd: 152.7ms (Sydney)
                - fra: 153.1ms (Frankfurt)
                - sin: 182.1ms (Singapore)
                - sao: 190.1ms (S_o Paulo)
                - blr: 218.6ms (Bangalore)
```

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
..
dns net/dns: detect when resolvconf points to systemd-resolved. 3 years ago
dnscache net/{dnscache,interfaces}: use netaddr.IP.IsPrivate, delete copied code 3 years ago
dnsfallback cmd/cloner: mangle "go:generate" in cloner.go 3 years ago
flowtrack fix: typo spelling grammar 3 years ago
interfaces net/interfaces: assume the network's up on js/wasm 3 years ago
netcheck net/netcheck: implement netcheck for js/wasm clients 3 years ago
netknob all: disable TCP keep-alives on iOS/Android 3 years ago
netns all: disable TCP keep-alives on iOS/Android 3 years ago
netstat all: gofmt with Go 1.17 3 years ago
nettest net/nettest: make nettest.NewConn pass x/net/nettest.TestConn. 4 years ago
packet net/packet: use netaddr AppendTo methods 4 years ago
portmapper net/portmapper: only print PCP/PMP if VerboseLogs 3 years ago
socks5 net/socks5/tssocks: add a SOCKS5 dialer type, method-ifying code 3 years ago
speedtest all: fix spelling mistakes 3 years ago
stun all: gofmt with Go 1.17 3 years ago
tlsdial net/tlsdial: add forgotten test file for go mod tidy 3 years ago
tsaddr ipn/ipnlocal: for IPv6-only nodes, publish IPv6 MagicDNS records of peers 3 years ago
tshttpproxy all: gofmt with Go 1.17 3 years ago
tstun net/tstun: don't compile the code New constructor on js/wasm 3 years ago