Bug 499205

Summary: Ufw is missing a kdeconnect firewall rule
Product: [Applications] systemsettings Reporter: kde.referable804
Component: kcm_firewallAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: wishlist CC: lucas.biaggi, nate, tcanabrava
Priority: NOR    
Version First Reported In: 6.2.5   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description kde.referable804 2025-01-27 17:07:49 UTC
SUMMARY
Please make a firewall rule for the KDE connect application.

STEPS TO REPRODUCE
1. Open system settings
2. go to Wi-Fi & Internet
3. Enter the Firewall tab
4. Click on Add Rule...
5. Click on the drop down next to Application:

OBSERVED RESULT
There is no KDE connect application firewall rule.

EXPECTED RESULT
There is a KDE connect firewall rule.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Comment 1 Nate Graham 2025-01-28 00:17:36 UTC
What firewall backend are you using? Ufw or firewalld?
Comment 2 Nate Graham 2025-01-28 00:18:39 UTC
FWIW I see an entry for "kdeconnect" with the firewalld backend.
Comment 3 2wxsy58236r3 2025-01-28 09:40:44 UTC
I believe this is because firewalld's source code contains an entry for KDE Connect [1] while ufw's source code does not. [2]

plasma-firewall does not have its own set of rules and the available rule presets are provided by the backend used.

[1] https://github.com/firewalld/firewalld/blob/main/config/services/kdeconnect.xml
[2] https://git.launchpad.net/ufw/tree/profiles
Comment 4 kde.referable804 2025-01-28 10:17:17 UTC
(In reply to Nate Graham from comment #1)
> What firewall backend are you using? Ufw or firewalld?

I'm using UFW as the firewall backend.