Opened 11 years ago

Closed 10 years ago

Last modified 9 years ago

#114 closed enhancement (wontfix)

Selecting only some packets to send (filtering)

Reported by: anil_yenne@… Owned by: aturner
Priority: low Milestone: 3.2
Component: tcpprep Version: 3.0.beta12
Keywords: Cc:
Operating System: Add to FAQ?: yes
Hardware: All
Output of tcpreplay -V:

Description

I have captured few packets from etherial, and i want to send only few selected packets.

I have tried using include option with tcpprep, but while iam doing tcpreplay, iam not able to transfera single packet, whole packet is transferred again.

can u please solve ths issue.

Change History (8)

comment:1 Changed 11 years ago by aturner

  • Milestone changed from 3.0+ to 3.0.RC1
  • Status changed from new to assigned

Purely selecting packets to send/drop is not currently supported, but it should be.

comment:2 Changed 11 years ago by aturner

btw, there is an easy way to accomplish this using tcpdump:

tcpdump -r old.pcap -w new.pcap -s0 <bpf filter matching the packets you want to send>

Then use tcpreplay on new.pcap

comment:3 Changed 11 years ago by aturner

  • Milestone changed from 3.0.RC1 to 3.0+

Since there is a workaround using tcpdump, postponing to after 3.0

comment:4 Changed 11 years ago by aturner

  • Add to FAQ? set
  • Priority changed from high to low
  • Summary changed from can we send only selected packets with tcpreplay and how? to Selecting only some packets to send (filtering)

comment:5 Changed 11 years ago by aturner

  • Milestone changed from Future Release to 3.1

comment:6 Changed 10 years ago by aturner

  • Milestone changed from 3.1 to 3.2

comment:7 Changed 10 years ago by aturner

  • Component changed from tcpreplay to tcpprep
  • Operating System linux deleted
  • Type changed from defect to enhancement

comment:8 Changed 10 years ago by aturner

  • Resolution set to wontfix
  • Status changed from assigned to closed

Decided to not do this since tcpdump does it and there's no point in re-inventing the wheel.

Note: See TracTickets for help on using tickets.