You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm trying to convert a Juniper SSG config file to Fortigate, but every time I try I get an error.
Same error if I use as input one of the provided config files: marco@MNB:~/DirectFire_Converter$ python3 converter.py -c /home/marco/DirectFire_Converter/tests/netscreen/netscreen.txt -s netscreen -d fortigate Traceback (most recent call last): File "/home/marco/DirectFire_Converter/converter.py", line 261, in <module> main(src_format=args.source, dst_format=args.destination, routing_info=args.routing) File "/home/marco/.local/lib/python3.11/site-packages/traceback_with_variables/print.py", line 98, in wrapper return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/home/marco/DirectFire_Converter/converter.py", line 247, in main dst_config = generate(dst_format=dst_format, parsed_data=parsed_data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/marco/DirectFire_Converter/converter.py", line 177, in generate dst_config = generate(parsed_data) ^^^^^^^^^^^^^^^^^^^^^ File "/home/marco/DirectFire_Converter/DirectFire/Converter/generators/fortigate.py", line 362, in generate for ports in attributes["dst_ports"]: ~~~~~~~~~~^^^^^^^^^^^^^ KeyError: 'dst_ports'
I also tried using ciscoasa as destination, same thing.
It works if I use other firewalls as input (i.e. Juniper SRX to Fortigate).
Could you please help me solve this issue?
Thank you,
Marco
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to convert a Juniper SSG config file to Fortigate, but every time I try I get an error.
Same error if I use as input one of the provided config files:
marco@MNB:~/DirectFire_Converter$ python3 converter.py -c /home/marco/DirectFire_Converter/tests/netscreen/netscreen.txt -s netscreen -d fortigate Traceback (most recent call last): File "/home/marco/DirectFire_Converter/converter.py", line 261, in <module> main(src_format=args.source, dst_format=args.destination, routing_info=args.routing) File "/home/marco/.local/lib/python3.11/site-packages/traceback_with_variables/print.py", line 98, in wrapper return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/home/marco/DirectFire_Converter/converter.py", line 247, in main dst_config = generate(dst_format=dst_format, parsed_data=parsed_data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/marco/DirectFire_Converter/converter.py", line 177, in generate dst_config = generate(parsed_data) ^^^^^^^^^^^^^^^^^^^^^ File "/home/marco/DirectFire_Converter/DirectFire/Converter/generators/fortigate.py", line 362, in generate for ports in attributes["dst_ports"]: ~~~~~~~~~~^^^^^^^^^^^^^ KeyError: 'dst_ports'
I also tried using ciscoasa as destination, same thing.
It works if I use other firewalls as input (i.e. Juniper SRX to Fortigate).
Could you please help me solve this issue?
Thank you,
Marco
The text was updated successfully, but these errors were encountered: