SecurityLinuxBash
Project Overview
This wasn’t a very big project, but it was an interesting and practical implementation for me.
This setup helps ensure firewall integrity by detecting unexpected rule changes, auto-recovering
IPTables, and sending email alerts instantly.
Key steps included
-
Creating a monitoring script under
/etc/cron.hourly - Auto-restarting IPTables if mismatched rules are detected
- Sending rule snapshots via Sendmail
- Validating hourly execution using run-parts and cron
- Ensuring everything works with manual and automatic tests
Security Outcome
This solution provides consistent, proactive security monitoring for PBX infrastructures — with fast visibility if something changes.