[Bug 1213609] New: Yast2 Firewall does not display configured Ports for zone
https://bugzilla.suse.com/show_bug.cgi?id=1213609 Bug ID: 1213609 Summary: Yast2 Firewall does not display configured Ports for zone Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: christian.tallner@gmx.de QA Contact: jsrain@suse.com Target Milestone: --- Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Build Identifier: I added TCP Port rules to my home zone in the Yast2 Firewall Configuration. After closing and opening the Firewall Configuration the Port is not visible. when executing "sudo firewall-cmd --list-all-zones" the configured port 8080 is listed though: home (active) target: default ingress-priority: 0 egress-priority: 0 icmp-block-inversion: no interfaces: wlo1 sources: services: dhcpv6-client kdeconnect mdns samba-client ssh ports: 8080/tcp protocols: forward: yes masquerade: no forward-ports: source-ports: icmp-blocks: rich rules: Reproducible: Always Steps to Reproduce: 1.Add a new Port rule for a zone in the Yast2 Firewall Configuration 2.Close the Firewall Configuration and restart Yast2 3.Open the Firewall Configuration and inspect the Ports tab of the zone. Actual Results: No Ports are displayed in the ports tab. Expected Results: The added Port should be displayed in the ports tab. It is only possible for me to remove the configured port by using firewall-cmd, You can not do so from the GUI, because it is not displayed. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1213609 Maxime Thirion <maxime.thirion@r-virtuel.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maxime.thirion@r-virtuel.ne | |t -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1213609 https://bugzilla.suse.com/show_bug.cgi?id=1213609#c2 --- Comment #2 from Maxime Thirion <maxime.thirion@r-virtuel.net> --- I have the same problem. For example, I want to add the SSH service in the "home" zone. The window closes immediately. When I open Yast2 firewall again, the service doesn't appear in the list of authorized services. However, the change has been made and is visible via firewall-cmd --list-all-zones. I encounter the same problem with cli and gui. No output is generated. Tumbleweed 20230729. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1213609 https://bugzilla.suse.com/show_bug.cgi?id=1213609#c3 Christian Tallner <christian.tallner@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |christian.tallner@gmx.de --- Comment #3 from Christian Tallner <christian.tallner@gmx.de> --- Created attachment 868722 --> https://bugzilla.suse.com/attachment.cgi?id=868722&action=edit Yast2 Logs -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1213609 https://bugzilla.suse.com/show_bug.cgi?id=1213609#c4 --- Comment #4 from Christian Tallner <christian.tallner@gmx.de> --- (In reply to Knut Alejandro Anderssen González from comment #1)
(In reply to Christian Tallner from comment #0)
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Build Identifier:
I added TCP Port rules to my home zone in the Yast2 Firewall Configuration. After closing and opening the Firewall Configuration the Port is not visible.
when executing "sudo firewall-cmd --list-all-zones" the configured port 8080 is listed though:
home (active) target: default ingress-priority: 0 egress-priority: 0 icmp-block-inversion: no interfaces: wlo1 sources: services: dhcpv6-client kdeconnect mdns samba-client ssh ports: 8080/tcp protocols: forward: yes masquerade: no forward-ports: source-ports: icmp-blocks: rich rules:
Reproducible: Always
Steps to Reproduce: 1.Add a new Port rule for a zone in the Yast2 Firewall Configuration 2.Close the Firewall Configuration and restart Yast2 3.Open the Firewall Configuration and inspect the Ports tab of the zone. Actual Results: No Ports are displayed in the ports tab.
Expected Results: The added Port should be displayed in the ports tab.
It is only possible for me to remove the configured port by using firewall-cmd, You can not do so from the GUI, because it is not displayed.
Would be nice to have logs as described here https://en.opensuse.org/openSUSE:Report_a_YaST_bug.
Which service action was done when applied the configuration, just a reloard or a restart of the service? The port is shown when running sudo firewall-cmd --permanent --list-all-zones
sudo firewall-cmd --permanent --list-all-zones Does not list the port. sudo firewall-cmd --list-all-zones Does list the port. I added the logs, sorry for the delay. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com