KLogWatch

System Software

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

0
Score 50.0%
Description:

KLogWatch sits in the system tray and monitors a kernel log file for Netfilter (ie. iptables) log lines. Clicking on the System Tray icon opens up a window with a history of all the logged packets. Users can then perform basic operations on the packet information (whois, traceroute, host, etc.).
Last changelog:

12 years ago

Version 2.0.3:
Do proper column sorting on addresses and ports.

Version 2.0.2:
Be sure to save config when a session closes
Add ping command
Actually use dest IP address when doing traceroute on dest IP
Allow use of $(DESTDIR) during installation. Thanks to Tiziano Mueller for the initial patch.

Version 2.0.1:
Fixed error message reporting of an invalid logfile

Version 2.0:
New features:
* New columns to account for all netfilter log info
* Select which columns to see
* Column size and order saved
* Window size and position saved
* Right mouse button actions
* Adjustable print font
* Can now print/save window contents or raw log messages

Changes:
* Some code cleanups; more on the way
* Changing configuration does not require restart
* Desktop file installed automatically
* Removed popup on alert action; all alerts appear in the tray
* Debian package files and RPM spec file included

Version 1.8.4:

Fixed bug in Save As option
New cleaner icons
Added uninstall make target

Version 1.8.3:

Corrected to work properly when log-rotation occurs
Use proper KDE config file location
(Copy your ~/.klogwatch to ~/.kde/share/config/klogwatchrc).
Don't scroll down to new packets if window already visible

Version 1.8.2:

Corrected "parsed == false" assertion failure on startup under latest KDE versions.

Version 1.8.1:

Fixed SIGABRT Mandrake problem where /var/log/kernel is a directory

Version 1.8:

Fixed the autoconf system for Fedora/Mandrake/Debian
Added sort by destination port
Lookup protocol numbers in /etc/protocols to give names

luctor

15 years ago

When I run klogwatch, the following message appears:

[rob@luctor ~]$ klogwatch
klogwatch: kcmdlineargs.cpp:227: static void KCmdLineArgs::addCmdLineOptions(const KCmdLineOptions*, const char*, const char*, const char*):Assertion `parsed == false' failed.
Aborted

But when I run it with de -d option, it runs fine.

Report

nickbattle

15 years ago

It looks like you've spotted a problem with the way newer versions of KDE parse their command line arguments. I've sent you a suggested patch by email. If that works, let me know and I'll issue 1.8.2.

Thanks for telling me about this.

Report

nickbattle

15 years ago

OK, fixed in version 1.8.2.

Cheers,
-nick

Report

nickbattle

15 years ago

It appears the KLogWatch autoconf system isn't smart enough to figure out the KDE/Qt lib and include directories on some distributions - particularly Fedora, Debian and Mandrake.

These will be fixed in release 1.8, due out shortly.

Report

nickbattle

15 years ago

OK, all fixed now. Should compile on all distros (that I know of!) and the nasty SIGABRT problem on Mandrake is fixed too - it was because on Mandrake 10, the default /var/log/kernel location is a directory when the program was expecting it to be a regular file.

Report

nickbattle

15 years ago

Has anyone managed to build KLogWatch on Fedora? Apparently it doesn't install the KDE devel packages in places that the configure script looks for by default. If someone could supply a ./configure line that does the trick I'd be grateful.

Report

hotsaffire59

15 years ago

This is the application I've been waiting for. Very very very good.

Report

12 years ago

Version 2.0.3:
Do proper column sorting on addresses and ports.

Version 2.0.2:
Be sure to save config when a session closes
Add ping command
Actually use dest IP address when doing traceroute on dest IP
Allow use of $(DESTDIR) during installation. Thanks to Tiziano Mueller for the initial patch.

Version 2.0.1:
Fixed error message reporting of an invalid logfile

Version 2.0:
New features:
* New columns to account for all netfilter log info
* Select which columns to see
* Column size and order saved
* Window size and position saved
* Right mouse button actions
* Adjustable print font
* Can now print/save window contents or raw log messages

Changes:
* Some code cleanups; more on the way
* Changing configuration does not require restart
* Desktop file installed automatically
* Removed popup on alert action; all alerts appear in the tray
* Debian package files and RPM spec file included

Version 1.8.4:

Fixed bug in Save As option
New cleaner icons
Added uninstall make target

Version 1.8.3:

Corrected to work properly when log-rotation occurs
Use proper KDE config file location
(Copy your ~/.klogwatch to ~/.kde/share/config/klogwatchrc).
Don't scroll down to new packets if window already visible

Version 1.8.2:

Corrected "parsed == false" assertion failure on startup under latest KDE versions.

Version 1.8.1:

Fixed SIGABRT Mandrake problem where /var/log/kernel is a directory

Version 1.8:

Fixed the autoconf system for Fedora/Mandrake/Debian
Added sort by destination port
Lookup protocol numbers in /etc/protocols to give names

12345678910
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install MD5SUM
*Needs ocs-url or ocs-store to install things
Pling
Details
license
version
2.0.3
updated Dec 17 2006
added Jan 28 2004
downloads 24h
0
page views 24h 3
System Tags app software