Actually a few more options, will put in the enhancement for the ticket: It would also be nice to have options such as:
-e <ip1:ip2> Specify IP endpoint rewriting -I <mac> Rewrite dest MAC on primary interface -J <mac> Rewrite dest MAC on secondary interface -s <seed> Randomize src/dst IP addresses w/ given seed Thank you, Robert Brown, CCIE -----Original Message----- From: Aaron Turner [mailto:synfina...@gmail.com] Sent: Tuesday, February 17, 2009 3:04 PM To: Main forum for tcpreplay Subject: Re: [Tcpreplay-users] Truncate Packets with tcpreplay 3.4.0 What option is that? On Tue, Feb 17, 2009 at 12:49 PM, Robert Brown (rbrown) <rbr...@cisco.com> wrote: > Awesome...will do...now that you agree to that can you add back the -I > option too? > ;-) > > I'll open a ticket. > > Thanks much > > > Thank you, > > Robert Brown, CCIE > > -----Original Message----- > From: Aaron Turner [mailto:synfina...@gmail.com] > Sent: Tuesday, February 17, 2009 2:46 PM > To: Main forum for tcpreplay > Subject: Re: [Tcpreplay-users] Truncate Packets with tcpreplay 3.4.0 > > Yeah, --pktlen is really for dealing with broken pcap files and really > wouldn't help here. Adding back this feature should be doable, maybe > I can sneak it in to 3.4.1. Care to open a ticket? > > On Tue, Feb 17, 2009 at 10:32 AM, Robert Brown (rbrown) > <rbr...@cisco.com> wrote: >> Is there any way to get some of the older options of tcpreplay that >> were in tcpreplay version 2.3.5 in version 3.4.0? >> >> What I am specifically looking for is an option that existed in 2.3.5: >> >> -T Truncate packets > MTU so packets can be sent >> >> I tried the --pktlen option which didn't help. >> >> In 3.4 I am using tcpreplay to replay traffic out 2 interfaces using >> a > >> cachefile with the following options: >> >> tcpreplay --intf1=eth2 --intf2=eth1 --cachefile=CACHE_FILE.pcap >> --pktlen /tmp/FINAL_PCAP.pcap >> >> Below are my two versions, the older is tcpreplay2. >> tcpreplay -V >> tcpreplay version: 3.4.0 (build 2145) Copyright 2001-2009 by Aaron >> Turner <aturner at synfin dot net> Cache file supported: 04 Not >> compiled with libdnet. >> Compiled against libpcap: 0.7.2 >> 64 bit packet counters: enabled >> Verbose printing via tcpdump: disabled Packet editing: disabled >> Fragroute engine: disabled Injection method: PF_PACKET send() >> >> tcpreplay2 -V >> tcpreplay version: 2.3.5 >> Cache file supported: 04 >> Compiled against libnet: 1.1.2.1 >> Compiled against libpcap: 0.9.7 >> Not compiled against libpcapnav. >> Using tcpdump located in: /usr/sbin/tcpdump [r...@qaips-attacker >> scapy-pcaps]# >> >> >> Thank you, >> >> Robert Brown, CCIE >> >> --------------------------------------------------------------------- >> - >> -------- Open Source Business Conference (OSBC), March 24-25, 2009, >> San Francisco, CA -OSBC tackles the biggest issue in open source: >> Open > >> Sourcing the Enterprise -Strategies to boost innovation and cut costs >> with open source participation -Receive a $600 discount off the >> registration fee with the source code: SFAD >> http://p.sf.net/sfu/XcvMzF8H >> _______________________________________________ >> 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 >> > > > > -- > Aaron Turner > http://synfin.net/ > 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 > > ---------------------------------------------------------------------- > -- > ------ > Open Source Business Conference (OSBC), March 24-25, 2009, San > Francisco, CA -OSBC tackles the biggest issue in open source: Open > Sourcing the Enterprise -Strategies to boost innovation and cut costs > with open source participation -Receive a $600 discount off the > registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > 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 > > ---------------------------------------------------------------------- > -------- Open Source Business Conference (OSBC), March 24-25, 2009, > San Francisco, CA -OSBC tackles the biggest issue in open source: Open > Sourcing the Enterprise -Strategies to boost innovation and cut costs > with open source participation -Receive a $600 discount off the > registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > 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 > -- Aaron Turner http://synfin.net/ 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 ------------------------------------------------------------------------ ------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ 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 ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ 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