We have a big problem with blocked logins because we are running NextCloud in a Docker environment and whenever a user repeatedly tries to log in with wrong credentials, the internal IP of the service is blacklisted and no-one can login anymore since the IP is the same for each user. Maybe I misinterpret this, but at least this is what we observe.
Here, 10.0.9.107 is the IP of the Docker service running NextCloud and not the IP of the user.
| 24 | login | 1680161275 | 10.0.9.107 | 10.0.9.107/32 | {"user":"foo"} |
| 25 | login | 1680162056 | 10.0.9.107 | 10.0.9.107/32 | {"user":"foo"} |
| 26 | login | 1680162082 | 10.0.9.107 | 10.0.9.107/32 | {"user":"foo"} |
| 27 | login | 1680162328 | 10.0.9.107 | 10.0.9.107/32 | {"user":"bar"} |
| 28 | login | 1680162356 | 10.0.9.107 | 10.0.9.107/32 | {"user":"bar"} |
| 29 | login | 1680162958 | 10.0.9.107 | 10.0.9.107/32 | {"user":"foo"} |
| 30 | login | 1680162984 | 10.0.9.107 | 10.0.9.107/32 | {"user":"foo"} |
| 31 | login | 1680163175 | 10.0.9.107 | 10.0.9.107/32 | {"user":"foo"} |
I repeatedly need to truncate oc_bruteforce_attempts;
to enable the login again. Is there a way to relax this?
The main cause of this is that we recently switched to a new LDAP service and some people are still running clients on their laptops/phones/tables with the old credentials.