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 Web server 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.
|Tags||Security Log Monitor Network iptables|
|Operating Systems||All POSIX (Linux/BSD/UNIX-like OSes)|
|Implementation||PHP 5.3 +|