]> 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>
Mon, 21 Aug 2023 14:36:03 +0000 (16:36 +0200)
commita95800c647dbb91c68a545a5378f169a6abd65cc
tree599e2337e9f96b6d3c1f86422beb524403d19cd8
parent4c2c53e2716a2a946ad7ec574833e3c9837819bf
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