-
-
Notifications
You must be signed in to change notification settings - Fork 4.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
Reset bruteforce attempt table on successful login #7263
Conversation
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.
Tests are failing now. Code looks good otherwise :)
Hum, is this related to this pr? |
yes |
* only clear the entries that come from the same subnet, same action and same metadata Signed-off-by: Morris Jobke <hey@morrisjobke.de>
0d6a08e
to
5a270c2
Compare
Codecov Report
@@ Coverage Diff @@
## master #7263 +/- ##
============================================
- Coverage 50.86% 50.85% -0.01%
- Complexity 24550 24553 +3
============================================
Files 1585 1585
Lines 93811 93830 +19
Branches 1354 1354
============================================
+ Hits 47716 47717 +1
- Misses 46095 46113 +18
|
🐘 |
From what I can see here it looks like this is planned for NC13. Will this change be rolled out in NC12 (and maybe other versions) too? |
As of now that backport to 12 is not planned, but maybe we should backport this. @karlitschek @rullzer @blizzz @LukasReschke Opinions on that one? |
Should be low risk of breaking things. So I would vote for a backport |
Relaxes a lot the situation for people that went into the brute force trap (like in #3058 or #7228)