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 fa3639783c net/portmapper: check returned epoch from PMP and PCP protocols
If the epoch that we see during a Probe is less than the existing epoch,
it means that the gateway has either restarted or reset its
configuration, and an existing mapping is no longer valid. Reset any
saved mapping(s) if we detect this case so that a future
createOrGetMapping will not attempt to re-use it.

Updates #10597

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: Ie3cddaf625cb94a29885f7a1eeea25dbf6b97b47
2 years ago
..
disabled_stubs.go net/portmapper: handle multiple UPnP discovery responses 2 years ago
igd_test.go all: cleanup unused code, part 1 (#10661) 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: check returned epoch from PMP and PCP protocols 2 years ago
portmapper_test.go net/portmapper: add logs about obtained mapping(s) 2 years ago
select_test.go net/portmapper: be smarter about selecting a UPnP device 2 years ago
upnp.go net/portmapper: add logs about obtained mapping(s) 2 years ago
upnp_test.go net/portmapper: handle multiple UPnP discovery responses 2 years ago