aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/discv5
Commit message (Collapse)AuthorAgeFilesLines
* p2p/discover, p2p/discv5: use flexible comparison for IPsPéter Szilágyi2016-12-153-4/+3
|
* p2p/discv5: search and lookup improvementZsolt Felfoldi2016-12-082-64/+99
|
* p2p, p2p/discover, p2p/discv5: add IP network restriction featureFelix Lange2016-11-234-7/+13
| | | | | | The p2p packages can now be configured to restrict all communication to a certain subset of IP networks. This feature is meant to be used for private networks.
* p2p/discover, p2p/discv5: prevent relay of invalid IPs and low portsFelix Lange2016-11-233-21/+35
| | | | | | | | | | | | | | | | | | | | | The discovery DHT contains a number of hosts with LAN and loopback IPs. These get relayed because some implementations do not perform any checks on the IP. go-ethereum already prevented relay in most cases because it verifies that the host actually exists before adding it to the local table. But this verification causes other issues. We have received several reports where people's VPSs got shut down by hosting providers because sending packets to random LAN hosts is indistinguishable from a slow port scan. The new check prevents sending random packets to LAN by discarding LAN IPs sent by Internet hosts (and loopback IPs from LAN and Internet hosts). The new check also blacklists almost all currently registered special-purpose networks assigned by IANA to avoid inciting random responses from services in the LAN. As another precaution against abuse of the DHT, ports below 1024 are now considered invalid.
* p2p/discover, p2p/discv5: use netutil.IsTemporaryErrorFelix Lange2016-11-234-124/+1
|
* cmd, mobile, node, p2p: surface the discovery V5 bootnodesPéter Szilágyi2016-11-151-8/+0
|
* p2p/discv5: added new bootnodesZsolt Felfoldi2016-11-141-1/+2
|
* p2p/discv5: fixed bootnode connect issuesZsolt Felfoldi2016-11-144-67/+107
|
* discv5: fixed state machine lockup bugZsolt Felfoldi2016-11-111-0/+3
|
* all: update license informationFelix Lange2016-11-098-8/+8
|
* p2p/discv5: fix build with Go 1.5, delete package testimgFelix Lange2016-11-095-879/+18
|
* p2p/discv5: added new topic discovery packageZsolt Felfoldi2016-11-0925-0/+7886