WYAE - FWTOOLS Mailing List Archive


Re: [fwtools] fwdoc_to_html
From:Volker Tanger
Date: Tue, 03 Jul 2007 17:14:34 +0200

Greetings!

Nick Mandis writes:

> Thanks for the response Volker. I tried using the cat command and it
> still outputs to my screen and subsequently generates an empty
> policy.htm file. Very strange. 

Do you have implicit NAT rules within your policy?
If so: have you generated the .fwdoc with yesterday's 0.8.8 version of
fw1r55_to_fwdoc? Older versions suffer from a typo in the output. 

I guess what you see as "output" is not an output but an error message.
Please try

 	cat policy.fwdoc \
 		| /home/python25/bin/python fwdoc_to_html.py \
 		> policy.htm \
		2> log.txt
		
and look at log.txt
It probably starts with an error message before dumping the data.

If you have not used the new fw1r55_to_fwdoc version please do so.

Thanks

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