Hi Aaron,
   Here's what I have:

root@client:~# tcpreplay -V
tcpreplay version: 3.4.3 (build 2375)
Copyright 2001-2009 by Aaron Turner <aturner at synfin dot net>
Cache file supported: 04
Not compiled with libdnet.
Compiled against libpcap: 1.0.0
64 bit packet counters: enabled
Verbose printing via tcpdump: enabled
Packet editing: disabled
Fragroute engine: disabled
Injection method: PF_PACKET send()



On Mon, Feb 25, 2013 at 4:55 PM, Aaron Turner <synfina...@gmail.com> wrote:

> what version of tcpreplay?
>
> On Mon, Feb 25, 2013 at 1:32 PM, John Duffie <johnduffi...@gmail.com>
> wrote:
> > I am failing to get a pattern match when the --include or --exclude
> based on
> > packet number.  Please let me know what I am doing wrong or if I
> > misunderstand the intent.
> >
> > When using "--include", all packets are included:
> >
> > # tcpprep --include=P:1-3 --port --cachefile=in.cache --pcap=in.pcap
> > # tcpprep --print-info=in.cache
> > Packet 1 -> Primary
> > Packet 2 -> Primary
> > Packet 3 -> Secondary
> > Packet 4 -> Secondary
> > Packet 5 -> Primary
> > Packet 6 -> Primary
> > Packet 7 -> Primary
> > Packet 8 -> Secondary
> > Packet 9 -> Primary
> > Packet 10 -> Secondary
> > Packet 11 -> Secondary
> > Packet 12 -> Primary
> > Packet 13 -> Secondary
> > Packet 14 -> Primary
> > Packet 15 -> Primary
> > Packet 16 -> Secondary
> > Packet 17 -> Primary
> > Packet 18 -> Secondary
> >
> >
> > When using "--exclude", all packets are excluded:
> >
> > #  tcpprep --exclude=P:1-3 --port --cachefile=in.cache --pcap=in.pcap
> > #  tcpprep --print-info=in.cache
> > Packet 1 -> Don't Send
> > Packet 2 -> Don't Send
> > Packet 3 -> Don't Send
> > Packet 4 -> Don't Send
> > Packet 5 -> Don't Send
> > Packet 6 -> Don't Send
> > Packet 7 -> Don't Send
> > Packet 8 -> Don't Send
> > Packet 9 -> Don't Send
> > Packet 10 -> Don't Send
> > Packet 11 -> Don't Send
> > Packet 12 -> Don't Send
> > Packet 13 -> Don't Send
> > Packet 14 -> Don't Send
> > Packet 15 -> Don't Send
> > Packet 16 -> Don't Send
> > Packet 17 -> Don't Send
> > Packet 18 -> Don't Send
> >
> >
> > When filtering on IP address, it works as I would expect:
> >
> > # tcpprep --include=S:10.0.1.1 --port --cachefile=in.cache --pcap=in.pcap
> > # tcpprep --print-info=in.cache
> > Packet 1 -> Primary
> > Packet 2 -> Primary
> > Packet 3 -> Don't Send
> > Packet 4 -> Don't Send
> > Packet 5 -> Primary
> > Packet 6 -> Primary
> > Packet 7 -> Primary
> > Packet 8 -> Don't Send
> > Packet 9 -> Primary
> > Packet 10 -> Don't Send
> > Packet 11 -> Don't Send
> > Packet 12 -> Primary
> > Packet 13 -> Don't Send
> > Packet 14 -> Primary
> > Packet 15 -> Primary
> > Packet 16 -> Don't Send
> > Packet 17 -> Primary
> > Packet 18 -> Don't Send
> >
> >
> >
> ------------------------------------------------------------------------------
> > Everyone hates slow websites. So do we.
> > Make your web apps faster with AppDynamics
> > Download AppDynamics Lite for free today:
> > http://p.sf.net/sfu/appdyn_d2d_feb
> > _______________________________________________
> > 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/         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"
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> 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
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
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