Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How you handle Kademlia attacks? #6

Closed
l16h7n1n6s opened this issue Aug 21, 2022 · 1 comment
Closed

How you handle Kademlia attacks? #6

l16h7n1n6s opened this issue Aug 21, 2022 · 1 comment

Comments

@l16h7n1n6s
Copy link

I list some of the well known attacks that can be use in kademlia P2P network

  1. Sybil Attacks — where a user generates an extreme number of arbitrary identities (NodeIDs) to flood the network.
  2. Eclipse Attacks — where an attacker attempts to isolate a node or set of nodes in the network graph by ensuring that all outbound connections reach malicious nodes

Any explanation of how can we prevent this cases ? will it be hard to implement or give some ideas about how to implement?

@sepgh
Copy link
Member

sepgh commented Aug 22, 2022

So far this repository only handles serialization and networking layer, and does not care about how node IDs are generated, verified and how complex messages are sent over the network, therefor dealing with those attacks requires the consumer application to implement it.

I strongly suggest this document:
https://medium.com/coinmonks/a-brief-overview-of-kademlia-and-its-use-in-various-decentralized-platforms-da08a7f72b8f

@sepgh sepgh closed this as not planned Won't fix, can't repro, duplicate, stale Oct 22, 2022
@sepgh sepgh pinned this issue Dec 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants