go-ethereum/p2p
Felix Lange 817a3fb562
p2p/enode: avoid crashing for invalid IP (#21981)
The database panicked for invalid IPs. This is usually no problem
because all code paths leading to node DB access verify the IP, but it's
dangerous because improper validation can turn this panic into a DoS
vulnerability. The quick fix here is to just turn database accesses
using invalid IP into a noop. This isn't great, but I'm planning to
remove the node DB for discv5 long-term, so it should be fine to have
this quick fix for half a year.

Fixes #21849
2020-12-09 20:21:31 +01:00
..
discover p2p/discover: fix deadlock in discv5 message dispatch (#21858) 2020-11-25 22:16:36 +01:00
discv5
dnsdisc
enode p2p/enode: avoid crashing for invalid IP (#21981) 2020-12-09 20:21:31 +01:00
enr
nat all: simplify nested complexity and if blocks ending with a return statement (#21854) 2020-11-25 09:24:50 +01:00
netutil p2p/discover: implement v5.1 wire protocol (#21647) 2020-10-14 12:28:17 +02:00
nodestate p2p/nodestate: fix deadlock during shutdown of les server (#21927) 2020-11-30 18:58:47 +01:00
rlpx
simulations all: simplify nested complexity and if blocks ending with a return statement (#21854) 2020-11-25 09:24:50 +01:00
dial.go
dial_test.go
message.go
message_test.go
metrics.go
peer.go
peer_error.go
peer_test.go
protocol.go
server.go p2p: avoid spinning loop on out-of-handles (#21878) 2020-11-20 15:14:25 +01:00
server_test.go
transport.go
transport_test.go
util.go
util_test.go