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

chore: rate limit peer-exchange protocol #3028

Closed
4 tasks done
Tracked by #2032
NagyZoltanPeter opened this issue Sep 10, 2024 · 0 comments
Closed
4 tasks done
Tracked by #2032

chore: rate limit peer-exchange protocol #3028

NagyZoltanPeter opened this issue Sep 10, 2024 · 0 comments
Assignees

Comments

@NagyZoltanPeter
Copy link
Contributor

NagyZoltanPeter commented Sep 10, 2024

Background

As part of DOS protection of req-resp protocol we need to add protection for peer-exchange also, similar to lightpush/store/filter.

Details

Add configurable rate limit check for peer-exchange protocol

Acceptance criteria

  • cli configuration for rate-limit setting for peer-ex
  • check rate limit before processing requests
  • add metrics for peer-ex rate-limit served and rejected
  • add dashboard panels for peer-ex rate limits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants