Hi, I am trying to rewrite a PCAP file that has some large packets in it, in order to replay the traffic over a network with MTU of 1500. I do not want to skip or truncate the oversized packets, so I would like to use the --fragroute option to fragment the packets. I have compiled the tcpreplay 4.0.4 (and also tried 3.4.4) package, so that fragroute is enabled. However, when running tcprewrite I get an error message (see below) about an oversized packet and the tool exits. 2991 in the error message is actually the size of the packet (#110) in question. I tested that the fragroute option indeed works with PCAPs where packets do not exceed 1500 bytes.
I am wondering if this is the intended functionality of fragroute and it actually is not able to handle packets larger than 1500 bytes? Or maybe you can suggest some other method how could I fix the PCAP with such oversized packets? # tcprewrite --infile=test.pcap --outfile=test-fixMTU.pcap --fragroute=frag.cfg Fatal Error: Error processing packet via fragroute: skipping oversized packet: 2991 # cat frag.cfg ip_frag 1400 # tcprewrite -V tcprewrite version: 4.0.4 (build git:v4.0.4) Copyright 2013-2014 by Fred Klassen <tcpreplay at appneta dot com> - AppNeta Inc. Copyright 2000-2012 by Aaron Turner <aturner at synfin dot net> The entire Tcpreplay Suite is licensed under the GPLv3 Cache file supported: 04 Compiled against libdnet: 1.11 Compiled against libpcap: 1.5.3 64 bit packet counters: enabled Verbose printing via tcpdump: enabled Fragroute engine: enabled Platform: VMware ESX OS: Ubuntu 12.04.4 LTS Kernel: 3.8.0-41-generic #60~precise1-Ubuntu SMP Fri May 16 00:18:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux I have temporarily uploaded the PCAP file in question to the following URL: http://www.pihelgas.eu/test.pcap.tar.gz I look forward to your reply. I hope you can help me in this matter. Best regards, Mauno ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ 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