feat: Rate limit phase#3 - peer request rate registration and prioritization #2683
Labels
E:nwaku Node Bandwidth Management Features
effort/days
Estimated to be completed in a few days, less than a week
Problem
Phase1 and 2 of rate limiting non relay protocols added a yet simple approach of deny request that are over some predefined limits. This still leaves open attack vector for malicious peers to DOS service nodes and can prevent other service client peers to use the facility properly.
Suggested solution
To overcome this situation rate limit management will be extended with a per peer usage rank to filter out or de-prioritize such peers that gives the most of the requests. This is needed for all the protocols but for filter service definitely as of its nature of subscribe and ping method of managing subscriptions by peers.
Parent issue
#2032
The text was updated successfully, but these errors were encountered: