Networking Forums

Networking Forums > Computer Networking > Linux Networking > IP Logging with Tethereal

Reply
Thread Tools Display Modes

IP Logging with Tethereal

 
 
osolemio
Guest
Posts: n/a

 
      10-04-2005, 07:17 AM
Hi everybody
I have some internet points with Linux o.s. (RH8, RH9, Fedora1)
configured as Gateways.
A few PCs in the lans use these gws to browse over the internet.
For a log of the connections, with some content decode, I use tethereal
launched in the rc.local like this:

tethereal -i eth1 -q -n -p -t ad -R "http.request==TRUE or
(tcp.flags.syn==1 and tcp.flags.ack==0)" >`date '+%y%m%d%H%M%S'`.ethlog
&

It stay running and It creates a log file with the date/time as
filename and .ethlog as extension.
Well, it does work fine everywhere, except on a Fedora1 machine where
every 1/2 days I found it closed.
I have much traffic over that machine, but I have to notice that on
other machines the file reaches even 10 times bigger dimensions without
closing.
Can someone explain a reason why, and suggest a solution?
I thought about a daemon (I have one made by myself for another service
that doesn't have any problem) that launches tethereal and makes out
with a SIGNAL when tethereal closes, to re-launch it again. What about?
Do I risk something goes wrong and the daemon doesn't notice the
failure?
I could also think of an alternate solution: tcpdump doesn't allow me
the same filter and decoding as tethereal. Maybe does it exist some
other (better and safer) log sw?
Ty very much, I really need to solve this problem.
Marco 'Osolemio'

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
tcpump/tethereal scripts to capture and archive data guser@packetstorm.org Linux Networking 1 08-07-2006 07:52 PM
tethereal in RHEL 4 dorantes@mac.com Linux Networking 0 03-21-2006 05:45 PM
SSH logging cranium.2003@gmail.com Linux Networking 1 03-10-2006 06:14 AM
logging on allad Windows Networking 1 07-22-2003 11:32 AM
tethereal - Filter funktionieren nicht Timo Steinbach Linux Networking 1 06-29-2003 10:05 PM



1 2 3 4 5 6 7 8 9 10 11