log2command V1.0 release

Description

log2command is a PHP script that tracks IPs in log files and executes shell commands per each IP.

log2command was created as a sort of reverse fail2ban or cheap VPN-firewall: a machine with a closed firewall can be told, by a foreign machine, to accept connections from a
specific IP. log2command then keeps track of the webserver log file and watches for inactivity from the user’s IP. After an amount of time another command is executed that
can remove the user’s IP from the firewall, closing down the machine again.

The PHP script is a command-line program that can be run in the background.

Requirements

  • PHP v5.3 CLI
  • PHP inotify PECL plugin
  • iptables (optional, depending on executed commands).

Download In Here | Read more in here

Advertisements