Ticket #114 (closed enhancement: wontfix)

Opened 4 years ago

Last modified 2 years ago

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

comment:1 Changed 3 years ago by aturner

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

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

comment:2 Changed 3 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 3 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 3 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 3 years ago by aturner

  • Milestone changed from Future Release to 3.1

comment:6 Changed 3 years ago by aturner

  • Milestone changed from 3.1 to 3.2

comment:7 Changed 3 years ago by aturner

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

comment:8 Changed 3 years ago by aturner

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

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.