tailscale/net/portmapper
Josh Bleecher Snyder 1a629a4715 net/portmapper: mark fewer PMP probe failures as unexpected
There are lots of lines in the logs of the form:

portmapper: unexpected PMP probe response: {OpCode:128 ResultCode:3
SecondsSinceEpoch:NNN MappingValidSeconds:0 InternalPort:0
ExternalPort:0 PublicAddr:0.0.0.0}

ResultCode 3 here means a network failure, e.g. the NAT box itself has
not obtained a DHCP lease. This is not an indication that something
is wrong in the Tailscale client, so use different wording here
to reflect that. Keep logging, so that we can analyze and debug
the reasons that PMP probes fail.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2021-11-22 11:13:15 -08:00
..
disabled_stubs.go all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
igd_test.go net/portmapper: fix t.Log-after-test-done race in tests 2021-08-18 14:39:45 -07:00
pcp_test.go net/portmapper: add PCP integration test 2021-08-10 15:14:46 -07:00
pcp.go net/portmapper: actually test something in TestProbeIntegration 2021-08-09 19:49:02 -07:00
portmapper_test.go net/portmapper: add PCP integration test 2021-08-10 15:14:46 -07:00
portmapper.go net/portmapper: mark fewer PMP probe failures as unexpected 2021-11-22 11:13:15 -08:00
upnp_test.go all: update tests to use tstest.MemLogger 2021-09-07 20:06:15 -07:00
upnp.go net/netns: thread logf into control functions 2021-11-18 15:09:51 -08:00