man IPTables::Parse () - Perl extension for parsing iptables firewall rulesets
NAME
IPTables::Parse - Perl extension for parsing iptables firewall rulesets
SYNOPSIS
use IPTables::Parse;
my $table = 'filter'; my $chain = 'INPUT'; if (&IPTables::Parse::default_drop($table, $chain)) { print "[+] Table: $table, chain: $chain has a default rule\n"; } else { print "[-] No default drop rule in table: $table, chain: $chain.\n"; }
DESCRIPTION
IPTables::Parse provides a perl module interface to parse iptables rulesets.
AUTHOR
Michael Rash, <mbr@cipherdyne.org>
SEE ALSO
perl.