tailscale/net/portmapper
Andrew Dunham 9ee173c256 net/portmapper: fall back to permanent UPnP leases if necessary
Some routers don't support lease times for UPnP portmapping; let's fall
back to adding a permanent lease in these cases. Additionally, add a
proper end-to-end test case for the UPnP portmapping behaviour.

Updates #9343

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I17dec600b0595a5bfc9b4d530aff6ee3109a8b12
2023-09-12 11:16:45 -04:00
..
disabled_stubs.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
igd_test.go net/portmapper: fall back to permanent UPnP leases if necessary 2023-09-12 11:16:45 -04:00
pcp_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
pcp.go all: update tools that manage copyright headers 2023-01-27 15:36:29 -08:00
pcpresultcode_string.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
pmpresultcode_string.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
portmapper_test.go control/controlknobs, all: add plumbed Knobs type, not global variables 2023-09-11 12:44:03 -07:00
portmapper.go control/controlknobs, all: add plumbed Knobs type, not global variables 2023-09-11 12:44:03 -07:00
upnp_test.go net/portmapper: fall back to permanent UPnP leases if necessary 2023-09-12 11:16:45 -04:00
upnp.go net/portmapper: fall back to permanent UPnP leases if necessary 2023-09-12 11:16:45 -04:00