Warning: session_start(): open(/tmp/sess_h5s5jlhv22tijfl6o3i22p59u7, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
kfirewatcher openDesktop.org
-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans  .- Knowledge Base  . 

kfirewatcher

   0.8  

KDE Kommander Script

Score 75%
kfirewatcher
zoom


kfirewatcher
zoom


Link:  http://
Downloads:  1669
Submitted:  Jan 25 2006
Updated:  Feb 4 2006

Description:

Little app to view the firewall logs
in a more readable form.
(just remote ip address, local if local connection, only the needed infos...)
Needs kommander 3.5, and a separate
firewall-log file (you can separate firewall lines with syslog-ng).

Accepts logs multilines with line format (standard iptables):
Dec 12 12:14:47 Machine Prefix:IN=eth0 OUT= MAC=00:13:8f:4f:59:fc:00:04:ed:00:01:91:08:00 SRC=220.253.135.60 DST=192.168.1.57 LEN=48 TOS=0x10 PREC=0x40 TTL=107 ID=2699 DF PROTO=TCP SPT=1187 DPT=6081 WINDOW=65535 RES=0x00 SYN URGP=0




Changelog:

0.8: added tools (rightclick a line to set his remote ip as observed one):
whois, a rudimentary ping, ban,unban and clean (require root privileges through
kdesu, care that clean uses unsecure ip list so users could arbitrary unban
ip from you machine, don't save iptables!!! iptables part is meant for
session-only, cleaned at reboot).
Tools features are still experimental.

0.7: fixed save function (will create ~/.scripti if not already present), added new function: rightclick on a cell to
have its text copied into clipboard
(actually working only if the script is
NOT executed as different user)

0.6: fixed a bug with OUT direction parameters (IP and ports are now
corrected,as you may check in new screen)




LicenseGPL
Send to a friend
Subscribe
Other  Content  from mattepiu
Report inappropriate content



-

 explanation

 
 by mattepiu on: Jan 25 2006
 
Score 50%

I just noticed I wrote "you can separate
firewall log lines with syslog-ng" without
explaining how....

A first idea of how to do is at http://forums.gentoo.org/viewtopic-p-2187309.html
under
Section 7: Logging Shorewall Messages

You can use any firewall as long your firewall log lines contains a "Prefix"
word after date and machine name. I'm using it with kmyfirewall.


Reply to this

-

 explanation

 
 by mattepiu on: Jan 25 2006
 
Score 50%

I just noticed I wrote "you can separate
firewall log lines with syslog-ng" without
explaining how....

A first idea of how to do is at http://forums.gentoo.org/viewtopic-p-2187309.html
under
Section 7: Logging Shorewall Messages

You can use any firewall as long your firewall log lines contains a "Prefix"
word after date and machine name. I'm using it with kmyfirewall.


Reply to this

-

 syslog-ng config

 
 by mattepiu on: Jan 27 2006
 
Score 50%

Ok, here my /etc/syslog-ng.conf , CARE IT WILL ALLOW ANY USER TO READ THE LOGS,
just change KMF to any prefix you choosed for your firewall logs (or change it to KMF in iptables rules),
bold parts are those you need to add:

# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo,v 1.5 2005/05/12 05:46:10 mr_bones_ Exp $
#
# Syslog-ng default configuration file for Gentoo Linux
# contributed by Michael Sterrett

options {
chain_hostnames(off);
sync(0);

# The default action of syslog-ng 1.6.0 is to log a STATS line
# to the file every 10 minutes. That's pretty ugly after a while.
# Change it to every 12 hours so you get a nice daily update of
# how many messages syslog-ng missed (0).
stats(43200);
};

source src { unix-stream("/dev/log"); internal(); pipe("/proc/kmsg"); };
source kernsrc { pipe("/proc/kmsg"); };
## You do need to add these lines though

destination d_shorewall{ file ("/var/log/kmyf/kmyf.log" create_dirs(yes) perm(0644)); };
filter f_shorewall { match ("KMF"); };

destination kern { file("/var/log/kernel/current"); };
filter f_kern { facility(kern); };

## If you don't want shorewall messages logged to
## /var/log/messages anymore add this filter as well

filter f_not_shorewall { not match ("KMF"); };

## Then add this to log messages to your shorewall log

log { source(src); filter (f_shorewall); destination (d_shorewall); };
log { source(kernsrc); filter(f_kern); destination(kern); };

## If you don't want shorewall messages logged to
## any other destination, such as /var/log/messages
## just use the f_not_shorewall filter like so

destination messages { file("/var/log/messages"); };

log { source(src); filter (f_not_shorewall);destination(messages); };

# By default messages are logged to tty12...
destination console_all { file("/dev/tty12"); };
# ...if you intend to use /dev/console for programs like xconsole
# you can comment out the destination line above that references /dev/tty12
# and uncomment the line below.
#destination console_all { file("/dev/console"); };

#log { source(src); destination(messages); };
log { source(src); destination(console_all); };


Reply to this

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team