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


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

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