network/tx: Ban peers with tx that fail to decode (#5002)
A malicious peer can submit random bytes on transaction protocol.
In this case, the peer is not disconnected or reported back to the
peerstore.
This PR ensures the peer's reputation is properly reported.
Discovered during testing:
- https://github.com/paritytech/polkadot-sdk/pull/4977
cc @paritytech/networking
Signed-off-by: Alexandru Vasile <[email protected]>
parent
4aa29a41
Pipeline
#485012
waiting for manual action
with stages
in
1 hour, 22 minutes, and 9 seconds
Please register or sign in to comment