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

Add Support for Whitelisting IP Addresses to Bypass Rate Limits #3389

Open
quiet-node opened this issue Jan 14, 2025 · 0 comments
Open

Add Support for Whitelisting IP Addresses to Bypass Rate Limits #3389

quiet-node opened this issue Jan 14, 2025 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@quiet-node
Copy link
Member

Problem

Currently, IP rate limiting is applied uniformly across all incoming requests, which may cause issues for certain trusted clients or partners. To address this, we need to implement support for whitelisting specific IP addresses to bypass the rate limit.

This feature should allow a set of whitelisted IP addresses to be defined in the environment configuration. Requests originating from these IPs should bypass the rate limit checks.

Solution

  1. Add a new environment variable to define a list of whitelisted IP addresses.
  2. Implement a middleware or logic to evaluate incoming requests:
    • If the IP address matches an entry in the whitelist, bypass the rate limit checks.
    • If not, proceed with the current rate limiting logic.
  3. Ensure thorough testing to validate the functionality and avoid unintended bypasses.

Alternatives

No response

@quiet-node quiet-node added the enhancement New feature or request label Jan 14, 2025
@quiet-node quiet-node added this to the 0.65.0 milestone Jan 14, 2025
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
Status: Backlog
Development

No branches or pull requests

1 participant