go-ethereum/p2p
Felföldi Zsolt 92580d69d3 p2p, p2p/discover, p2p/discv5: implement UDP port sharing (#15200)
This commit affects p2p/discv5 "topic discovery" by running it on
the same UDP port where the old discovery works. This is realized
by giving an "unhandled" packet channel to the old v4 discovery
packet handler where all invalid packets are sent. These packets
are then processed by v5. v5 packets are always invalid when
interpreted by v4 and vice versa. This is ensured by adding one
to the first byte of the packet hash in v5 packets.

DiscoveryV5Bootnodes is also changed to point to new bootnodes
that are implementing the changed packet format with modified
hash. Existing and new v5 bootnodes are both running on different
ports ATM.
2018-01-22 13:38:34 +01:00
..
discover p2p, p2p/discover, p2p/discv5: implement UDP port sharing (#15200) 2018-01-22 13:38:34 +01:00
discv5 p2p, p2p/discover, p2p/discv5: implement UDP port sharing (#15200) 2018-01-22 13:38:34 +01:00
enr p2p/enr: initial implementation (#15585) 2017-12-29 21:18:51 +01:00
nat p2p/nat: delete port mapping before adding (#15222) 2017-10-06 13:39:47 +02:00
netutil cmd/geth: add --config file flag (#13875) 2017-04-12 17:27:23 +03:00
simulations p2p/simulations: fix gosimple nit (#15661) 2017-12-13 03:15:27 +01:00
dial_test.go p2p: add network simulation framework (#14982) 2017-09-25 10:08:07 +02:00
dial.go p2p, swarm/network/kademlia: use IsZero to check for zero time (#15603) 2017-12-04 11:07:10 +01:00
message_test.go all: fix go vet warnings 2016-04-15 11:17:27 +02:00
message.go p2p: add network simulation framework (#14982) 2017-09-25 10:08:07 +02:00
metrics.go eth, metrics, p2p: prepare metrics and net packets to eth/62 2015-08-21 10:30:57 +03:00
peer_error.go p2p, p2p/discover, p2p/nat: rework logging using context keys 2017-02-28 10:20:29 +01:00
peer_test.go p2p, p2p/discover, p2p/nat: rework logging using context keys 2017-02-28 10:20:29 +01:00
peer.go p2p/simulations: various stability fixes (#15198) 2017-12-01 12:49:04 +01:00
protocol.go eth, p2p, rpc/api: polish protocol info gathering 2015-10-28 12:44:15 +02:00
rlpx_test.go all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}() 2016-02-21 22:34:34 +00:00
rlpx.go p2p: snappy encoding for devp2p (version bump to 5) (#15106) 2017-09-26 16:54:49 +03:00
server_test.go p2p/simulations: various stability fixes (#15198) 2017-12-01 12:49:04 +01:00
server.go p2p, p2p/discover, p2p/discv5: implement UDP port sharing (#15200) 2018-01-22 13:38:34 +01:00