Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

19
Become a Fan
8.3

Available as/for:
Description:
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
Last changelog:

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.


Ratings & Comments

48 Comments

ab4bd

Any chance you will port this to work with Kde Frameworks Plasma 5?

dadexix86

Hello, I am trying to build on Kubuntu 13.10. Although I installed the libqt4-dev package and many other for development, I am encountering this error:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
QT_QT_INCLUDE_DIR
   used as include directory in directory /home/davide/Scaricati/kcm_ufw-0.4.3/build/CMakeFiles/CMakeTmp

CMake Error: Internal CMake error, TryCompile configure of cmake failed

CMake Error at /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:1311 (message):
  Unable to compile a basic Qt application.  Qt has not been found correctly.
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (find_package)
  CMakeLists.txt:19 (find_package)


-- Configuring incomplete, errors occurred!
Can you help me please? :)

Axtroz

I think you need the qt4-dev-tools package in order to build Qt applications. Try apt-get install qt4-dev-tools, clean your build directory or unpack the archive and try building again, or better, try finding a .deb package to ensure system consistency.

x11tete11x

Hi im trying to make an rpm package, i do: mkdir build cd build cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` and then: make package and get this: error: Not a directory: /home/x11tete11x/Descargas/kcm_ufw-0.4.3/build/_CPack_Packages/Linux/RPM/kcm_ufw-0.4.3/usr/share/doc/kde/HTML/es/kcontrol/ufw/common error: Not a directory: /home/x11tete11x/Descargas/kcm_ufw-0.4.3/build/_CPack_Packages/Linux/RPM/kcm_ufw-0.4.3/usr/share/doc/kde/HTML/en/kcontrol/ufw/common Not a directory: /home/x11tete11x/Descargas/kcm_ufw-0.4.3/build/_CPack_Packages/Linux/RPM/kcm_ufw-0.4.3/usr/share/doc/kde/HTML/es/kcontrol/ufw/common Not a directory: /home/x11tete11x/Descargas/kcm_ufw-0.4.3/build/_CPack_Packages/Linux/RPM/kcm_ufw-0.4.3/usr/share/doc/kde/HTML/en/kcontrol/ufw/common *** CPack Error: Problem copying the package: /home/x11tete11x/Descargas/kcm_ufw-0.4.3/build/_CPack_Packages/Linux/RPM/kcm_ufw-0.4.3.rpm to /home/x11tete11x/Descargas/kcm_ufw-0.4.3/build/kcm_ufw-0.4.3.rpm CPack Error: Error when generating package: kcm_ufw make: *** [package] Error 1 can you help me? thx :D

amcollie

I am having a problem with kcm-ufw on debian linux 7 Wheezy x86_64. On my dell inspiron 9400, I have kernel 3.7.1 and kcm-ufw will disable itself if I try to enble logging and will not allow enbbling until logging is turned off and on my acer using stock kernel, I cannot disable ipv6.

avlas

to have it working in kubuntu 12.10 one needs to install also python-ufw

franciscot

In my issue, The profiles doesnt work properly. The out/in doesnt change with the profile and when I load a profile ufw is always disable.

moray33

Thank you very much for telling it!

axanon

Apparently there is a workaround, but I don't like it: https://aur.archlinux.org/packages.php?ID=46880

CraigD

I've just checked with KDE4.9 under Kubuntu 12.04 - and v0.4.3 works fine for me. What errors are you seeing? p.s. Please send bug reports to my email address (which is in the AUTHORS file in the tarball) - I don’t check kde-apps that often.

afettouhi

Are you going to release the update anytime soon?

CraigD

D'oh! Sorry, I had forgotten all about this. I'll try to upload the fixed version later.

moray33

(Kubuntu 12.04) I tried today to add a new rule and when I try i get this: No se pudo insertar la regla. Traceback (most recent call last): File "/usr/lib/kde4/libexec/kcm_ufw_helper.py", line 583, in main() File "/usr/lib/kde4/libexec/kcm_ufw_helper.py", line 535, in main addRule(ufw, a) File "/usr/lib/kde4/libexec/kcm_ufw_helper.py", line 393, in addRule rule=fromXml(xml) File "/usr/lib/kde4/libexec/kcm_ufw_helper.py", line 299, in fromXml rule = ufw.common.UFWRule(action, protocol) AttributeError: UFWFrontend instance has no attribute 'common'

Shadowed87

+1 on archlinux

Aoxo

Kubuntu 12.04 VMWare Player 4.0.2 UFW KControl Module 0.4.2 After finding gufw was crashing on me, I poked around for a KDE counterpart and found this great tool. After following the simple 5 steps to install, interrupted only by a few hours extensive forum searching and riddling around with installing the correct dev tools to compile this (wtb more install notes), I finally managed to build and install it. I created a couple simple rules for samba and things seem to work ok. I enabled the firewall and decided to work on the rest of the rules at a later time. Today I attempted to open up port 80 for a web server and got the following error: Traceback (most recent call last): File "/usr/lib/kde4/libexec/kcm_ufw_helper.py", line 583, in main() File "/usr/lib/kde4/libexec/kcm_ufw_helper.py", line 535, in main addRule(ufw, a) File "/usr/lib/kde4/libexec/kcm_ufw_helper.py", line 393, in addRule rule=fromXml(xml) File "/usr/lib/kde4/libexec/kcm_ufw_helper.py", line 299, in fromXml rule = ufw.common.UFWRule(action, protocol) AttributeError: UFWFrontend instance has no attribute 'common' I've been keeping the system updated, I suppose it's possible something changed elsewhere. I tried recompiling and re-installing but it had no effect.

CraigD

Only just updated to 12.04... Can you try editing helper/kcm_ufw_helper.py.cmake and add (without dashed lines!) ------------------------ from ufw.common import UFWRule ------------------------ ...at about line 47. Then at line 300 (was 299 in error message), change: ------------------------ rule = ufw.common.UFWRule(action, protocol) ------------------------ to ------------------------ rule = UFWRule(action, protocol) ------------------------ Then rebuild, and reinstall kcm_ufw. Does this fix the issue? It seems to for me at least... If so, I'll release an update.

moray33

Tested and working! Thanks!

afettouhi

[af@andre ~]$ sudo /usr/lib/kde4/libexec/kcm_ufw_helper.py --status --list Adgangskode: Traceback (most recent call last): File "/usr/lib/kde4/libexec/kcm_ufw_helper.py", line 577, in <module> main() File "/usr/lib/kde4/libexec/kcm_ufw_helper.py", line 516, in main getStatus(ufw, xmlOut) File "/usr/lib/kde4/libexec/kcm_ufw_helper.py", line 310, in getStatus if ufw.backend._is_enabled(): AttributeError: UFWBackendIptables instance has no attribute '_is_enabled'

franciscot

Same problem here. I use kubuntu 11.04 with ufw 0.30, maybe downgrade to 0.41 fix the problem? My PPA: https://launchpad.net/~leviatan1/+archive/ppa Anyway, I don't have access to 0.41 source to try it.

franciscot

0.4.1 is working again without problem.

axanon

/lib/ufw/ has been moved to /usr/lib/ufw/, and now this module no longer works.

moray33

It's true, I've noticed since several days ago. Kubuntu 12.04 Beta.

CraigD

I'm still on 11.10 :-( However, moving /lib/ufw to /usr/lib/ufw/ should not be the reason for the errors - as the stuff in there is not directly used by this kcm. What is the output of: sudo /usr/lib/kde4/libexec/kcm_ufw_helper.py --status --list This kcm uses 'kcm_ufw_helper.py' to do all the real work. And this python helper links into the ufw python modules.

electron222

Hola en los foros de kubuntu-es hay una interesante guia para la instalcion del programa :D (http://www.kubuntu-es.org/foro/201103/cortafuegos-simple-facil-ufw-kcontrol-module-modulo-kcm-uncomplicated-firewall)

YAFU

Hello. I think the versions on the download links are old. Maybe KDE-Apps has not updated the links. Thank you :-)

Pling
0 Affiliates
Details
license
version 0.4.3
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

More System Tools (NOT OS or ROMS) from CraigD:

Font Installer
CraigD
last update date: 19 years ago

Score 5.0

Other System Tools (NOT OS or ROMS):

KDE CDEmu Manager
marcel83
last update date: 11 months ago

Score 7.0

QPhotoRec
caezsar
last update date: 11 years ago

Score 5.7

Burg-manager
ingalex
last update date: 14 years ago

Score 7.4

Multi-Platform File Manager
Lunik
last update date: 21 years ago

Score 5.0

KFS
jrockey
last update date: 21 years ago

Score 5.0

dolphin-perforce-plugin
martin9000andersen
last update date: 11 years ago

Score 5.0



System Tags