Project

General

Profile

Feature #64

Howto get eXtplorer to log failed logons

Added by Henrik Schewe over 6 years ago. Updated almost 6 years ago.

Status:
Neu
Priority:
Niedrig
Assignee:
-
Category:
-
Target version:
-
Start date:
03/27/2012
% Done:

0%

Estimated time:

Description

#This can again be included in fail2ban or denyhosts to block further requests.

$ diff include/login.php include/login.php.bak
38d37
< require_once _EXT_PATH."/include/KLogger.php";
93,95c92
< $Users_IP_address = $_SERVER["REMOTE_ADDR"];
< $log = new klogger ( "/var/log/eXtplorer/eXtplor
< $log->LogError("$Users_IP_address failed to log

$ cat /var/log/eXtplorer/eXtplorer_failed.log
2012-03-27 11:23:38 - ERROR --> 10.0.0.2 failed to log in

Also available in: Atom PDF