
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
This is a KDE control center module to configure and control the Uncomplicated Firewall, as shipped with Kubuntu 10.10. The following features are supported:
1. Enable/disable firewall
2. Configure firewall default settings
3. Add, edit, and remove rules
4. Re-order rules via drag'n'drop
5. Import/export of rules
6. Setting of some IP tables modules
The module will appear under "Network and Connectivty" category.
**NOTE** 0.4.2 requires UFW 0.31 (as shipped with Kubuntu 12.04). For UFW 0.30 (as shipped with Kubuntu 11.10) please use 0.4.1
8 years ago
0.4.3
-----
1. Actually get this to work with Kubuntu 12.04!!!
0.4.2
-----
1. Add support for UFW 0.31 - thanks to ufw-frontends author Darwin Baustista for very kindly supplying a patch.
0.4.1
-----
1. Fix loading of profiles.
0.4.0
-----
1. Add a simple log file viewer.
2. Save profiles into /etc/kcm_ufw - this way they are system-wide.
3. Store rule descriptions in etc/kcm_ufw, as they are part of this kcm, not ufw itself.
4. Block further actions, until current one is complete.
5. Set size of policy combos in simple and advanced pages to the same size - to mimimize flicker. (Not sure why they have different sizes.)
6. Make text field of simple port the same size as the combo.
7. Change column order of rules list to "Action, From, To, ..."
8. Make 'Add Rule' dialog non-modal, so that 'Log Viewer' and 'Add Rule' can be used concurrently.
9. Shorten IPv6 address - if possible.
10. Fix selection of host radio when editing rules.
11. Fix installation of JPEG files for Spanish documentation.
12. Default to installing all translations.
8 years ago
0.4.3
-----
1. Actually get this to work with Kubuntu 12.04!!!
0.4.2
-----
1. Add support for UFW 0.31 - thanks to ufw-frontends author Darwin Baustista for very kindly supplying a patch.
0.4.1
-----
1. Fix loading of profiles.
0.4.0
-----
1. Add a simple log file viewer.
2. Save profiles into /etc/kcm_ufw - this way they are system-wide.
3. Store rule descriptions in etc/kcm_ufw, as they are part of this kcm, not ufw itself.
4. Block further actions, until current one is complete.
5. Set size of policy combos in simple and advanced pages to the same size - to mimimize flicker. (Not sure why they have different sizes.)
6. Make text field of simple port the same size as the combo.
7. Change column order of rules list to "Action, From, To, ..."
8. Make 'Add Rule' dialog non-modal, so that 'Log Viewer' and 'Add Rule' can be used concurrently.
9. Shorten IPv6 address - if possible.
10. Fix selection of host radio when editing rules.
11. Fix installation of JPEG files for Spanish documentation.
12. Default to installing all translations.
Rebelyouth
9 years ago
compliment for the Kde module is really good!
Are you think to include in the new version :
Listening port and Dbus notification ?
That two would be great!!!!
Thanks again for this great Kde module
PS I created a Debian Sid package on my site rebelyouth.wordpress.com feel free to download
Report
Rebelyouth
9 years ago
Load Profile doesn't work
I tried to change permission to the file and also to run System Setting from root but still nothing
Report
mavron
9 years ago
I've compiled and installed it on a Kubuntu 11.10, and it looks like a pretty nice project.
Nevertheless, it seems that I can't load profiles.
I've created 4 of them, they're correctly stored in /etc/kcm_ufw and I can see them in the drop down box (KCM -> Firewall -> Profiles -> Load Profile).
Anyway, when I click on one of them, nothing happens.
I've also tried to play with the python helper, but it doesn't seem to have a loadprofile option, and the others (add, update, setDefaults) just don't do the job.
Any idea?
Thx,
mav
PS
Heres one of the profiles:
Quote:
-> cat /etc/kcm_ufw/03_SomeService_\(SSH\,FTP\,HTTP\,HTTPS\,8080\,8443\).ufw
<ufw full="true" >
<defaults ipv6="no" loglevel="low" incoming="deny" outgoing="allow"/>
<rules>
<rule direction="in" v6="False" action="allow" descr="IN - Torrent" logtype="" dport="6882" hash="cd5e57462c0c877534df7ad53ef1caa5"/>
<rule protocol="tcp" direction="in" v6="False" action="allow" descr="IN - Torrent" logtype="" dport="6881" hash="1c3401adc6f71ef56a3280dbf33ef635"/>
<rule protocol="udp" direction="in" v6="False" action="allow" descr="IN - Torrent" logtype="" dport="4444" hash="91939fc508416200a8c51019980b92e1"/>
<rule direction="in" v6="False" action="allow" logtype="" dport="21"/>
<rule direction="in" v6="False" action="allow" logtype="" dport="80"/>
<rule direction="in" v6="False" action="allow" logtype="" dport="443"/>
<rule protocol="tcp" direction="in" v6="False" action="allow" descr="IN - 8080" logtype="" dport="8080" hash="3ffe6c2e0230196441eb4e752e041923"/>
<rule protocol="tcp" direction="in" v6="False" action="allow" descr="IN - 8443" logtype="" dport="8443" hash="5e3791634d466b6be8e42e180c7c784e"/>
</rules>
<modules enabled="nf_conntrack_ftp nf_nat_ftp nf_conntrack_netbios_ns" />
</ufw>
Report
mck182
9 years ago
Report
CraigD
9 years ago
/usr/lib/kde4/libexec/kcm_ufw_helper.py --status --defaults --list --modules
Report
mck182
9 years ago
Report
TommyCZ
9 years ago
Report
CraigD
9 years ago
Report
kubicle
9 years ago
At least on my machine, kcm_ufw_helper/kdebug seems to create a file /.kde/share/config/kdebugrc
(that's .kde under the root directory), contents:
[kcm_ufw_helper]
InfoOutput=4
I'm guessing that should be added to /root/.kde/share/config/kdebugrc
Not sure if this is a universal bug, though.
Details of my setup:
Kubuntu Oneiric Ocelot (devel version)
UFW Kcontrol module 0.2.1 (built from source)
Report
CraigD
9 years ago
Report
kubicle
9 years ago
KAuth seems a likely canditate as I seem to also have /.config/Trolltech.conf that lists kauth plugins and nothing else.
There could be something in KAuth that confuses / and /root. I'll take a look if I can make any sense of it (unlikely) and possibly file a bug at BKO (I hate to write vague bug reports like the one I wrote for you ;), I mainly wanted to confirm it wasn't a local issue)
Report
CraigD
9 years ago
Can you try editing helper.cpp and replace:
#include <KDE/KDebug>
with:
#include <QtCore/QDebug>
and then replace all "kDebug()" with "qDebug()". Recompile, etc, and see if this fixes the issue? Thanks.
Report
TommyCZ
9 years ago
Also if I disabled it (firewall), the HoN couldn't run. So I had to install Gufw and disable it from it, after that, HoN worked.
Report
CraigD
9 years ago
Also, un-checking the "Firewall status" checkbox disables UFW. Again, tyeping "sudo ufw status" from a commandline will confirm this.
Which version of Kubuntu are you on? I started with 10.10, but am now on 11.04
Report
dgvirtual
9 years ago
I installed a package for Ubuntu Natty on a Maverick system, so the placement of the kcm module might be outdated, but it is strange that the module is placed as a separate entry under "System administration" heading.
I think it is network related, so it should perhaps go under "Network and Connection " heading and perhaps – under "Network Settings"?
Report
CraigD
9 years ago
Report
YAFU
9 years ago
Compiling as you said in an earlier comment it works (in /usr/lib/kde4)
Thanks.
Report
YAFU
9 years ago
Report
Amnon82
9 years ago
http://gitorious.org/chakra-packages/apps/blobs/master/kcm-ufw/PKGBUILD
I had to hack the install destination folder to fit our chroot buildsystem ...
Report
SilentDis
9 years ago
There is no INSTALL file.
Report
CraigD
9 years ago
1. cmake . -DCMAKE_INSTALL_PREFIX=/usr
2. make
3. sudo make install
Report
YAFU
9 years ago
Anyway I think it is better to control the firewall via a module like yours.
Thanks.
Report
CraigD
9 years ago
Report