Closed
Description
Each new transaction send using the MsgTxTy message is queued in the TxPool. An attacker can supply transactions at a higher rate than the time the victim node requires to evaluate each transaction. For example, in a 100 KByte/sec connection to a victim node the attacker can transmit approximately 1000 transactions per second, while verifying the transaction signature may cost more than 1 msec. This can lead to the accumulation of messages in the queue and the consumption of all available memory. Also the attack can be used to delay the processing of transaction from other peers.
Several fixes are possible, for example:
- Establish a maximum number of transactions that can be queued per client.
- Block the client if the number of transaction queued is above a predefined limit.
- Force node isolation by continued supply of MsgPeersTy messages
Metadata
Metadata
Assignees
Labels
No labels