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

Hodor plugin add exempt IPs #2021

Open
Mis1eader-dev opened this issue May 5, 2024 · 1 comment
Open

Hodor plugin add exempt IPs #2021

Mis1eader-dev opened this issue May 5, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Mis1eader-dev
Copy link
Member

Is your feature request related to a problem? Please describe.
In an SSR application making requests to the backend with Hodor enabled it will get rate limited because it is treated like any other client.

Describe the solution you'd like
Have a list of trusted IPs or exempt IPs.

@an-tao an-tao added the enhancement New feature or request label May 6, 2024
@hwc0919
Copy link
Member

hwc0919 commented May 7, 2024

Code in RealIpResolver::matchCidr() can be reused here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants