Roundcube Community Forum

 

How to disable IP Blocking for Logins?

Started by roundcubetestit, September 28, 2020, 06:32:56 PM

Previous topic - Next topic

roundcubetestit

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.


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