NAME
PIX::Object::network - Class for "network" object-groups found in a PIX config.
SYNOPSIS
This is a subclass of PIX::Object that maintains a single object-group as read from a firewall config. You can list and search for elements in the list.
SEE ALSO
PIX::Object
METHODS
- add($ip_or_grp, [$mask])
-
Add a network or nested group to the object-group. If $mask is undef then $ip_or_grp is assumed to be a nested hostgroup name.
- list([$raw])
-
Returns a list of networks from the object group. Normally a plain list of CIDR blocks are returned, however, if $raw is true then a list of array references are returned instead. Each arrayref has: [ first_ip, last_ip, bits ]. The IP's are 32bit integers.
- matchip( )
-
Searches the networks within our group for the IP given. Deligates out to nested groups and maintains the state of the trace.
Returns the name of the of the object-group that matches the IP (which evaluates to true). This is usually called from the PIX::Accesslist::Line object instead of directly.
AUTHOR
Jason Morriss <lifo 101 at - gmail dot com>
BUGS
Please report any bugs or feature requests to bug-pix-walker at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=PIX-Walker. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
perldoc PIX::Walker
perldoc PIX::Accesslist
perldoc PIX::Accesslist::Line
perldoc PIX::Object
perldoc PIX::Object::network
perldoc PIX::Object::service
perldoc PIX::Object::protocol
perldoc PIX::Object::icmp_type
COPYRIGHT & LICENSE
Copyright 2006-2008 Jason Morriss, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 274:
You forgot a '=back' before '=head1'