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

Adding client IP address to RateLimitExceededEvent #2

Closed
cyMarvin opened this issue Aug 8, 2023 · 2 comments
Closed

Adding client IP address to RateLimitExceededEvent #2

cyMarvin opened this issue Aug 8, 2023 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@cyMarvin
Copy link

cyMarvin commented Aug 8, 2023

I would like to use the RateLimitExceededEvent to gather client IP addresses that reach the configured limit multiple times, so I can easily blacklist them in my server configuration.
With this feature one could use this extension not "just" for rate limiting but for spam detection as well.

If you would like to have a logging feature inside this extension, I might create a PR when I'm done. Otherwise I will create an extension using the event.

@brotkrueml
Copy link
Owner

@cyMarvin For the logging feature I would suggest a custom solution, as this might not needed for every use case and the implementation might differ from installation to installation.

@brotkrueml brotkrueml self-assigned this Aug 8, 2023
@brotkrueml brotkrueml added documentation Improvements or additions to documentation enhancement New feature or request labels Aug 8, 2023
@brotkrueml
Copy link
Owner

Available in v1.3.0.

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

No branches or pull requests

2 participants