sigp / lighthouse

Ethereum consensus client in Rust
https://lighthouse.sigmaprime.io/
Apache License 2.0
2.81k stars 696 forks source link

Prevent connections from peers with a banned ip history #6008

Closed AgeManning closed 4 days ago

AgeManning commented 4 days ago

This synchronizes the logic we have between what peers we allow to connect to us and what think are connecting to us.

Specifically, peers that have a history of connecting to us via an IP address that is currently banned (i.e has a number of peers currently banned associated with this IP) we prevent their connection, even if they are connecting on a new IP address.

This should resolve some potential error logs also.

jimmygchen commented 4 days ago

@mergify queue

mergify[bot] commented 4 days ago

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at *9b093c8459a1d8e8cc12acdb5a048503d8220bd5*