- Nov 22, 2016
-
-
Felix Lange authored
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.
-
Felix Lange authored
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.
-
Felix Lange authored
-
Felix Lange authored
The new package contains three things for now: - IP network list parsing and matching - The WSAEMSGSIZE workaround, which is duplicated in p2p/discover and p2p/discv5.
-
- Nov 14, 2016
-
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Zsolt Felfoldi authored
-
Zsolt Felfoldi authored
-
- Nov 11, 2016
-
-
Zsolt Felfoldi authored
-
- Nov 09, 2016
-
-
Felix Lange authored
-
Felix Lange authored
-
Zsolt Felfoldi authored
-
- Sep 28, 2016
-
-
ken10100147 authored
-
- Sep 16, 2016
-
-
Felix Lange authored
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.
-
- Jul 14, 2016
-
-
Firescar96 authored
-
- Jul 12, 2016
-
-
villesundell authored
-
- May 18, 2016
-
-
Felix Lange authored
This silences a go vet message about copying p2p.Server in package node.
-
- May 02, 2016
-
-
Felix Lange authored
-
Felix Lange authored
-
- Apr 15, 2016
-
-
Felix Lange authored
-
- Apr 03, 2016
-
-
Felix Lange authored
With the Ethereum Homestead fork is now behind us, we can assume that everyone runs an EIP-8 capable client.
-
- Mar 14, 2016
-
-
Péter Szilágyi authored
-
- Feb 24, 2016
-
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
- Feb 21, 2016
-
-
Ricardo Catalinas Jiménez authored
As we aren't really using the standarized SHA-3
-
- Feb 19, 2016
-
-
Felix Lange authored
-
Felix Lange authored
-
- Jan 22, 2016
-
-
Felix Lange authored
On Windows, UDPConn.ReadFrom returns an error for packets larger than the receive buffer. The error is not marked temporary, causing our loop to exit when the first oversized packet arrived. The fix is to treat this particular error as temporary. Fixes: #1579, #2087 Updates: #2082
-
- Dec 17, 2015
-
-
Felix Lange authored
The test expected the timeout to fire after a matcher for the response was added, but the timeout is random and fired sooner sometimes.
-
Felix Lange authored
This change makes it possible to add peers without providing their IP address. The endpoint of the target node is resolved using the discovery protocol.
-
Felix Lange authored
This change simplifies the dial scheduling logic because it no longer needs to track whether the discovery table has been bootstrapped.
-
Felix Lange authored
-
- Dec 03, 2015
-
-
Péter Szilágyi authored
-
- Nov 30, 2015
-
-
Gustav Simonsson authored
thanks to Felix Lange (fjl) for help with design & impl
-
- Nov 27, 2015
-
-
Péter Szilágyi authored
-
- Oct 29, 2015
-
-
Felix Lange authored
-
Felix Lange authored
-
- Oct 28, 2015
-
-
Péter Szilágyi authored
-
- Sep 30, 2015
-
-
Felix Lange authored
The strict matching can get in the way of protocol upgrades.
-
Felix Lange authored
-