Networking Forums

Networking Forums > Computer Networking > Linux Networking > parsing very large tcpdump files

Reply
Thread Tools Display Modes

parsing very large tcpdump files

 
 
AA
Guest
Posts: n/a

 
      11-19-2004, 10:23 AM
I was wondering if anyone can recommend some tools (Opensource or
commercial) to automate the parsing of very large (many GB) tcpdump
files. I am trying to put together a generic toolset but in general some
things I'd like to do are:

1. Filter out traffic to/from a specific IP address or range
2. Reconstruct all reconstructable sessions in an easy to parse way:
emails, web sites visited (and content uploaded/downloaded), voip,
anything else imaginable.
3. Be able to search all of this data for keywords.

I know of a few tools to do individual tasks on a small scale, such as
mailsnarf, vomit, ethereal, etc. but it's not practical to use ethereal
or the others to parse these by hand. I've tried chaosreader.pl but it
bogs down on files as small as 200 MB.

I'd appreciate any input.

Thanks
 
Reply With Quote
 
 
 
 
Brendan Gregg
Guest
Posts: n/a

 
      12-20-2004, 08:16 AM
G'Day,

On Fri, 19 Nov 2004, AA wrote:

> I was wondering if anyone can recommend some tools (Opensource or
> commercial) to automate the parsing of very large (many GB) tcpdump
> files. I am trying to put together a generic toolset but in general some
> things I'd like to do are:
>
> 1. Filter out traffic to/from a specific IP address or range
> 2. Reconstruct all reconstructable sessions in an easy to parse way:
> emails, web sites visited (and content uploaded/downloaded), voip,
> anything else imaginable.
> 3. Be able to search all of this data for keywords.
>
> I know of a few tools to do individual tasks on a small scale, such as
> mailsnarf, vomit, ethereal, etc. but it's not practical to use ethereal
> or the others to parse these by hand. I've tried chaosreader.pl but it
> bogs down on files as small as 200 MB.


I wrote Chaosreader as a program to demonstrate the vulnerabilities of
plaintext protocols such as telnet, HTTP, FTP, X11, VNC, etc; while using
log files of around 10Mb.. (I had met some people who believed X11 to be
"safe" as the protocol was too hard to interpret and redisplay[1]).

A 200Mb demo is, erm, rather large. Don't use the "-ve" options as
they trigger Hex dumps - which consume a lot of memory. Someone did
explain a legitimate reason to me for processing huge files, so optimising
the memory footprint is on my todo list.

no worries,

Brendan Gregg

[Sydney, Australia]


[1] They were mostly right - raw X11 processing is awful.

 
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
distribute large files nico Windows Networking 0 06-02-2010 10:41 AM
Cannot download large files Daniel CLEMENT Windows Networking 0 04-22-2006 09:26 AM
transfer of large files Mikey Wireless Networks 0 10-24-2005 02:11 PM
problems with large files Michael Surette Linux Networking 15 08-04-2005 09:30 PM
Need some hints for DLing large files in C... dreamvigile Linux Networking 1 07-25-2003 11:20 PM



1 2 3 4 5 6 7 8 9 10 11