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

Rate limit position replies to three minutes #5932

Merged
merged 1 commit into from
Jan 25, 2025

Conversation

GUVWAF
Copy link
Member

@GUVWAF GUVWAF commented Jan 25, 2025

Fixes #5914.

In order not to overwhelm the mesh, let’s rate limit position replies. Meaning that if we sent our position already in the last three minutes, we’ll not reply to position requests. Since position packets are not using PKI and are “promiscuous”, every node that has the channel key would have seen the previous packet already.

Note that this is specifically for replies upon a request; setting the periodic broadcast interval (or smart position) less than three minutes is still possible.

@GUVWAF GUVWAF requested a review from thebentern January 25, 2025 13:58
@thebentern thebentern merged commit a14346b into meshtastic:master Jan 25, 2025
56 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.

[Bug]: Inadvertent DDoS due to low battery
2 participants