Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | all: simplify switches (#17267) | Oleg Kovalov | 2018-07-30 | 2 | -7/+3 |
| | | | | | | * all: simplify switches * silly mistake | ||||
* | p2p/nat: delete port mapping before adding (#15222) | Darrel Herbst | 2017-10-06 | 1 | -0/+1 |
| | | | Fixes #1024 | ||||
* | p2p, p2p/discover, p2p/nat: rework logging using context keys | Felix Lange | 2017-02-28 | 1 | -5/+6 |
| | |||||
* | all: blidly swap out glog to our log15, logs need rework | Péter Szilágyi | 2017-02-23 | 1 | -7/+6 |
| | |||||
* | p2p: remove trailing newlines from log messages | Péter Szilágyi | 2017-02-23 | 1 | -5/+5 |
| | |||||
* | all: gofmt -w -s | Felix Lange | 2017-01-06 | 1 | -1/+1 |
| | |||||
* | p2p/nat: fix a bytes based net.IP comparison | Péter Szilágyi | 2016-12-15 | 1 | -2/+1 |
| | |||||
* | Merge pull request #2914 from fjl/node-coinhabit | Felix Lange | 2016-09-29 | 1 | -5/+1 |
|\ | | | | | cmd/utils, node: make datadir reusable for bzzd | ||||
| * | p2p/nat: delay auto discovery until first use | Felix Lange | 2016-09-16 | 1 | -5/+1 |
| | | | | | | | | | | | | | | | | | | Port mapper auto discovery used to run immediately after parsing the --nat flag, giving it a slight performance boost. But this is becoming inconvenient because we create node.Node for all geth operations including account management and bare chain interaction. Delay autodiscovery until the first use instead, which avoids any network interaction until the node is actually started. | ||||
* | | p2p/nat: fix parameter order for AddMapping | ken10100147 | 2016-09-28 | 1 | -2/+2 |
|/ | |||||
* | all: fix go vet warnings | Felix Lange | 2016-04-15 | 1 | -5/+5 |
| | |||||
* | p2p/nat: fix #2291, NAT discovery did't abort on failure | Péter Szilágyi | 2016-03-14 | 1 | -0/+1 |
| | |||||
* | p2p/nat: add docs for discover | Felix Lange | 2015-10-30 | 1 | -0/+3 |
| | |||||
* | Godeps: upgrade github.com/huin/goupnp to 90f71cb5 | Felix Lange | 2015-10-30 | 1 | -1/+6 |
| | |||||
* | p2p/nat: disable UPnP test on windows | Felix Lange | 2015-08-06 | 1 | -0/+5 |
| | |||||
* | all: fix license headers one more time | Felix Lange | 2015-07-24 | 5 | -5/+5 |
| | | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a. | ||||
* | all: update license headers to distiguish GPL/LGPL | Felix Lange | 2015-07-23 | 5 | -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 comments | Felix Lange | 2015-07-07 | 1 | -1/+1 |
| | |||||
* | all: update license information | Felix Lange | 2015-07-07 | 5 | -0/+80 |
| | |||||
* | p2p/nat: add timeout for UPnP SOAP requests | Felix Lange | 2015-06-05 | 1 | -0/+3 |
| | |||||
* | p2p/nat: bump timeout in TestAutoDiscRace | Felix Lange | 2015-05-28 | 1 | -1/+1 |
| | |||||
* | p2p/nat: tweak port mapping log messages and levels | Felix Lange | 2015-05-14 | 1 | -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 SSDP | Felix Lange | 2015-05-14 | 1 | -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 Interface | Felix Lange | 2015-05-14 | 2 | -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 logging | Felix Lange | 2015-05-07 | 1 | -3/+5 |
| | |||||
* | Updated logging | obscuren | 2015-04-07 | 1 | -7/+6 |
| | |||||
* | p2p/nat: switch to github.com/huin/goupnp | Felix Lange | 2015-02-17 | 1 | -3/+3 |
| | | | | My temporary fix was merged upstream. | ||||
* | p2p/nat: new package for port mapping stuff | Felix Lange | 2015-02-13 | 3 | -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. |