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