p2p/nat: add test for UPnP auto discovery via SSDP
The test listens for multicast UDP packets on the default interface because I couldn't get it to work reliably on loopback without massive changes to goupnp. This means that the test might fail when there is a UPnP-enabled router attached on that interface. I checked that locally by looping the test and it passes reliably because the local SSDP server always responds faster.
Showing
p2p/nat/natupnp_test.go
0 → 100644
Please register or sign in to comment