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
Andrew Dunham 5177fd2ccb net/portmapper: retry UPnP when we get an "Invalid Args"
We previously retried getting a UPnP mapping when the device returned
error code 725, "OnlyPermanentLeasesSupported". However, we've seen
devices in the wild also return 402, "Invalid Args", when given a lease
duration. Fall back to the no-duration mapping method in these cases.

Updates #15223

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I6a25007c9eeac0dac83750dd3ae9bfcc287c8fcf
9 months ago
..
disabled_stubs.go net/portmapper: handle multiple UPnP discovery responses 2 years ago
igd_test.go net/netns, net/dns/resolver, etc: make netmon required in most places 2 years 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: don't treat 0.0.0.0 as a valid IP 1 year ago
portmapper_test.go all: use Go 1.22 range-over-int 2 years ago
select_test.go net/portmapper: be smarter about selecting a UPnP device 2 years ago
upnp.go net/portmapper: retry UPnP when we get an "Invalid Args" 9 months ago
upnp_test.go net/portmapper: retry UPnP when we get an "Invalid Args" 9 months ago