tailscale/net/portmapper
David Anderson 6f332b4cf1 net/portmapper: ignore IGD SSDP responses from !defaultgw
Now that we multicast the SSDP query, we can get IGD offers from
devices other than the current device's default gateway. We don't want
to accidentally bind ourselves to those.

Updates #3197

Signed-off-by: David Anderson <danderson@tailscale.com>
(cherry picked from commit 060ba86baa)
2021-10-29 13:49:48 -07:00
..
disabled_stubs.go all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
igd_test.go net/portmapper: fix t.Log-after-test-done race in tests 2021-08-18 14:39:45 -07:00
pcp_test.go net/portmapper: add PCP integration test 2021-08-10 15:14:46 -07:00
pcp.go net/portmapper: actually test something in TestProbeIntegration 2021-08-09 19:49:02 -07:00
portmapper_test.go net/portmapper: add PCP integration test 2021-08-10 15:14:46 -07:00
portmapper.go net/portmapper: ignore IGD SSDP responses from !defaultgw 2021-10-29 13:49:48 -07:00
upnp_test.go all: update tests to use tstest.MemLogger 2021-09-07 20:06:15 -07:00
upnp.go net/portmapper: log upnp information 2021-08-10 22:45:00 -07:00