
PIX::Object::service - Class for "service" object-groups found in a PIX config.

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.


Add a service port or nested group to the object-group. If $high_port is undef then $low_port_or_group is assumed to be a nested hostgroup name.
Returns a list of service ports from the object group. Each element in the list is an arrayref. Each arrayref has: [ high_port, low_port ].
Searches the services within our group for the PORT 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 PORT (which evaluates to true). This is usually called from the PIX::Accesslist::Line object instead of directly.
Returns a list of ports that the object-group encompasses. If $compact is true then ranges are condensed into a smaller list, ie: 1-1024,80,81,80,443

Jason Morriss <lifo 101 at - gmail dot com>

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.

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 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.