Skip to contentSkip to conversation

Logging suggestions

DISCUSSION hareram 5 participants 7 messages Apr 12, 2005 – Apr 13, 2005

lore
Share & tools
lore

hareram

author
#0 lore raw

Hi all

I have large capacity link like STM with my provider
Iam planning to log the every packet, source IP , Dest IP, Src port, Dest port , Type of Service what kind of system configuration recommended

what kind of logging system is better ?
iam trying to use Ulogd and try to log every packet, but the kernel crashes after 5min

i have Xeon 1GB ram with 40GB Scsi HDD running FC1

How can logging whole history of the packet with the better performance with out any payload to the user access, and transparently

any suggestions will be appreciated

hare

#1 lore raw

Oh, my, that will be tough. Keep in mind that you will quite likely be generating more data doing the log than you will be having pass through your box, especially if the traffic has a small payload. I would really be tempted to look at using TCPDump to dump everything to a file and then parse the file. I don't think the LOG or ULOG target are designed for such high traffic volumes. Even if they were, LOG logs to SYSLOG, which it in and of it's self is not meant for that high of a volume. I've never messed with ULOG so I can't say. Are you needing payload as well or just header information? I still think TCPDump or some form of an IDS would be a better bet. Try taking a look at Snort and see if that will come close to what you need.

Grant. . . .

Quoted 20 lines · hareram

Hi all

I have large capacity link like STM with my provider
Iam planning to log the every packet, source IP , Dest IP, Src port, Dest port , Type of Service what kind of system configuration recommended

what kind of logging system is better ?
iam trying to use Ulogd and try to log every packet, but the kernel crashes after 5min

i have Xeon 1GB ram with 40GB Scsi HDD running FC1

How can logging whole history of the packet with the better performance with out any payload to the user access, and transparently

any suggestions will be appreciated

hare

#3 lore raw
In reply to hareram
Quoted 4 lines · hareram

I have large capacity link like STM with my provider
Iam planning to log the every packet, source IP , Dest IP, Src port, Dest port , Type of Service
what kind of system configuration recommended

First of all, I would advise to think if you really really need the logging of every packet that badly. Perhaps only logging new connections would be sufficient. Otherwise you'll generate huge amounts of data. Especially, if your link is quite full.

Signature · 4 lines
/\-\/\-\/\-\/\-\/\-\/\-\/\ Irrelevant  proper  order  of words is, yes.
\  [email protected]   / Yoda of Borg
/ http://epsilon.eu.org/ \ 
\/-/\/-/\/-/\/-/\/-/\/-/\/ 
#2 lore raw
In reply to Taylor, Grant

http://www.qosient.com/argus/

is maybe what you need. it runs stable and i always found the data i needed.

cheers
moritz

Quoted 30 lines · Grant

Oh, my, that will be tough. Keep in mind that you will quite likely be generating more data doing the log than you will be having pass through your box, especially if the traffic has a small payload. I would really be tempted to look at using TCPDump to dump everything to a file and then parse the file. I don't think the LOG or ULOG target are designed for such high traffic volumes. Even if they were, LOG logs to SYSLOG, which it in and of it's self is not meant for that high of a volume. I've never messed with ULOG so I can't say. Are you needing payload as well or just header information? I still think TCPDump or some form of an IDS would be a better bet. Try taking a look at Snort and see if that will come close to what you need.

Grant. . . .

Quoted 20 lines · hareram

Hi all

I have large capacity link like STM with my provider
Iam planning to log the every packet, source IP , Dest IP, Src port, Dest port , Type of Service what kind of system configuration recommended

what kind of logging system is better ?
iam trying to use Ulogd and try to log every packet, but the kernel crashes after 5min

i have Xeon 1GB ram with 40GB Scsi HDD running FC1

How can logging whole history of the packet with the better performance with out any payload to the user access, and transparently

any suggestions will be appreciated

hare

Signature · 5 lines
Uplink student association
Moritz Gartenmeister
Bülachstrasse 1 F
8057 Zürich
Switzerland
#6 lore raw
In reply to hareram
Quoted 4 lines · hareram

I have large capacity link like STM with my provider
Iam planning to log the every packet, source IP , Dest IP, Src port, Dest port , Type of Service
what kind of system configuration recommended

If you want to do this for accounting purposes, then it is feasible to sum up packet count and packet size. ulog-acctd can be used for that purpose.

Greetings
Marc

Signature · 4 lines
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835
author
#4 lore raw
In reply to Mariusz Kruk

Hi

thanks for the
Suggestions

can you point me to how can loggin only new connections any docs or examples will be helpfull

hare
----- Original Message ----- From: "Mariusz Kruk" <[email protected]>
To: <[email protected]>
Sent: Tuesday, April 12, 2005 9:41 PM
Subject: Re: Logging suggestions

Quoted 19 lines · hareram
Quoted 4 lines

I have large capacity link like STM with my provider
Iam planning to log the every packet, source IP , Dest IP, Src port, Dest port , Type of Service
what kind of system configuration recommended

First of all, I would advise to think if you really really need the logging of every packet that badly. Perhaps only logging new connections would be sufficient. Otherwise you'll generate huge amounts of data. Especially, if your link is quite full.

Signature · 4 lines
/\-\/\-\/\-\/\-\/\-\/\-\/\ Irrelevant  proper  order  of words is, yes.
\  [email protected]   / Yoda of Borg
/ http://epsilon.eu.org/ \
\/-/\/-/\/-/\/-/\/-/\/-/\/
#5 lore raw
Quoted 2 lines

can you point me to how can loggin only new connections any docs or examples will be helpfull

iptables -t filter -A FORWARD -i $INet -o $LAN -m state --state NEW -j LOG

Grant. . . .