tailscale/wgengine/magicsock
Brad Fitzpatrick c64bd587ae net/portmapper: add NAT-PMP client, move port mapping service probing
* move probing out of netcheck into new net/portmapper package
* use PCP ANNOUNCE op codes for PCP discovery, rather than causing
  short-lived (sub-second) side effects with a 1-second-expiring map +
  delete.
* track when we heard things from the router so we can be less wasteful
  in querying the router's port mapping services in the future
* use portmapper from magicsock to map a public port

Fixes #1298
Fixes #1080
Fixes #1001
Updates #864

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-02-23 09:07:38 -08:00
..
discopingpurpose_string.go wgengine/magicsock: make discoPingPurpose a stringer 2020-09-14 14:29:28 -07:00
legacy.go wgengine/magicsock: unify on netaddr types in addrSet 2021-02-12 09:52:43 -08:00
magicsock_test.go net/portmapper: add NAT-PMP client, move port mapping service probing 2021-02-23 09:07:38 -08:00
magicsock.go net/portmapper: add NAT-PMP client, move port mapping service probing 2021-02-23 09:07:38 -08:00