Farly::Rule::Expander - Expands configuration firewall rules
Farly::Rule::Expander converts a firewall configuration rule set into a expanded rule set. The expanded firewall rule set is an Farly::Object::List<Farly::Object> containing all firewall rules.
An expanded rule set has no references to other firewall objects. The expanded firewall rule is for specific packet to firewall rule matching.
The constructor. The firewall configuration is provided.
$rule_expander = Farly::Rule::Expander->new( <Farly::Object::List> );
Returns a Farly::Object::List<Farly::Object> container of all expanded firewall rule entries in the current Farly firewall model.
$expanded_ruleset = $rule_expander->expand_all();
Returns the expanded version of the given firewall rule in the provided result container.
$expanded_rule = $rule_expander->expand( $rule, $result );
Farly::Rule::Expander Copyright (C) 2012 Trystan Johnson
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
To install Farly, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Farly
CPAN shell
perl -MCPAN -e shell install Farly
For more information on module installation, please visit the detailed CPAN module installation guide.