Pretty sure the problem is the GRE frames in the Linux_SLL format.
Tcprewrite expects to only see Ethernet frames.

On Wednesday, September 18, 2013, Aqz wrote:

> Hi,
>
> I have a pcap file captured at gre interface using tcpdump, so it's a
> LINUX_SLL file (few small UDP packets inside)
>
> I've tried using tcprewrite like this :
>  /usr/local/bin/tcprewrite --dlt=enet --enet-dmac=00:1E:0B:EA:0B:00
> --enet-smac=00:19:BB:30:DC:D6 --infile=test.dump --outfile=new.pcap
>
> but every time I get :
>
> DLT_LINUX_SLL pcap's must contain only ethernet packets
>
> and the output file is just empty pcap file with DLT EN10MB.
>
>
> What am I doing wrong?
> --
> Wojtek DziubiƄski
> www.aquaz.eu
>


-- 
Aaron Turner
http://synfin.net/         Twitter: @synfinatic
https://github.com/synfinatic/tcpreplay - 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
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
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