-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[Bug]: Inadvertent DDoS due to low battery #5914
Comments
I think nodes should have a rate limit for responding to want_acks packets or even rate limit nodes that are sending packets way too often |
How to go about this one? Seems somewhat wasteful to begin with. DMs get sent from every node in range every time you turn on your node. If we didn't move since last time we heard from a node why bother at all? And if we do decide to reply maybe broadcast so others can benefit too? A node getting turned on for the first time of course highly benefits from this information as it helps populate their nodedb. Gives you some clue who's out there. Especially since we've all turned down node_info broadcast rates to lower channel utilization. |
Position packets are not sent via PKI and are "promiscuous", meaning we'll look at them even when they're not destined to us. I think rate limiting specifically for position requests makes sense, just like we do for NodeInfo. I would not be in favor of rate limiting all |
I think the main thing is doing the rate limiting of other nodes packets and not just ours. So we will just ignore packets we are currently rate limiting. |
Category
Other
Hardware
Not Applicable
Firmware Version
2.5.18.89ebafc
Description
A node in a reboot loop (observed here due to low battery) reports its position every cycle with want_ack=true. In a well connected mesh that causes tons of nodes to reply back with their own position flooding the mesh as these replies are not rate limited as regular position reporting is.
Relevant log output
The text was updated successfully, but these errors were encountered: