Uh oh!
There was an error while loading. Please reload this page.
feat(security): Add a bruteforce protection backend base on memcache - #39870
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
5f5132f to
f583a3cCompare9bf1975 to
8592c48CompareUh oh!
There was an error while loading. Please reload this page.
| $data = [ | ||
| 'allow-listed' => $this->throttler->isIPWhitelisted($ip), | ||
| 'attempts' => $this->throttler->getAttempts( |
Check notice
Code scanning / Psalm
DeprecatedMethod
| $ip, | ||
| (string) $input->getArgument('action'), | ||
| ), | ||
| 'delay' => $this->throttler->getDelay( |
Check notice
Code scanning / Psalm
DeprecatedMethod
9bae121 to
2a6e4beCompareUh oh!
There was an error while loading. Please reload this page.
icewind1991
commented
Aug 16, 2023
I've created a similar bruteforce stats command recently: #39580 |
2a6e4be to
0c7bc29Comparee33b647 to
90bfa01Comparenickvergessen
commented
Aug 17, 2023
/backport to stable27 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
6816c17 to
3d9b2adCompare| 'cronInfo' => $this->getLastCronInfo(), | ||
| 'cronErrors' => $this->getCronErrors(), | ||
| 'isFairUseOfFreePushService' => $this->isFairUseOfFreePushService(), | ||
| 'isBruteforceThrottled' => $this->throttler->getAttempts($this->request->getRemoteAddress()) !== 0, |
Check notice
Code scanning / Psalm
DeprecatedMethod
Similar to the ratelimit backend Signed-off-by: Joas Schilling <coding@schilljs.com>
…oesn't sleep Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
3d9b2ad to
09cba0dCompareSigned-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
09cba0d to
bed3ffbCompareThe backport to stable27 failed. Please do this backport manually. # Switch to the target branch and update it
git checkout stable27
git pull origin stable27
# Create the new backport branch
git checkout -b fix/foo-stable27
# Cherry pick the change from the commit sha1 of the change against the default branch# This might cause conflicts. Resolve them.
git cherry-pick abc123
# Push the cherry pick commit to the remote repository and open a pull request
git push origin fix/foo-stable27More info at https://docs.nextcloud.com/server/latest/developer_manual/getting_started/development_process.html#manual-backport |
TODO
Checklist