Hi Fred, is --loop=0 different than -l 0 ?
The shell loop was just my current workaround. I tried -l 0 and after the first iteration the capture started replaying at essentially wire speed rather than the captured rate. I also started getting packet has gone back in time errors for every packet. If you think it will matter I can try --loop instead of -l -Andrew On Wed, Jun 24, 2015 at 2:40 PM, Fredrick Klassen <[email protected]> wrote: > Have you tried the '--loop' option? > > On Wed, Jun 24, 2015 at 7:20 AM, Andrew Feren <[email protected]> wrote: >> >> Hi Fred, >> >> I am currently seeing this issue running both >> tcpreplay version: 4.1.1-beta1 (build git:v4.1.0-18-gae55544) >> and >> tcpreplay version: 4.1.0 (build git:v4.1.0) >> >> CentOS Linux release 7.1.1503 (Core) >> Linux dev 3.10.0-229.1.2.el7.x86_64 #1 SMP Fri Mar 27 03:04:26 UTC >> 2015 x86_64 x86_64 x86_64 GNU/Linux >> >> My current work around is to do the looping in the shell >> >> while true ; do /usr/local/bin/tcpreplay -T nano -x 1 -i em1 capture.pcap >> ; done >> >> but I'd prefer get back to letting tcpreplay do the looping. Any >> suggestions for alternate switches to try? Or anything I can do to >> help debug? >> >> Thanks, >> -Andrew >> >> On Thu, Jun 19, 2014 at 3:23 PM, Fred Klassen <[email protected]> >> wrote: >> > This appears to be a duplicate of >> > https://github.com/appneta/tcpreplay/issues/85 >> > >> > I fixed this in 4.0.5 beta1 which should be released next week. >> > >> > Fred. >> > >> > From: Fred Klassen <[email protected]> >> > Reply-To: Main forum for tcpreplay >> > <[email protected]> >> > Date: Wednesday, June 18, 2014 at 5:13 PM >> > >> > To: Main forum for tcpreplay <[email protected]> >> > Subject: Re: [Tcpreplay-users] tcpreplay 4.0.4 --loop issue >> > >> > Thanks Aaron. I submitted the following issue >> > >> > https://github.com/appneta/tcpreplay/issues/87 >> > >> > If I cannot get this reproduced I may ask you for a copy of the capture. >> > >> > Fred. >> > >> > From: Aaron <[email protected]> >> > Reply-To: Main forum for tcpreplay >> > <[email protected]> >> > Date: Wednesday, June 18, 2014 at 4:46 PM >> > To: Main forum for tcpreplay <[email protected]> >> > Subject: Re: [Tcpreplay-users] tcpreplay 4.0.4 --loop issue >> > >> > Fred, >> > >> > To capture I used this command: >> > tcpdump -i eth1 -nn -s 0 -w TEST_007.pcap >> > >> > Then replay with this: >> > tcpreplay --intf1=eth5 --loop=2 TEST_007.pcap >> > >> > I've also tried adding in --multiplier and --mbps= with the same result. >> > I >> > also tried capturing and replaying on the same NIC with the similar >> > results. >> > >> > Thanks, >> > Aaron >> > >> > >> > On Wed, Jun 18, 2014 at 7:37 PM, Fred Klassen <[email protected]> >> > wrote: >> >> >> >> Aaron, what command line options are you using? >> >> >> >> Fred. >> >> On Jun 18, 2014, at 4:28 PM, Aaron <[email protected]> wrote: >> >> >> >> > Hello, >> >> > >> >> > I'm having an issue with tcpreplay 4.0.4 on CentOS 5.10 installed >> >> > from >> >> > rpm. When replaying a pcap with --loop, the first iteration works >> >> > fine, but >> >> > when it starts the next X loops, every packet returns: Warning: >> >> > Packet #XXX >> >> > has gone back in time! >> >> > >> >> > I've not been able to find anything regarding this issue and I've not >> >> > modified the pcap since it was captured. It was captured with tcpdump >> >> > on the >> >> > same system. >> >> > >> >> > Thanks for the assistance. >> >> > >> >> > Aaron >> >> > >> >> > [root@tcpreplay ~]# tcpreplay -V >> >> > tcpreplay 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 >> >> > Not compiled with libdnet. >> >> > Compiled against libpcap: 0.9.4 >> >> > 64 bit packet counters: enabled >> >> > Verbose printing via tcpdump: enabled >> >> > Packet editing: disabled >> >> > Fragroute engine: disabled >> >> > Injection method: PF_PACKET send() >> >> > >> >> > [root@tcpreplay ~]# tcpdump -V >> >> > tcpdump version 3.9.4 >> >> > libpcap version 0.9.4 >> >> > >> >> > >> >> > >> >> > >> >> > ------------------------------------------------------------------------------ >> >> > HPCC Systems Open Source Big Data Platform from LexisNexis Risk >> >> > Solutions >> >> > Find What Matters Most in Your Big Data with HPCC Systems >> >> > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. >> >> > Leverages Graph Analysis for Fast Processing & Easy Data Exploration >> >> > >> >> > >> >> > http://p.sf.net/sfu/hpccsystems_______________________________________________ >> >> > Tcpreplay-users mailing list >> >> > [email protected] >> >> > https://lists.sourceforge.net/lists/listinfo/tcpreplay-users >> >> > Support Information: http://tcpreplay.synfin.net/trac/wiki/Support >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> HPCC Systems Open Source Big Data Platform from LexisNexis Risk >> >> Solutions >> >> Find What Matters Most in Your Big Data with HPCC Systems >> >> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. >> >> Leverages Graph Analysis for Fast Processing & Easy Data Exploration >> >> http://p.sf.net/sfu/hpccsystems >> >> _______________________________________________ >> >> Tcpreplay-users mailing list >> >> [email protected] >> >> https://lists.sourceforge.net/lists/listinfo/tcpreplay-users >> >> Support Information: http://tcpreplay.synfin.net/trac/wiki/Support >> > >> > >> > >> > >> > ------------------------------------------------------------------------------ >> > HPCC Systems Open Source Big Data Platform from LexisNexis Risk >> > Solutions >> > Find What Matters Most in Your Big Data with HPCC Systems >> > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. >> > Leverages Graph Analysis for Fast Processing & Easy Data Exploration >> > http://p.sf.net/sfu/hpccsystems >> > _______________________________________________ >> > Tcpreplay-users mailing list >> > [email protected] >> > https://lists.sourceforge.net/lists/listinfo/tcpreplay-users >> > Support Information: http://tcpreplay.synfin.net/trac/wiki/Support >> >> >> ------------------------------------------------------------------------------ >> Monitor 25 network devices or servers for free with OpManager! >> OpManager is web-based network management software that monitors >> network devices and physical & virtual servers, alerts via email & sms >> for fault. Monitor 25 devices for free with no restriction. Download now >> http://ad.doubleclick.net/ddm/clk/292181274;119417398;o >> _______________________________________________ >> Tcpreplay-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/tcpreplay-users >> Support Information: http://tcpreplay.synfin.net/trac/wiki/Support > > > > > -- > Fred Klassen > Vice President, Advanced Technology | AppNeta > O: 604.433.2333 x117 | M: 604.760.9461 > Website | Facebook | Twitter | LinkedIn > > ------------------------------------------------------------------------------ > Monitor 25 network devices or servers for free with OpManager! > OpManager is web-based network management software that monitors > network devices and physical & virtual servers, alerts via email & sms > for fault. Monitor 25 devices for free with no restriction. Download now > http://ad.doubleclick.net/ddm/clk/292181274;119417398;o > _______________________________________________ > Tcpreplay-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tcpreplay-users > Support Information: http://tcpreplay.synfin.net/trac/wiki/Support ------------------------------------------------------------------------------ Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o _______________________________________________ Tcpreplay-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tcpreplay-users Support Information: http://tcpreplay.synfin.net/trac/wiki/Support
