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 <ensi_...@hotmail.com> 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: synfina...@gmail.com
>> Date: Mon, 3 May 2010 09:26:42 -0700
>> To: tcpreplay-users@lists.sourceforge.net
>> Subject: Re: [Tcpreplay-users] trunc to mtu
>>
>> On Mon, May 3, 2010 at 7:56 AM, yassine antir <ensi_...@hotmail.com>
>> 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
>>

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