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
M. J. Fromberger 55698c8511
ipn/localapi: plumb an event bus through the localapi.Handler (#16892)
Some of the operations of the local API need an event bus to correctly
instantiate other components (notably including the portmapper).

This commit adds that, and as the parameter list is starting to get a bit long
and hard to read, I took the opportunity to move the arguments to a config
type. Only a few call sites needed to be updated and this API is not intended
for general use, so I did not bother to stage the change.

Updates #15160
Updates #16842

Change-Id: I7b057d71161bd859f5acb96e2f878a34c85be0ef
Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
4 months ago
..
disabled_stubs.go net/portmapper: handle multiple UPnP discovery responses 2 years ago
igd_test.go ipn,net,tsnet,wgengine: make an eventbus mandatory where it is used (#16594) 4 months ago
legacy_upnp.go net/portmapper: support legacy "urn:dslforum-org" portmapping services 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 ipn/localapi: plumb an event bus through the localapi.Handler (#16892) 4 months ago
portmapper_test.go util/eventbus: add test helpers to simplify testing events (#16294) 5 months ago
select_test.go net/portmapper: fix test flakes from logging after test done 7 months ago
upnp.go net/portmapper: retry UPnP when we get an "Invalid Args" 9 months ago
upnp_test.go net/portmapper: fix test flakes from logging after test done 7 months ago