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/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>
3 years ago
..
disabled_stubs.go all: gofmt with Go 1.17 3 years ago
igd_test.go net/portmapper: fix t.Log-after-test-done race in tests 3 years ago
pcp.go net/portmapper: actually test something in TestProbeIntegration 3 years ago
pcp_test.go net/portmapper: add PCP integration test 3 years ago
portmapper.go net/portmapper: mark fewer PMP probe failures as unexpected 3 years ago
portmapper_test.go net/portmapper: add PCP integration test 3 years ago
upnp.go net/netns: thread logf into control functions 3 years ago
upnp_test.go all: update tests to use tstest.MemLogger 3 years ago