Jason Morriss > PIX-Walker-1.10 > PIX::Object

Download:
PIX-Walker-1.10.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 1.10   Source  

NAME ^

PIX::Object - Factory class for the various object-groups found in a PIX config from a PIX::Walker object. This object is not meant to be instantiated directly.

SYNOPSIS ^

PIX::Walker uses this factory class to create perl objects for each object-group found within a firewall configuration. Programs will interface with this object but will practically never instantiate objects from this factory directly.

SEE ALSO ^

PIX::Object::network, PIX::Object::service, PIX::Object::protocol

EXAMPLE ^

my $obj = new PIX::Object($type, $name, $conf_block, $pix_walker_ref);

METHODS ^

type( )

Returns the type of the object group. One of "network", "service", "protocol", or "icmp_type"

name( )

Returns the name of the object group as configured.

list( )

Returns a list of items from the object group. The structure of the list returned will vary depending on the object-group type. See each sub-class for more information.

PIX::Object::network, PIX::Object::service, PIX::Object::protocol

first( )

Returns the first object from the object-group list.

alias($alias)

Returns the IP of the alias given in $alias. If no alias is found than the string is returned unchanged. This simply deligates to the alias sub from the PIX::Walker object as given in new().

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.