Skip to contentSkip to conversation

Looking for Log Analyzer

DISCUSSION Susan Sagan 5 participants 5 messages Jan 30, 2003 – Feb 21, 2003 netfilter

lore
Share & tools
lore
#0 lore raw

Before writing my own, I was wondering if there were tools available for analyzing the output log file from iptables. I was in particular looking for tools which created a variety of different reports. One such example being a report listing the top traffic generators.

Susan Sagan
Unix Systems Administrator
Ottawa Data Center, Unix Services
CGI Information Systems and Management
Phone: 613-740-5900 ext 5351
Fax: 613-749-2201
Email: [email protected]

#1 lore raw
Quoted 4 lines · Susan Sagan

Before writing my own, I was wondering if there were tools available for analyzing the output log file from iptables. I was in particular looking for tools which created a variety of different reports. One such example being a report listing the top traffic generators.

Try wflogs...
http://www.wallfire.org/wflogs/

RV

Signature · 4 lines
 _
(°=  Hervé Eychenne
//)
v_/_ WallFire project:  http://www.wallfire.org/
#2 lore raw

IPLIMIT Patch UDP

(Sorry, but my english is very bad)

Hi,

I compile with p-o-m the server kernel with IPLIMIT Patch by Gerd Knorr <[email protected]>

It work fine, i can limit ex: max 10 TCP connections on the server, but i want to limit the UDP connections to 10 (max).

How I can do it?

Alex

#3 lore raw

Re: IPLIMIT Patch UDP

Hi,

Quoted 4 lines · Ing. CIP Alejandro Celi Mariategui

(Sorry, but my english is very bad)

Hi,

Quoted 8 lines

I compile with p-o-m the server kernel with IPLIMIT Patch by Gerd Knorr <[email protected]>

It work fine, i can limit ex: max 10 TCP connections on the server, but i want to limit the UDP connections to 10 (max).

How I can do it?

This week I made a updlimit patch (shameless copy of iplimit ;-) I will post it this afternoon/evening when I have more time (and a cross post to the netfilter-devel list. Maybe they like it)

Greetz,
Jan.
------------------------------------- KULeuvenNet ------

#4 lore raw

Re: IPLIMIT Patch UDP

In reply to Ing. CIP Alejandro Celi Mariategui
Quoted 7 lines · Ing. CIP Alejandro Celi " Mariategui

(Sorry, but my english is very bad)

Hi,

I compile with p-o-m the server kernel with IPLIMIT Patch by Gerd Knorr <[email protected]>

Quoted 6 lines

It work fine, i can limit ex: max 10 TCP connections on the server, but i want to limit the UDP connections to 10 (max).

How I can do it?

Alex

The IPLIMIT patch is limited to only work with TCP. You'd likely need to write your own changes to the kernel. At a VERY quick glance, this:

+ /* refuse anything but tcp */
+ if (ip->proto != IPPROTO_TCP)
+ return 0;

in the IPLIMIT patch (in iplimit.c) MIGHT provide the solution if it accomodated IPPROTO_UPD as well as, or instead of, IPPROTO_TCP.

j