/pyauth

Monitor your login attemps in linux with pyauth

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Pyauth

Monitor your login attemps in linux with pyauth

What is Monitoring?

Log monitors are a type of software that monitor log files. Servers, application, network and security devices generate log files. Errors, problems, and more information is constantly logged and saved for analysis.

In order to detect problems automatically, system administrators and operations set up monitors on the generated logs. The log monitors scan the log files and search for known text patterns and rules that indicate important events. Once an event is detected, the monitoring system will send an alert, either to a person or to another software/hardware system. Monitoring logs help to identify security events that occurred or might occur.

Features

  • Monitor multiple log files continuously
  • SSH Parsing
  • Postgresql Parsing
  • FTP parsing
  • Centos, debian and ubuntu support
  • Flexible configuration with YAML support

Installing

- sudo apt-get install python3-pip
- git clone https://github.com/pioneerhfy/pyauth.git
    - cd pyauth && sudo pip3 install -r requirements.txt

Configuration

  • In order to analys your log files truely, you should set your distro using distro.yaml file
  • All log files' locations was set by default configuration, if you have different locations for your log files, you should set these log paths using fileList.yaml file.

Examples

sudo python3 src/pyauth.py

gif

Author

  • Hakan İlbiz

License

This project is licensed under the GNU GPL v3.0 License - see the LICENSE file for details