aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/nat
Commit message (Collapse)AuthorAgeFilesLines
* p2p/nat: add docs for discoverFelix Lange2015-10-301-0/+3
|
* Godeps: upgrade github.com/huin/goupnp to 90f71cb5Felix Lange2015-10-301-1/+6
|
* p2p/nat: disable UPnP test on windowsFelix Lange2015-08-061-0/+5
|
* all: fix license headers one more timeFelix Lange2015-07-245-5/+5
| | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a.
* all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-235-20/+20
| | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library".
* all: add some godoc synopsis commentsFelix Lange2015-07-071-1/+1
|
* all: update license informationFelix Lange2015-07-075-0/+80
|
* p2p/nat: add timeout for UPnP SOAP requestsFelix Lange2015-06-051-0/+3
|
* p2p/nat: bump timeout in TestAutoDiscRaceFelix Lange2015-05-281-1/+1
|
* p2p/nat: tweak port mapping log messages and levelsFelix Lange2015-05-141-7/+6
| | | | | | People stil get confused about the messages. This commit changes the levels so that the only thing printed at the default level (info) is a successful mapping.
* p2p/nat: add test for UPnP auto discovery via SSDPFelix Lange2015-05-141-0/+223
| | | | | | | | | 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.
* p2p/nat: fix concurrent access to autodisc InterfaceFelix Lange2015-05-142-17/+63
| | | | | | | | | | | | Concurrent calls to Interface methods on autodisc could return a "not discovered" error if the discovery did not finish before the call. autodisc.wait expected the done channel to carry the found Interface but it was closed instead. The fix is to use sync.Once for now, which is easier to get right. And there is a test. Finally. This will have to change again when we introduce re-discovery.
* p2p/nat: less confusing error loggingFelix Lange2015-05-071-3/+5
|
* Updated loggingobscuren2015-04-071-7/+6
|
* p2p/nat: switch to github.com/huin/goupnpFelix Lange2015-02-171-3/+3
| | | | My temporary fix was merged upstream.
* p2p/nat: new package for port mapping stuffFelix Lange2015-02-133-0/+499
I have verified that UPnP and NAT-PMP work against an older version of the MiniUPnP daemon running on pfSense. This code is kind of hard to test automatically.