doh.  ok, i'll open the ticket.  thanks for bringing this to my attention.
 I'll try to look at this sometime later this week.

On Tue, Feb 26, 2013 at 6:55 AM, John Duffie <[email protected]> wrote:

> I keep trying but it continues to give this error message:
> "Submission rejected as potential spam"
>
> usage of --include and --exclude Reported by:johnduffie91@… Owned by:
> Priority:medium<http://tcpreplay.synfin.net/query?status=%21closed&priority=medium>
> Milestone: 3.5.0 <http://tcpreplay.synfin.net/milestone/3.5.0> Component:
> tcpreplay<http://tcpreplay.synfin.net/query?status=%21closed&component=tcpreplay>
> Version: 
> 3.4.3<http://tcpreplay.synfin.net/query?status=%21closed&version=3.4.3>
> Keywords:include<http://tcpreplay.synfin.net/query?status=%21closed&keywords=%7Einclude>
> Cc: Operating 
> System:Linux<http://tcpreplay.synfin.net/query?status=%21closed&os=Linux> Add
> to FAQ?: no<http://tcpreplay.synfin.net/query?status=%21closed&add_to_faq=0>
> Hardware:All<http://tcpreplay.synfin.net/query?status=%21closed&hardware=All> 
> Output of tcpreplay -V:
> 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()
> Description  <http://tcpreplay.synfin.net/newticket#comment:description>
>
> 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
>
> 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 7:24 PM, Aaron Turner <[email protected]>wrote:
>
>> yeah, that's pretty broken.  Mind opening a ticket on the website?
>>
>> On Mon, Feb 25, 2013 at 1:32 PM, John Duffie <[email protected]>
>> 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
>> > [email protected]
>> > 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
>> [email protected]
>> 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support

Reply via email to