Merge #2646
2646: Smarter ratelimit r=mergify[bot] a=nextgens ## What type of PR? enhancement ## What does this PR do? Only account for **distinct** usernames in the IP rate-limiter. This enables to have a much tighter default as a user with a misconfigured device will now only account for a single attempt. The goal here is to make the rate-limiter more acceptable and to avoid people disabling it altogether. ### Related issue(s) ## Prerequisites Before we can consider review and merge, please make sure the following list is done and checked. If an entry in not applicable, you can check it or remove it from the list. - [ ] In case of feature or enhancement: documentation updated accordingly - [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/workflow.html#changelog) entry file. Co-authored-by: Florent Daigniere <nextgens@freenetproject.org> Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>main
commit
aea7407044
@ -0,0 +1 @@
|
||||
Implement de-dupplication on rate limits. Now only attempts for distinct usernames will count as a hit.
|
Loading…
Reference in New Issue