Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Add blocklisting and connection gating #12

Open
aloknerurkar opened this issue Sep 27, 2023 · 2 comments
Open

Add blocklisting and connection gating #12

aloknerurkar opened this issue Sep 27, 2023 · 2 comments
Assignees

Comments

@aloknerurkar
Copy link
Contributor

  • Blocklisting can be handled at the libp2p level which makes it transparent for the protocol handlers. This can be done by protocols either returning some specific error which can include reason and time to blocklist. Also, we can have a top-level interface in the libp2p.Service to blocklist with reason and time.
  • Add libp2p.ConnectionGater option. This can use blocklist or other mechanisms to prevent unnecessary protocol traffic on the node.
@kant777
Copy link
Contributor

kant777 commented Oct 10, 2023

@iowar @aloknerurkar is this resolved or we still need to do this?

@iowar
Copy link
Collaborator

iowar commented Oct 10, 2023

Connection Gater is almost completed; Blocker needs to be written

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants