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

Query Mode filtering #44

Open
cheme opened this issue Mar 22, 2015 · 0 comments
Open

Query Mode filtering #44

cheme opened this issue Mar 22, 2015 · 0 comments

Comments

@cheme
Copy link
Owner

cheme commented Mar 22, 2015

Query mode are currently always accessible, this leads to serious issue (totally unsecure), replying in 'proxy' mode to stuck a peer or sending 'aproxy' query in some sensitive network, and a lot of possible misuse.

Possible query mode should be configurable. We need a rules to return the allowed mode for a given dht (a simple bit mask), with obvious filtering on message reception in server.

More advanced filtering should also be based upon kind of query, so an optional parameter with &key could be added. This will be usefull with network where multiple mode are used for multiple usecases.

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

No branches or pull requests

1 participant