Subject: | PIX::Walker - Descriptions & Names |
Date: | Mon, 12 Mar 2007 21:36:59 -0400 |
To: | bug-PIX-Walker [...] rt.cpan.org |
From: | "Ryan Shea" <ryan [...] muppethouse.com> |
OS Ubuntu Linux Breezy Badger
Perl 5.8.8
PIX::Walker from CPAN today
FWSM config file version 3.1(4) which I think is roughly equivalent to 7.2.
This module assumes that what follows the word host is going to be an
IP address, when in fact for those who put in names at the top, it
often is not:
Use of uninitialized value in left bitshift (<<) at
/usr/local/share/perl/5.8.8/PIX/Object/network.pm line 105.
Use of uninitialized value in bitwise or (|) at
/usr/local/share/perl/5.8.8/PIX/Object/network.pm line 105.
Use of uninitialized value in left bitshift (<<) at
/usr/local/share/perl/5.8.8/PIX/Object/network.pm line 105.
Argument "vs1cricket1" isn't numeric in left bitshift (<<) at
/usr/local/share/perl/5.8.8/PIX/Object/network.pm line 105.
I would expect that the name to IP mappings should be kept as host objects.
Also it looks like the parser cannot handle a description for a
service object-group:
win-update-ports: Unknown service object line: description Window update ports
the object-group looks like this
object-group service win-update-ports tcp
description Window update ports
port-object eq www
port-object eq https
I wrote a really terrible pix 7 config parser that works and does this
stuff and wish I had found this module first. If I get a chance I'll
see if I can make a patch for your module to make it work with names
and descriptions, but I don't want to get in over my head.