Joas Schilling
|
c0f47af2d0
Add a public interface for the bruteforce throttler and register for injection
|
2 years ago |
Joas Schilling
|
8274c05e19
Only ignore attempts of the same action
|
2 years ago |
Côme Chilliet
|
6be7aa112f
Migrate from ILogger to LoggerInterface in lib/private
|
2 years ago |
Joas Schilling
|
c6d000f87f
Log bruteforce throttle and blocking
|
2 years ago |
Joas Schilling
|
1d550ab95e
Don't query the bruteforce attempts when we just deleted them
|
2 years ago |
John Molakvoæ (skjnldsv)
|
215aef3cbd
Update php licenses
|
3 years ago |
Roeland Jago Douma
|
8fae2beece
Limit throttler to 48 hours
|
4 years ago |
Christoph Wurst
|
d9015a8c94
Format code to a single space around binary operators
|
4 years ago |
Morris Jobke
|
99c9423766
Remove @suppress SqlInjectionChecker
|
4 years ago |
Joas Schilling
|
c25063dc07
Don't break when the IP is empty
|
4 years ago |
Christoph Wurst
|
2a054e6c04
Update the license headers for Nextcloud 20
|
4 years ago |
Joas Schilling
|
35a8519591
Fix CS
|
4 years ago |
Joas Schilling
|
770381c0c6
Correctly return ms delay when at max
|
4 years ago |
Joas Schilling
|
931aca2fee
Add missing default
|
4 years ago |
Joas Schilling
|
d9c4c9eb99
Simplify array filter
|
4 years ago |
Joas Schilling
|
dfeee3b850
Fix wrong doc + type hint
|
4 years ago |
Joas Schilling
|
8376c4891f
Only throw when also the last 30 mins were attacking
|
4 years ago |
Joas Schilling
|
6f751d01db
Make the throttling O(2^n) instead of O(n^n)
|
4 years ago |
Joas Schilling
|
64539a6ee1
Make Throttler strict
|
4 years ago |
Joas Schilling
|
c8fea66d65
Split delay calculation from getting the attempts
|
4 years ago |
Joas Schilling
|
cdb36c8ead
Let the database count the entries
|
4 years ago |
Joas Schilling
|
e66bc4a8a7
Send "429 Too Many Requests" in case of brute force protection
|
4 years ago |
Morris Jobke
|
e57bca31ad
Merge pull request #20005 from joeried/occ-remove-bruteforce-attempts-by-ip
|
4 years ago |
Morris Jobke
|
bd997a105c
Fix code style
|
4 years ago |
Christoph Wurst
|
cb057829f7
Update license headers for 19
|
4 years ago |
Christoph Wurst
|
28f8eb5dba
Add visibility to all constants
|
4 years ago |
Christoph Wurst
|
caff1023ea
Format control structures, classes, methods and function
|
4 years ago |
Christoph Wurst
|
14c996d982
Use elseif instead of else if
|
4 years ago |
Christoph Wurst
|
afbd9c4e6e
Unify function spacing to PSR2 recommendation
|
4 years ago |
Johannes Riedel
|
0c38569c83
Implement occ command security:bruteforceattemps:reset-for-ip
|
4 years ago |