You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Nervos CKB P2P DoS Attacks
Critical severity
GitHub Reviewed
Published
Jun 5, 2020
in
nervosnetwork/ckb
•
Updated Feb 2, 2024
The P2P protocols lack of rate limit. For example, in relay protocol, when a node receives a broadcasted tx_hashes, it will mark it in memory to avoid duplicated requests. code → .
It is easy to establish a DoS attach by generating random tx hashes.
Impact
It affects all nodes connected to the P2P network.
Workarounds
Apply rate limit on the data sent to CKB P2P port.
The P2P protocols lack of rate limit. For example, in relay protocol, when a node receives a broadcasted
tx_hashes
, it will mark it in memory to avoid duplicated requests. code → .It is easy to establish a DoS attach by generating random tx hashes.
Impact
It affects all nodes connected to the P2P network.
Workarounds
Apply rate limit on the data sent to CKB P2P port.
References