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

            Bug ID: 458824
           Summary: Plasma-Firewall "Disconnects" from the Backend on Use
           Product: systemsettings
           Version: 5.25.4
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Keywords: needs_verification, usability
          Severity: major
          Priority: NOR
         Component: kcm_firewall
          Assignee: plasma-b...@kde.org
          Reporter: nekone...@protonmail.ch
                CC: tcanabr...@kde.org
  Target Milestone: ---

Created attachment 151875
  --> https://bugs.kde.org/attachment.cgi?id=151875&action=edit
Screenshot of Error

SUMMARY
When attempting to add rules with UFW installed (and enabled) via
plasma-firewall, attempting to use advanced settings after using a
simple-setting rule throws an error message to restart plasma-firewall because
it "disconnected" from the backend. However, restarting neither plasma-firewall
nor UFW fixes this issue, effectively breaking the application and rendering it
useless.

This is an old issue for me; I'm not 100% sure if this is the only way to
trigger it, because I encounter this issue *every time* I've *ever* used
plasma-firewall since release, but this is pretty much all I did besides trying
to edit a newly created rule because it was mis-labeled.


STEPS TO REPRODUCE
1. Start the UFW service and daemon-reload, if necessary
2. Open systemsettings
3. Go to Firewall
4. Enable the firewall, if not already enabled
5. Add a new rule (in this example, just add Minecraft from the "simple" menu
and permit incoming traffic for it)
6. Add a new rule for SSH (actually select it in the "simple" menu first) and
select any destination port in the advanced menu (this should probably work)
7. See that it labeled this new rule as "Minecraft" for some reason
8. Attempt to edit this rule and change its application name back to SSH and
click apply
9. A "backend" error occurs and new rules aren't able to be created

OBSERVED RESULT
An error occurs that prevents editing and adding rules to the firewall list

EXPECTED RESULT
Plasma-firewall shouldn't throw errors when editing existing rules nor prevent
new rules from being created

SOFTWARE/OS VERSIONS
Linux: Arch Linux x86_64
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION
N/A

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

Reply via email to