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 77ff705545 net/portmapper: never select port 0 in UPnP
Port 0 is interpreted, per the spec (but inconsistently among router
software) as requesting to map every single available port on the UPnP
gateway to the internal IP address. We'd previously avoided picking
ports below 1024 for one of the two UPnP methods (in #7457), and this
change moves that logic so that we avoid it in all cases.

Updates #8992

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I20d652c0cd47a24aef27f75c81f78ae53cc3c71e
1 year ago
..
disabled_stubs.go all: update copyright and license headers 2 years ago
igd_test.go all: avoid repeated default interface lookups 1 year ago
pcp.go all: update tools that manage copyright headers 2 years ago
pcp_test.go all: update copyright and license headers 2 years ago
pcpresultcode_string.go all: update copyright and license headers 2 years ago
pmpresultcode_string.go all: update copyright and license headers 2 years ago
portmapper.go all: avoid repeated default interface lookups 1 year ago
portmapper_test.go all: avoid repeated default interface lookups 1 year ago
upnp.go net/portmapper: never select port 0 in UPnP 1 year ago
upnp_test.go cmd/tailscale, cmd/tailscaled: move portmapper debugging into tailscale CLI 2 years ago