Skip to content

Maintain a blacklist of malicious peers  #386

Description

@jbowen93

Optimint nodes should maintain a blacklist of peers that they have determined are acting malicious. Nodes should sever their peering connections with malicious nodes and refuse to rebroadcast any messages they receive from these nodes.

We should consider if there is value in having a set of "blacklist seed nodes" which maintain a blacklist they can share with new nodes joining the p2p network.


Subtasks:

  • Use libp2p.ConnectionGater to limit connections
  • Implement datastore.Datastore interface
  • Add configuration option/param to block peer/IP
  • Make it possible to unblock blacklisted peer/IP

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions