Skip to content

disorient/udpreplay

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

udpreplay

udpreplay is a lightweight alternative to tcpreplay for replaying UDP unicast and multicast streams from a pcap file.

Usage

udpreplay [-i iface] [-l] [-s speed] [-t ttl] pcap

  -i iface    interface to send packets through
  -l          enable loopback
  -s speed    replay speed relative to pcap timestamps
  -t ttl      packet ttl
  -L          pcap contains loopback link type packets

Example

$ udpreplay -i eth0 example.pcap

Building & Installing

udpreplay requires CMake 3.2 or higher and libpcap-dev to build and install.

sudo apt install cmake libpcap-dev

Building:

$ cd udpreplay
$ mkdir build
$ cd build
$ cmake ..
$ make

Installing:

$ make install

About

This project was created by Erik Rigtorp <[email protected]>.

About

Replay UDP packets from a pcap file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 93.2%
  • CMake 4.3%
  • Emacs Lisp 2.5%