Closed jnweiger closed 1 year ago
Issues found while Testing
App counts failed logins wrong #197
App behavior is weird. Shouldn't the attacker's IP be blocked? Because currently only another attempt to log in as user xyz is blocked. As soon the ownCloud is refreshed, another attack (on a new user) can be made.
Testplan used with the 1.1.0 release: https://github.com/owncloud/brute_force_protection/issues/132
I believe it is correct behavior to block by username, and not by IP-addr. An office going out via NAT should not be completely blocked, if one user plays havoc. Actually we block the combination user and IP:
MariaDB [owncloud]> select * from oc_bfp_failed_logins;
+----+---------------+------+--------------+
| id | ip | uid | attempted_at |
+----+---------------+------+--------------+
| 1 | 46.114.209.20 | dave | 1678878092 |
| 2 | 46.114.209.20 | dave | 1678878098 |
| 3 | 46.114.209.20 | dave | 1678878103 |
+----+---------------+------+--------------+
404: Not Found
'Brute_Force_Protection' Test Plan
TBD: Nothing useful found in https://github.com/owncloud/QA/tree/master/Server TBD: Here is a dummy testplan template. Please edit! TBD: Please also doublecheck https://github.com/owncloud/qa-enterprise/tree/master/Core
Setup
Setup details (click to view)
`oc_release.sh app:get brute_force_protection`Testing functionality