Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Pen-Test
[Top] [All Lists]

Re: Split Kismet log file

Subject: Re: Split Kismet log file
Date: Sat, 23 Feb 2008 09:43:07 -0500
You can use tcpdump's -C option to split large packet captures:

-C
Before writing a raw packet to a  savefile, check whether the file  is
currently  larger than file_size and, if so, close the current savefile
and open a new one.  Savefiles after the  first savefile will  have the
name specified with the -w flag, with a number after it, starting at 1
and continuing upward.  The units of  file_size  are  millions  of bytes
 (1,000,000  bytes, not 1,048,576 bytes).

so:

tcpdump -r big.pcap -w little.pcap -C 35

would give you little.pcap, little.pcap1, little.pcap2, and so on.

-Phil

Matheus Michels wrote:
Hey guys,

Is there any way to split up a Kismet (tcpdump/libpcap format) log file in two or more pieces? I left Kismet sniffing in a high-traffic network and ended up with a huge 300 MB log file (about 600.000 packets), which freezes Wireshark if I try to dissect it. I cannot use a faster machine now, so I need to split this file in, at most, several 30-40 MB files.

Thanks in advance.

------------------------------------------------------------------------
This list is sponsored by: Cenzic

Need to secure your web apps NOW?
Cenzic finds more, "real" vulnerabilities fast.
Click to try it, buy it or download a solution FREE today!

http://www.cenzic.com/downloads
------------------------------------------------------------------------


------------------------------------------------------------------------ This list is sponsored by: Cenzic

Need to secure your web apps NOW?
Cenzic finds more, "real" vulnerabilities fast.
Click to try it, buy it or download a solution FREE today!

http://www.cenzic.com/downloads
------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>