Version: VyOS 1.4-rolling-202210260218
I am running a zone based firewall with multiple zones.
I can post the needed config parts, if needed.
When in operation mode, the show firewall commands either respond back with nothing or give an error. Below is a list of the commands and their responses.
vyos@vyos:~$ show firewall name fw_allowAll Traceback (most recent call last): Ruleset Information File "/usr/libexec/vyos/op_mode/firewall.py", line 341, in <module> show_firewall_name(args.name, args.ipv6) File "/usr/libexec/vyos/op_mode/firewall.py", line 216, in show_firewall_name firewall = get_config_firewall(conf, name, ipv6) File "/usr/libexec/vyos/op_mode/firewall.py", line 76, in get_config_firewall get_firewall_interfaces(firewall, name, ipv6) File "/usr/libexec/vyos/op_mode/firewall.py", line 31, in get_firewall_interfaces for ifname, if_conf in firewall['interface'].items(): AttributeError: 'list' object has no attribute 'items'
vyos@vyos:~$ show firewall name fw_allowAll rule 100 Rule Information Traceback (most recent call last): File "/usr/libexec/vyos/op_mode/firewall.py", line 343, in <module> show_firewall_rule(args.name, args.rule, args.ipv6) File "/usr/libexec/vyos/op_mode/firewall.py", line 224, in show_firewall_rule firewall = get_config_firewall(conf, name, ipv6) File "/usr/libexec/vyos/op_mode/firewall.py", line 76, in get_config_firewall get_firewall_interfaces(firewall, name, ipv6) File "/usr/libexec/vyos/op_mode/firewall.py", line 31, in get_firewall_interfaces for ifname, if_conf in firewall['interface'].items(): AttributeError: 'list' object has no attribute 'items'
This one is no response
vyos@vyos:~$ show zone-policy vyos@vyos:~$
vyos@vyos:~$ show zone-policy zone zn_Home vyos@vyos:~$