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
M. J. Fromberger 5ce3845a02
net/portmapper: avert a panic when a mapping is not available (#16686)
Ideally when we attempt to create a new port mapping, we should not return
without error when no mapping is available. We already log these cases as
unexpected, so this change is just to avoiding panicking dispatch on the
invalid result in those cases. We still separately need to fix the underlying
control flow.

Updates #16662

Change-Id: I51e8a116b922b49eda45e31cd27f6b89dd51abc8

Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
4 months ago
..
disabled_stubs.go net/portmapper: handle multiple UPnP discovery responses 2 years ago
igd_test.go net/portmapper: fix test flakes from logging after test done 8 months ago
legacy_upnp.go net/portmapper: support legacy "urn:dslforum-org" portmapping services 2 years ago
pcp.go net/portmapper: check returned epoch from PMP and PCP protocols 2 years ago
pcp_test.go all: update copyright and license headers 3 years ago
pcpresultcode_string.go all: update copyright and license headers 3 years ago
pmpresultcode_string.go all: update copyright and license headers 3 years ago
portmapper.go net/portmapper: avert a panic when a mapping is not available (#16686) 4 months ago
portmapper_test.go util/eventbus: add test helpers to simplify testing events (#16294) 6 months ago
select_test.go net/portmapper: fix test flakes from logging after test done 8 months ago
upnp.go net/portmapper: retry UPnP when we get an "Invalid Args" 9 months ago
upnp_test.go net/portmapper: fix test flakes from logging after test done 8 months ago