
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.
ab4bd
4 years ago
Report
dadexix86
7 years ago
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? :)
Report
Axtroz
6 years ago
Report
x11tete11x
7 years ago
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
Report
amcollie
8 years ago
Report
avlas
8 years ago
Report
moray33
8 years ago
Report
franciscot
8 years ago
Report
axanon
8 years ago
Report
CraigD
8 years ago
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.
Report
afettouhi
8 years ago
Report
CraigD
8 years ago
Report
moray33
8 years ago
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'
Report
CraigD
8 years ago
------------------------
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.
Report
moray33
8 years ago
Report
Aoxo
8 years ago
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.
Report
Shadowed87
8 years ago
Report
afettouhi
8 years ago
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'
Report
franciscot
8 years ago
My PPA: https://launchpad.net/~leviatan1/+archive/ppa
Anyway, I don't have access to 0.41 source to try it.
Report
franciscot
8 years ago
Report
axanon
8 years ago
Report
moray33
8 years ago
Report
CraigD
8 years ago
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.
Report
electron222
9 years ago
(http://www.kubuntu-es.org/foro/201103/cortafuegos-simple-facil-ufw-kcontrol-module-modulo-kcm-uncomplicated-firewall)
Report
YAFU
9 years ago
I think the versions on the download links are old. Maybe KDE-Apps has not updated the links.
Thank you :-)
Report