https://bugs.kde.org/show_bug.cgi?id=483661

            Bug ID: 483661
           Summary: Port number is shown as 0 in list of rules with
                    firewalld backend
    Classification: Applications
           Product: systemsettings
           Version: 6.0.2
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: kcm_firewall
          Assignee: plasma-b...@kde.org
          Reporter: ja...@jarno.ca
                CC: lucas.bia...@kde.org, tcanabr...@kde.org
  Target Milestone: ---

SUMMARY
When using the firewall screen in the system settings with the firewalld
backend, the list of rules are shown with from and to fields. The allowed
services are correctly identified, but the port is listed as (0/TCP)

STEPS TO REPRODUCE
1. Allow a service with firewalld, for example kdeconnect
2. Open the system settings and then go to firewall

OBSERVED RESULT
The service is listed as from 0.0.0.0 kdeconnect (0/TCP) to 0.0.0.0 kdeconnect
(0/TCP)

EXPECTED RESULT
No port should be shown or a list of ports since firewalld services can contain
multiple ports. For example, kdeconnect is 1714-1764/tcp and 1714-1764/udp

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 6.02
KDE Frameworks Version:  6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
The list of ports in a service is obtainable through:
firewall-cmd --permanent --service kdeconnect --get-ports

I'm not sure what the best course is here. If it should show all of the ports
in the service, I imagine the text field can become pretty long. Not showing
the ports and just listing the service would be cleaner I guess.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to