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 16ef88754d net/portmapper: don't return unspecified/local external IPs
We were previously not checking that the external IP that we got back
from a UPnP portmap was a valid endpoint; add minimal validation that
this endpoint is something that is routeable by another host.

Updates tailscale/corp#23538

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: Id9649e7683394aced326d5348f4caa24d0efd532
2 months ago
..
disabled_stubs.go net/portmapper: handle multiple UPnP discovery responses 11 months ago
igd_test.go net/netns, net/dns/resolver, etc: make netmon required in most places 7 months ago
legacy_upnp.go net/portmapper: support legacy "urn:dslforum-org" portmapping services 10 months ago
pcp.go net/portmapper: check returned epoch from PMP and PCP protocols 11 months 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 net/portmapper: add envknob to disable portmapper in localhost integration tests 7 months ago
portmapper_test.go all: use Go 1.22 range-over-int 7 months ago
select_test.go net/portmapper: be smarter about selecting a UPnP device 12 months ago
upnp.go net/portmapper: don't return unspecified/local external IPs 2 months ago
upnp_test.go net/portmapper: don't return unspecified/local external IPs 2 months ago