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

Optimize discover protocols #8

Open
LilianBoulard opened this issue Dec 2, 2020 · 0 comments
Open

Optimize discover protocols #8

LilianBoulard opened this issue Dec 2, 2020 · 0 comments

Comments

@LilianBoulard
Copy link
Member

Currently, when sending a discover request, the reply contains every single contact/node the contact knows.
In order to optimize the network communications, the author of the request should provide the list of the IDs of the contacts/nodes he knows.

Secondly, in order to avoid DOS attacks (or such) on the network, we should have control measures:

  1. Verify the contact information specified in the request is the same that sends the actual request.
  2. Verify that this contact did not send a similar request during the last x hours (24, 48, etc)
    2b. If the request has been made in the past, we can verify from our raw_requests database that the information is consistent.
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

1 participant