My fave github coder has added another useful script to his portfolio.
ModSentry is a real-time log monitoring tool for analyzing security events from ModSecurity logs. It provides an intuitive terminal interface to track alerts and highlight critical incidents. IP addresses can be blocked or unblocked using iptables
directly from the interface.
https://github.com/yodabytz/modsentry