Skip to content
Snippets Groups Projects
Unverified Commit ef064a35 authored by Alexandru Vasile's avatar Alexandru Vasile Committed by GitHub
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>
parent b72e76fb
No related merge requests found
Pipeline #511887 waiting for manual action with stages
in 49 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