WYAE - FWTOOLS Mailing List Archive


Re: [fwtools] Bug found! New version of fw1r55_to_fwdoc
From:Javi
Date: Wed, 4 Jul 2007 13:24:36 +0200

------=_Part_108143_3113719.1183548276924
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

2007/7/3, Volker Tanger :
>
>
> Greetings!
>
> Thanks to a fwdoc file sent by J. I finally was able to track down the
> error: it was within the implicit NAT rules, where there was a typo
> printing
>         "enabled": "yes,"
> instead of
>         "enabled": "yes",
>
> The new 0.8.8 version is available at
> http://www.wyae.de/software/fwdoc/
>
> The other fwdoc_to_* files are still the same.
>
> Please try wether that solves your problems.
>
> Thanks
>
> Volker
>
>
>
> PS: To be able to start working on an NGX/R6x version, I still need
>     either feature-complete demo config files or an NGX firewall...
>     *hint*
>
>
Hi,

Great work! I feel cheered because you had solved that bug.
In the other hand, I have to communicate you a new error when I run python
filters over the new fw1r55_to_fwdoc 0.8.8 .fwdoc out file:

-------------------
> perl fw1r55_to_fwdoc.pl --merge_AI=_config/rulebases_5_0.fws
--rules=_config/optimizada.W --objects=_config/objects_5_0.C  --verbose  >
policy.fwdoc
 - 2006 by Volker Tanger 

.................

Reading Done.

Printing ruleset to FWdoc into STDOUT.

Done


 -fwdoc_to_html:

>type ..\fw1r55_to_fwdoc\policy.fwdoc   | ..\..\python\python
fwdoc_to_html.py  1>_Standard.html
Traceback (most recent call last):
  File "fwdoc_to_html.py", line 302, in ?
    print " %s
" % (fwdoc ['objects'][r]['type'], r, r) KeyError: 'h' - fwdoc_to_txt: >type ..\fw1r55_to_fwdoc\policy.fwdoc | ..\..\python\python fwdoc_to_txt.py 1>_Standard.txt Traceback (most recent call last): File "fwdoc_to_txt.py", line 194, in ? for ainst in rule['install_on']: KeyError: 'install_on' ----------------------- It seems another problem with NAT implied rules. fwdoc_to_html and fwdoc_to_txt out files end with first NAT implied rule. I'm sending you the .fwdoc file. Thanks ------=_Part_108143_3113719.1183548276924 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

2007/7/3, Volker Tanger <volker.tanger@wyae.de>:

Greetings!

Thanks to a fwdoc file sent by J. I finally was able to track down the
error: it was within the implicit NAT rules, where there was a typo
printing
        "enabled": "yes,"
instead of
        "enabled": "yes",

The new 0.8.8 version is available at
http://www.wyae.de/software/fwdoc/

The other fwdoc_to_* files are still the same.

Please try wether that solves your problems.

Thanks

Volker



PS: To be able to start working on an NGX/R6x version, I still need
    either feature-complete demo config files or an NGX firewall...
    *hint*


Hi,

Great work! I feel cheered because you had solved that bug.
In the other hand, I have to communicate you a new error when I run python filters over the new fw1r55_to_fwdoc 0.8.8 .fwdoc out file:

-------------------
> perl fw1r55_to_fwdoc.pl --merge_AI=_config/rulebases_5_0.fws --rules=_config/optimizada.W --objects=_config/objects_5_0.C  --verbose  > policy.fwdoc
 - 2006 by Volker Tanger < volker.tanger@wyae.de>

.................

Reading Done.

Printing ruleset to FWdoc into STDOUT.

Done


 -fwdoc_to_html:

>type ..\fw1r55_to_fwdoc\policy.fwdoc   | ..\..\python\python fwdoc_to_html.py  1>_Standard.html
Traceback (most recent call last):
  File "fwdoc_to_html.py", line 302, in ?
    print "<img src=icons/%s.png>&nbsp;<a href=\"#OBJ_%s\">%s</a><br/>" % (fwdoc
['objects'][r]['type'], r, r)
KeyError: 'h'

- fwdoc_to_txt:

>type ..\fw1r55_to_fwdoc\policy.fwdoc   | ..\..\python\python fwdoc_to_txt.py  1>_Standard.txt
Traceback (most recent call last):
  File "fwdoc_to_txt.py", line 194, in ?
    for ainst in rule['install_on']:
KeyError: 'install_on'

-----------------------
It seems another problem with NAT implied rules. fwdoc_to_html and fwdoc_to_txt out files end with first NAT implied rule.

I'm sending you the .fwdoc file.

Thanks
------=_Part_108143_3113719.1183548276924--