Author Topic: How to disable IP Blocking for Logins?  (Read 1211 times)

Offline roundcubetestit

  • Jr. Member
  • **
  • Posts: 12
How to disable IP Blocking for Logins?
« on: September 28, 2020, 06:32:56 PM »
Hi,

where can one disable IP blocking for the login data?

After having installed Roundcube it sometimes is necessary to modify configuration options what sometimes leads to failed logins.

Thanks in advance
roundcubetestit

EDIT:

Meanwhile I found out that one can modify blocking parameters in the AntiBruteForce-Plugin (antiBruteForce.php). Especially the whitelist-array for IPs is interesting for the set-up-period.


Code: [Select]
class antiBruteForce extends rcube_plugin
{

private $registers="logs/userlogins"; // arquivo de registro de tentativas
private $attempts=3; // o numero de tentativas antes de bloquear o acesso;
private $registeredAttemptsInTime=0; // variavel que mantem o numero de tentativas registradas dentro do tempo determinado
private $time=600; // tempo entre tentativas
private $blockedTime=null; // mantem o tempo restante de bloqueio em segundos
        private $whiteList = array( "10.165.XXX./25" , "10.165.XXX.124/30" , "127.0.0.1" );

Regards
roundcubetestit
« Last Edit: October 01, 2020, 11:48:39 AM by roundcubetestit »