Feature Request: Rate limiting inbound federation
What feature would you like implemented? The ability for server admins to rate-limit incoming API calls from remote mastodon servers.
Why should we add this feature? One of our instances, nsfw.lgbt, was brought to its knees the other day because a user on mastodon.world deleted over 30,000 posts causing mastodon to flood our server with over 6,000 requests/ hour. We had to block their IP in our WAF and even after we blocked the IP of the mastodon.world server we still have over 47,000 additional calls that were dropped before things finally slowed down.
Since then we have also implemented nginx's rate-limiting controls and are limiting calls to /inbox
to 1 req/s per IP.
Version 2024.8.2
Instance nsfw.lgbt
Contribution Guidelines By submitting this issue, you agree to follow our Contribution Guidelines
- I agree to follow this project's Contribution Guidelines
- I have searched the issue tracker for similar requests, and this is not a duplicate.