Joas Schilling
|
aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1
|
1 rok temu |
Faraz Samapoor
|
f313ca92e7
Refactors lib/private/Security.
|
1 rok temu |
Joas Schilling
|
124588d4a6
fix: Make bypass function public API
|
1 rok temu |
Joas Schilling
|
fd9b2d488e
feat: Expose if the own IP is allowed to bypass bruteforce protection
|
1 rok temu |
Joas Schilling
|
abc98d343c
feat(security): Add a "testing mode" for bruteforce protection that doesn't sleep
|
1 rok temu |
Joas Schilling
|
a95800c647
feat(security): Add a bruteforce protection backend base on memcache
|
1 rok temu |
Faraz Samapoor
|
e7cc7653b8
Refactors "strpos" calls in lib/private to improve code readability.
|
1 rok temu |
Côme Chilliet
|
426c0341ff
Use typed version of IConfig::getSystemValue as much as possible
|
1 rok temu |
Joas Schilling
|
c0f47af2d0
Add a public interface for the bruteforce throttler and register for injection
|
2 lat temu |
Joas Schilling
|
8274c05e19
Only ignore attempts of the same action
|
2 lat temu |
Côme Chilliet
|
6be7aa112f
Migrate from ILogger to LoggerInterface in lib/private
|
2 lat temu |
Joas Schilling
|
c6d000f87f
Log bruteforce throttle and blocking
|
2 lat temu |
Joas Schilling
|
1d550ab95e
Don't query the bruteforce attempts when we just deleted them
|
3 lat temu |
John Molakvoæ (skjnldsv)
|
215aef3cbd
Update php licenses
|
3 lat temu |
Roeland Jago Douma
|
8fae2beece
Limit throttler to 48 hours
|
4 lat temu |
Christoph Wurst
|
d9015a8c94
Format code to a single space around binary operators
|
4 lat temu |
Morris Jobke
|
99c9423766
Remove @suppress SqlInjectionChecker
|
4 lat temu |
Joas Schilling
|
c25063dc07
Don't break when the IP is empty
|
4 lat temu |
Christoph Wurst
|
2a054e6c04
Update the license headers for Nextcloud 20
|
4 lat temu |
Joas Schilling
|
35a8519591
Fix CS
|
4 lat temu |
Joas Schilling
|
770381c0c6
Correctly return ms delay when at max
|
4 lat temu |
Joas Schilling
|
931aca2fee
Add missing default
|
4 lat temu |
Joas Schilling
|
d9c4c9eb99
Simplify array filter
|
4 lat temu |
Joas Schilling
|
dfeee3b850
Fix wrong doc + type hint
|
4 lat temu |
Joas Schilling
|
8376c4891f
Only throw when also the last 30 mins were attacking
|
4 lat temu |
Joas Schilling
|
6f751d01db
Make the throttling O(2^n) instead of O(n^n)
|
4 lat temu |
Joas Schilling
|
64539a6ee1
Make Throttler strict
|
4 lat temu |
Joas Schilling
|
c8fea66d65
Split delay calculation from getting the attempts
|
4 lat temu |
Joas Schilling
|
cdb36c8ead
Let the database count the entries
|
4 lat temu |
Joas Schilling
|
e66bc4a8a7
Send "429 Too Many Requests" in case of brute force protection
|
4 lat temu |