-
Notifications
You must be signed in to change notification settings - Fork 48
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
feat: parameterizable number of connections per IP #994
Conversation
Jenkins BuildsClick to see older builds (1)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, left a minor comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The IP based rate limit seems better apply to store (maybe also relay) protocol, as it mostly deploys in a server.
For other protocols, when used in client app like status, the user usually behind a NAT or VPN, which means same IP assigns to many users. Wondering what's the best practice for such scenarios?
Here the limit is for any peer that is connecting to the node ir-respective of the protocol involved. This is to ensure that someone doesn't spawn too many peers in order to attack a node or mislead/coerce a node. Wrt your query of nodes running behind a NAT or VPN, it is still fine. Because there would be other nodes in the network you can connect to as long as the network is sufficiently decentralized and has lot of nodes. This just prevents from more than |
a231905
to
1252174
Compare
Description
Matches waku-org/nwaku#2323