]> source.dussan.org Git - nextcloud-server.git/commit
feat(security): Add a bruteforce protection backend base on memcache
authorJoas Schilling <coding@schilljs.com>
Mon, 14 Aug 2023 16:46:59 +0000 (18:46 +0200)
committerJoas Schilling <coding@schilljs.com>
Wed, 23 Aug 2023 04:44:05 +0000 (06:44 +0200)
commitbefa2f6d51231c9f79f4c66457424870c120517a
tree921e9a5aff1fbc492bb85d770ce19a2b16841bbb
parent7d795d020397947745940be89a3e0719a6c3177a
feat(security): Add a bruteforce protection backend base on memcache

Similar to the ratelimit backend

Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/composer/composer/autoload_classmap.php
lib/composer/composer/autoload_static.php
lib/private/Security/Bruteforce/Backend/DatabaseBackend.php [new file with mode: 0644]
lib/private/Security/Bruteforce/Backend/IBackend.php [new file with mode: 0644]
lib/private/Security/Bruteforce/Backend/MemoryCacheBackend.php [new file with mode: 0644]
lib/private/Security/Bruteforce/Throttler.php
lib/private/Server.php
lib/public/Security/Bruteforce/IThrottler.php
tests/lib/Security/Bruteforce/Backend/MemoryCacheBackendTest.php [new file with mode: 0644]
tests/lib/Security/Bruteforce/ThrottlerTest.php