Skip to content
Snippets Groups Projects
Commit 85dd476c authored by Alexandru Vasile's avatar Alexandru Vasile Committed by github-actions[bot]
Browse files

req-resp/litep2p: Reject inbound requests from banned peers (#7158)


This PR rejects inbound requests from banned peers (reputation is below
the banned threshold).

This mirrors the request-response implementation from the libp2p side.
I won't expect this to get triggered too often, but we'll monitor this
metric.

While at it, have registered a new inbound failure metric to have
visibility into this.

Discovered during the investigation of:
https://github.com/paritytech/polkadot-sdk/issues/7076#issuecomment-2589613046

cc @paritytech/networking

---------

Signed-off-by: default avatarAlexandru Vasile <alexandru.vasile@parity.io>
(cherry picked from commit ef064a35)
parent 2afc17f4
Pipeline #511889 waiting for manual action with stages
in 35 minutes and 59 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment