From: Aaron T. <syn...@gm...> - 2010-05-05 16:10:48
|
Almost forgot, what version of tcpreplay are you using? On Wed, May 5, 2010 at 9:08 AM, Aaron Turner <syn...@gm...> wrote: > Well it's barfing on a non-IP packet like ARP for example. I thought > I had tcprewrite just skip them, so I'll have to take a look. It > would help if you could email me your pcap file. > > > -- > 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" > > > > On Wed, May 5, 2010 at 5:39 AM, yassine antir <ens...@ho...> wrote: >> Hi, >> >> ok as you said i find that the fragroute is embedded in my tcprewrite >> version. >> But still i have problem: >> when i try fragmentation it shows me back error : Fatal Error: Error >> processing packet via fragroute: skipping non-IP packet >> i have tried both ip_frag (size) and tcp_seg (size) options >> i could not figure out the problem have you any idea? >> other question concerning the fragroute config file is it the unique method >> to give options of fragroute. >> thanks >> >> >> >>> From: syn...@gm... >>> Date: Mon, 3 May 2010 09:26:42 -0700 >>> To: tcp...@li... >>> Subject: Re: [Tcpreplay-users] trunc to mtu >>> >>> On Mon, May 3, 2010 at 7:56 AM, yassine antir <ens...@ho...> >>> wrote: >>> > Hi, >>> > >>> > i want to know if possible to fragmentate pcap file with tcprewrite. I >>> > have >>> > found the mtu option and i don't know if i have exactly understood the >>> > principe of this option. >>> > at least i found that this option just cut packets to have length less >>> > ot >>> > equal to the scpecified mtu size, which means that a part of packet >>> > could be >>> > dropped and not added to another packet header. >>> > so if there is an explanation for this or a method for fragmentation it >>> > is >>> > welcome >>> >>> Yes, although as you suspected, the --mtu option is for truncating >>> packets, not fragmenting them. Assuming you have a recent version of >>> tcprewrite/tcpreplay-edit, it has the full fragroute engine embeded >>> into it, so it can basically do any kind of fragmentation you can >>> imagine. >>> >>> http://tcpreplay.synfin.net/wiki/tcprewrite#Fragroute >>> > -- 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" |