Bug 1218449 - Yast firewall configuration should show zone description
Summary: Yast firewall configuration should show zone description
Status: CONFIRMED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Enhancement (vote)
Target Milestone: ---
Assignee: YaST Team
QA Contact: Jiri Srain
URL: https://trello.com/c/UgXkyEqx
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-29 10:25 UTC by Alan Prescott
Modified: 2024-01-08 09:41 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Screenshot: yast-firewall with toplevel item selected (44.95 KB, image/png)
2024-01-02 09:36 UTC, Stefan Hundhammer
Details
Screenshot: yast-firewall with one specific zone selected (91.53 KB, image/png)
2024-01-02 09:38 UTC, Stefan Hundhammer
Details
Screenshot: yast-firewall after clicking the "Edit" button (31.21 KB, image/png)
2024-01-02 09:42 UTC, Stefan Hundhammer
Details
Screenshot: QDirStat with details panel (322.33 KB, image/png)
2024-01-02 09:47 UTC, Stefan Hundhammer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Prescott 2023-12-29 10:25:00 UTC
Yast firewall configuration holds a description for each zone but this is only accessible by editing the zone configuration.
It would help enormously if this description was shown on the table of zones otherwise the description is almost pointless.
Comment 1 Stefan Hundhammer 2024-01-02 09:33:23 UTC
You have a very valid point there. Most of those dialogs is just empty space anyway; that empty space could be put to better use.
Comment 2 Stefan Hundhammer 2024-01-02 09:36:14 UTC
Created attachment 871611 [details]
Screenshot: yast-firewall with toplevel item selected

Two thirds of this dialog is just empty space, yet the user doesn't get to see any hint what each of the zones is all about. Some zone names might give a hint, but not all do.
Comment 3 Stefan Hundhammer 2024-01-02 09:38:33 UTC
Created attachment 871612 [details]
Screenshot: yast-firewall with one specific zone selected

When selecting one of the zones, we can see some details about it - what services are known, and which of them are allowed.

Since it's the nature of a firewall to block almost everyting with few exceptions, the list of allowed service tends to be very much empty, again leaving a lot of empty space in the dialog.
Comment 4 Stefan Hundhammer 2024-01-02 09:42:00 UTC
Created attachment 871613 [details]
Screenshot: yast-firewall after clicking the "Edit" button

The only place in the whole module where the description of a zone is visible is indeed while editing it - which a normal user should probably not do anyway.

When creating a custom zone, this encourages the user to add a description, which is a good thing; but it's pretty useless if that description never becomes visible.

But in this screenshot we can also see that most descriptions are much too long to fit in the table; they would always be cut off, forcing the user to do a lot of horizontal scrolling. That would very much defeat the purpose of having it at all.
Comment 5 Stefan Hundhammer 2024-01-02 09:47:34 UTC
Created attachment 871614 [details]
Screenshot: QDirStat with details panel

So I would propose to display details about the currently selected item in a "details" panel very much like shown here.

But since the description is wider than it is tall, I would propose a multi-line output field below the table. It would probably make sense to fold the lines into the available width.
Comment 6 Stefan Hundhammer 2024-01-02 09:48:54 UTC
I was just pointed to this alternative GUI for firewall configuration:

https://software.opensuse.org/package/firewall-config
Comment 7 Stefan Hundhammer 2024-01-02 09:57:47 UTC
I just experimented a bit with that one, and no, it also doesn't show the description anywhere. But it's much more complex with many more GUI elements that make it appear cramped and over-complex. It might provide some more options, but IMHO it's intimidating; as a user I wouldn't want to touch it for fear of breaking things.
Comment 8 Stefan Hundhammer 2024-01-02 09:59:53 UTC
Moving to our Trello task queue.

But please be advised that it might take a while until we find the time to work on it.
Comment 9 Ancor Gonzalez Sosa 2024-01-08 09:41:59 UTC
(In reply to Stefan Hundhammer from comment #6)
> I was just pointed to this alternative GUI for firewall configuration:
> 
> https://software.opensuse.org/package/firewall-config

That's more or less the official GUI for Firewalld configuration. But it's only GUI and not TUI. That's the reason for yast2-firewall to still exist. If firewall-config would have worked also as TUI, we would have dropped yast2-firewall when switching from SUSEFirewall to Firewalld.