Skip to content

Inject packets from a pcap file to a VDE plug

Notifications You must be signed in to change notification settings

chlohr/vdereplay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vdereplay

vdereplay aims to replay a network activity. It reads a pcap file with previously captured Ethernet packets and reinject them to a VDE plug, while respecting the recorded interpacket delay. The rate can be adjusted, or scheduled at a fixed value. This can be repeated several times in loop.

Install

get the source code, from the root of the source tree run:

$ make
$ sudo make install

Usage

vdereplay [options] -i [-s ] [-d ] [-l ] [-h] VNL

Options

-i input : Pcap file with Ethernet packets

-s speed : Speed factor for interpacket delay (default 1.0)

-d delay : Fixed interpacket delay in microseconds

-l loop : Number of time to replay the pcap file (default 1; 0 for non-stop)

-h : Display a short help message and exit

VNL : Virtual Network Locator (e.g. vde:///tmp/vde.ctl)

See Also

vde_plug, vdecapture, vdetcpcapture, dumpcap, randpkt, tcpreplay

About

Inject packets from a pcap file to a VDE plug

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published