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

Implement authorization support #6

Closed
aschran opened this issue Oct 3, 2022 · 2 comments
Closed

Implement authorization support #6

aschran opened this issue Oct 3, 2022 · 2 comments

Comments

@aschran
Copy link

aschran commented Oct 3, 2022

It should be possible to constrain which peers anemo will allow to connect or send certain RPCs.

@bmwill
Copy link

bmwill commented Oct 3, 2022

This is two separate problems, one could be solved in the application layer as a tower layer (restricting certain peers to being able to call particular RPCS) and the restricting who can connect to you is a bit more complicated of a problem and would require a few changes inside anemo.

@bmwill
Copy link

bmwill commented Oct 19, 2022

The ability to require authorization for requests was added in 7da7c9a. If we need to have a way to restrict who can connect to us we can open up another issue later as this is a much more involved change.

@bmwill bmwill closed this as completed Oct 19, 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