/conf/fail2ban.sh |
---|
99,7 → 99,7 |
filter = alcasar_intercept |
action = iptables-allports[name=alcasar_intercept] |
logpath = /var/log/lighttpd/access.log |
maxretry = 5 |
maxretry = 6 |
# Bannissement sur tout les port après 5 échecs de changement de mot de passe |
# 5 POST pour changer le mot de passe que le POST soit ok ou non. |
/web/index.php |
---|
46,7 → 46,7 |
$organisme = $conf["ORGANISM"]; |
$hostname = $conf["HOSTNAME"].'.'.$conf["DOMAIN"]; |
$ssl_enable = ($conf['HTTPS_LOGIN'] === 'on'); |
$protocol = ($ssl_enable) ? 'https//' : 'http://'; |
$protocol = ($ssl_enable) ? 'https://' : 'http://'; |
$useHTTPS = ((isset($_SERVER['HTTPS'])) && (!empty($_SERVER['HTTPS'])) && ($_SERVER['HTTPS'] !== 'off')); |
$network_pb = false; // "alcasar-watchdog.sh" changes this value if a network issue is detected |
$diagnostic = "can't contact the default router"; // "alcasar-watchdog.sh" changes this value if a network issue is detected |
/web/intercept.php |
---|
421,10 → 421,10 |
case 'Login failed' : $reply = $l_reply_0; break; |
case 'Your maximum daily usage time has been reached' : $reply = $l_reply_1; break; |
case 'Your maximum monthly usage time has been reached' : $reply = $l_reply_2; break; |
case 'You are calling outside your allowed timespan' : $reply = $l_reply_3; break; |
case 'Password Has Expired' : $reply = $l_reply_4; break; |
case 'You are out your allowed time period' : $reply = $l_reply_3; break; |
case 'Your expiration date has been reached' : $reply = $l_reply_4; break; |
case 'You are already logged in - access denied' : $reply = $l_reply_5; break; |
case 'Your maximum never usage time has been reached' : $reply = $l_reply_6; break; |
case 'Your usage time has been reached' : $reply = $l_reply_6; break; |
} |
} |