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

Do per IpAddr rate limiting first #4512

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

lijunwangs
Copy link

Problem

We were doing overall connection rate limiting first and then per address rate limiting. The could enable noisy clients to generate a lot of busy connection attempts which can lead to other good behaving clients not be able to make connections.

Summary of Changes

Do Per IPAddress connection rate limit before the overall connection rate limiting.

Fixes #

Copy link

@alexpyattaev alexpyattaev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good change. If we do similar ratelimiting elsewhere, we should apply similar approach there as well.

@lijunwangs lijunwangs merged commit c5ed166 into anza-xyz:master Jan 23, 2025
47 checks passed
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

Successfully merging this pull request may close these issues.

2 participants