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

reevaluate hilbert curve id assignment #29

Open
2 tasks
slugalisk opened this issue Jun 2, 2020 · 0 comments
Open
2 tasks

reevaluate hilbert curve id assignment #29

slugalisk opened this issue Jun 2, 2020 · 0 comments
Labels
question Further information is requested

Comments

@slugalisk
Copy link
Member

In the js version we prefixed KAD IDs with the lat/lng of the user's geolocation on a Hilbert Curve... This meant that peer routing decisions and peer suggestions would tend to return peers that were geographically close to the target which could improve cold start performance...

The risk (outlined in BEP 42) is that allowing peers to arbitrarily pick IDs enables sybil attacks where malicious users block access to a parts of the network by filling the surrounding addresses with uncooperative hosts.

  • does this actually improve performance?
  • is there any way to mitigate the risk and if not can it be selectively enabled for networks of trusted peers?
@slugalisk slugalisk added the question Further information is requested label Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant