On Wed, Oct 6, 2010 at 11:08 PM, Chinna Morampalle (cmorampa)
<cmora...@cisco.com> wrote:
> Hi All,
>
> I am seeing issue  in running “tcpprep” on my capture file. I am using the
> following CLI for this.
>
>
>
> tcpprep --cidr=171.71.0.0/16,207.25.0.0/16 --pcap=http.pcap
> --cachefile=http.cache
>
>
>
> I am getting the following error:
>
>
>
> [r...@tcpreplay-lnx tcpreplay-3.4.4]# tcpprep
> --cidr=171.71.0.0/16,207.25.0.0/16 --pcap=http.pcap --cachefile=http.cache
>
>
>
> Fatal Error: Error opening file: bad dump file format
>
>
>
> Please advice me how to resolve this issue ?

your http.pcap file isn't a valid pcap file.  Wireshark may be able to
open it, but it supports a lot more file formats then pcap.   You can
use Wireshark's File->Save As feature to save it to pcap.


-- 
Aaron Turner
http://synfin.net/         Twitter: @synfinatic
http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
    -- Benjamin Franklin
"carpe diem quam minimum credula postero"

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support

Reply via email to