Re: Split Kismet log file



Try:

tcpdump -r <your log file> -s 0 -w prefix -C 2

which will split your capture into 2meg chunks named prefix1, prefix2, etc. Alternatively, if you have editcap (which comes with wireshark) you can do:

editcap -c 10000 <your log file> prefix

to create files containing 10000 packets each named prefix-00000, prefix-00001, etc.

Chris

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.



------------------------------------------------------------------------
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
------------------------------------------------------------------------