TOP LEVEL CATEGORIES
EXPLORE
Description:
Plugin written as bash script to check the health of iptables and the rules in there. It performs several check: * checks command ($DEF_IPT and $DEF_IPS) and rulefiles ($DEF_IPT_RFILE and $DEF_IPS_RFILE), returns 3 in case of error * checks if iptables command can be called with no error, if not return 2 * checks INPUT, FORWARD and OUTPUT and returns 2 if no rules are found in chain AND default policy is NOT according to $DEF_POL_XXX * checks every chain for $DEF_POL_XXX and returns 1 in error case * checks iptables -L -n output and compares to a rules file returns 1 if rules in place are not the same than in the file * checks ipset definitions and compares the actual rules to a rules file ($DEF_IPS_RFILE) returns 1 upon error
The script is quite strict. If only the order of rules in iptables change compared to rules config, the script issues a WARNING
Current Version
0.1
Last Release Date
2012-04-28
Compatible With
Owner
Tobi
Website
https://project.brain-force.ch/Nagios/wiki/plugins/security/firewall/checkIPtables
Download URL
https://project.brain-force.ch/Nagios/browser/checkIPtables/trunk/check_iptables.sh?rev=head
License
GPL
plugin file for checkIPtables
You must be logged in to submit a review.
Your review has been submitted and is pending approval.
To:
From:
Your recommendation has been sent.