On Wed, Aug 5, 2009 at 8:43 PM, Rayne<[email protected]> wrote: > > Hi, > > I have some X.25 traffic, which in Wireshark is decoded as LAPB -> X.25 -> > Data, that I want to tcprepay to another server. However, I keep getting the > error "Error opening pcap file: bad dump file format". > > The traffic was initially in .cap files, which I then used Wireshark to save > as .pcap files, but the error occurs for both file extension types. > > tcpdump reports "bad dump file format" for both file types as well. >
Sounds like it's not really a libpcap file, but some other format. tcpreplay/tcpdump only support libpcap, but Wireshark supports more formats. You can use the 'capinfos' tool which comes with Wireshark to tell you what format it is. I think Wireshark can even convert most other formats to libpcap too. -- Aaron Turner http://synfin.net/ 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 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Tcpreplay-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tcpreplay-users Support Information: http://tcpreplay.synfin.net/trac/wiki/Support
