Bug 434935

Summary: Show service rules in addition to port rules
Product: [Applications] systemsettings Reporter: Nate Graham <nate>
Component: kcm_firewallAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: kevin.kofler, lucas.biaggi, tcanabrava
Priority: NOR    
Version: 5.21.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=430947
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Firewall config comparisons
attachment-30941-0.html

Description Nate Graham 2021-03-25 14:31:28 UTC
Created attachment 137056 [details]
Firewall config comparisons

The KCM right now only shows port-based rules, but firewalls can have service rules too. openSUSE For example ships with firewalld enabled by default with a service blacklist and a fairly restrictive whitelist. However our KCM does not show any of this, so a user using it could be left with the impression that the firewall is wide open when in fact it is mostly closed. See attached screenshot.
Comment 1 Nate Graham 2021-03-25 14:32:03 UTC
For an example of where this information would have been helpful to show, see Bug 430947.
Comment 2 tcanabrava 2021-03-25 15:15:50 UTC
Created attachment 137059 [details]
attachment-30941-0.html

There’s an WIP patch with a half implementation. I just need to finish :)
with luck this weekend.


On Thu, 25 Mar 2021 at 14:31 Nate Graham <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=434935
>
>             Bug ID: 434935
>            Summary: Show service rules in addition to port rules
>            Product: systemsettings
>            Version: 5.21.3
>           Platform: Other
>                 OS: Linux
>             Status: REPORTED
>           Severity: normal
>           Priority: NOR
>          Component: kcm_firewall
>           Assignee: plasma-bugs@kde.org
>           Reporter: nate@kde.org
>                 CC: tcanabrava@kde.org
>   Target Milestone: ---
>
> Created attachment 137056 [details]
>   --> https://bugs.kde.org/attachment.cgi?id=137056&action=edit
> Firewall config comparisons
>
> The KCM right now only shows port-based rules, but firewalls can have
> service
> rules too. openSUSE For example ships with firewalld enabled by default
> with a
> service blacklist and a fairly restrictive whitelist. However our KCM does
> not
> show any of this, so a user using it could be left with the impression
> that the
> firewall is wide open when in fact it is mostly closed. See attached
> screenshot.
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
Comment 3 Nate Graham 2021-03-25 16:10:37 UTC
Cool!
Comment 4 Nate Graham 2021-03-31 01:50:44 UTC
*** Bug 434952 has been marked as a duplicate of this bug. ***
Comment 5 Lucas Biaggi 2022-10-21 22:37:27 UTC
This is already included and working. Closing it.