WYAE - FWTOOLS Mailing List Archive
| Re: [fwtools] FWTools Problems
|
| From: | Volker Tanger |
| Date: | Wed, 2 May 2007 21:27:55 +0200
|
Greetings!
On Mon, 30 Apr 2007 11:40:34 -0400
"Deric Scott" wrote:
> I am trying to use the latest versions of the FWTools applications to
> generate a document showing the configuration of a CheckPoint
> firewall I am migrating.
> File "H:\Temp\FWDOC\fwdoc_used_objects\fwdoc_used_objects.py", line
> 56, in
> fwdoctxt = sys.stdin.read(MAXSIZE)
> IOError: [Errno 9] Bad file descriptor
>
>
>
> After playing with it, I decided just to use one of my Linux boxes to
> get things going. Here, though, I get the following message:
[...]
> json.ReadException: Nothing to read: ''
>
> In both environments, I am using the same command:
> perl fw1r55_to_fwdoc.pl --rules=fwrules.W --objects=objects.C
> --with_implicit_rules | fwdoc_used_objects.py | fwdoc_to_html.py
I guess the output of fw1r55_to_fwdoc.pl has a problem - probably the
program even quits with an error.
What happens if you run the generation of the FWDOC file and its
processing in two steps?
perl fw1r55_to_fwdoc.pl \
--rules=fwrules.W \
--objects=objects.C \
--with_implicit_rules \
> ruleset.fwdoc
and if that works fine:
cat ruleset.fwdoc | fwdoc_used_objects.py | fwdoc_to_html.py
I guess you already have a problem in the first step.
Bye
Volker
--
Volker Tanger http://www.wyae.de/volker.tanger/
--------------------------------------------------
volker.tanger@wyae.de PGP Fingerprint
378A 7DA7 4F20 C2F3 5BCC 8340 7424 6122 BB83 B8CB