The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

PIX::Object::service - Class for "service" 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($low_port_or_group, [$high_port])

    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.

list( )

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

matchport( )

    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.

enumerate([$compact=0])

    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

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 194:

You forgot a '=back' before '=head1'