Closed jrhea closed 4 years ago
Thank you @jrhea!
@agemanning fixed this here https://github.com/sigp/lighthouse/pull/1373 and the fix has been deployed to lighthouse-attack-0
. Thank you :)
This issue qualifies for an honorable mention with a reward of $1k USD along with your name on the (soon to be) attacknet trophy section 🏆
I think the "Jonny Prevention Patch" 😂 that @AgeManning made is in the discv5 repo:
Description
A network agent, capable of creating a large number of discv5 sessions, crashed the discovery service on several lighthouse nodes.
Attack scenario
A large number of simultaneous discv5 sessions established with a lighthouse node will fill up the session cache causing sessions to expire quickly. This can lead to a scenario where sessions and requests are no longer in sync and the handling of a delayed response can trigger an exception.
Impact
The attack left 3 of 4 nodes without the ability to discover or be discovered by new peers.
Details:
The following log is from the code that triggered the fault. You can see that at
Jul 20 11:36:50.903 CDT
it is connected to one of the nodes, then it loses the connection a few seconds later. This corresponds to the outage on the attacknet node.