/Live-Journalctl-IP-Monitor-and-Analyzer

Watch for unauthorized access attempts to your server and block IP's after a set amount of attempts.

Primary LanguageJavaScript

Live Journalctl IP Monitor and Analyzer

This is a simple script that monitors the journalctl logs for IP addresses and then makes a batch request to the ip-api API to get information about the IP addresses. The script then analyzes the data and outputs the results to the mySQL database for further analysis.

Features

  • Monitor journalctl logs for IP addresses
  • Make a batch request to the ip-api API to get information about the IP addresses
  • Analyze the data and output the results to the mySQL database
  • Get information about the IP addresses such as country, city, region and latitude/longitude