Config - The PCXFireWall Configuration Object.
use PCXFireWall::Config; my $obj = PCXFireWall::Config->new;
Config is the Configuration Object for the PCXFireWall.
scalar new(void) Creates a new instance of the PCXFireWall::Config object.
installPath - The location that the install script will put the files. Defaults to /etc/pcx_firewall. The trailing / is not required.
logPrefix - Default header prepended to the log message to display. Defaults to 'FW'.
preComment - Allows you to specify the default comment before the rule.
postComment - Allows you to specify the default comment after the rule.
networkCommand - Allows you to specify what command should be used to determine the dynamic IP address of a dynamic interface. This is also used to determine broadcast address values as well.
Valid values are ifconfig or ip.
NOTE: All data fields are accessible by specifying the object and pointing to the data member to be modified on the left-hand side of the assignment. Ex. $obj->variable($newValue); or $value = $obj->variable;
Xperience, Inc. (mailto:admin at pcxperience.com)
perl(1)