Bug 461725

Summary: Plasma Firewall doesn't allow adding rules with IP ranges that contain backslash character (/)
Product: [Applications] systemsettings Reporter: thebluequasar
Component: kcm_firewallAssignee: Plasma Bugs List <plasma-bugs>
Severity: normal CC: lucas.biaggi, p.r.worrall, tcanabrava, thebluequasar
Priority: NOR    
Version: 5.26.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:

Description thebluequasar 2022-11-12 11:14:32 UTC
Adding firewall rules with IP ranges in the Plasma Firewall is not possible, as it doesn't seem to allow backslash character in the IP address boxes.

1. Open system settings and go to Firewall section,
2. After opening the add rule pop-up window, check advanced option
3. Try typing anything in the source or destination box that contains IP range and backslash (/) character, like for the entire local network IP addresses.
4. You won't be able to type the backslash character and that rule cannot be created from Plasma Firewall, even though UFW does support such rules

It is not possible to add a rule with IP ranges in the Plasma firewall, because it doesn't allow adding backslash characters in the IP source or destination boxes

As UFW does support adding such rules, Plasma Firewall should support adding them, too.

Linux/KDE Plasma: KDE Neon User 5.26
(available in About System)
KDE Plasma Version: 5.26.2
KDE Frameworks Version: 5.99
Qt Version: 5.15.7
Kernel: 5.15.0-52 generic 64bit
UFW version: 0.36.1-4build1 (From Ubuntu main repositories)
Comment 1 Paul Worrall 2022-11-12 19:30:12 UTC

*** This bug has been marked as a duplicate of bug 434317 ***