Need help with udpreplay?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

rigtorp
132 Stars 37 Forks MIT License 50 Commits 0 Opened issues

Description

Replay UDP packets from a pcap file

Services available

!
?

Need anything else?

Contributors list

# 9,925
cpp17
cpp11
cpp14
Emacs
24 commits
# 478,425
Python
C
lsp-ser...
packet-...
1 commit
# 46,757
Go
ics
ffmpeg
python3
1 commit
# 98,752
C
Shell
rtp
sip
1 commit

udpreplay

Build Status License

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

Usage

usage: udpreplay [-i iface] [-l] [-s speed] [-c millisec] [-r repeat] [-t ttl] pcap

-i iface interface to send packets through -l enable loopback -c millisec constant milliseconds between packets -r repeat number of times to loop data -s speed replay speed relative to pcap timestamps -t ttl packet ttl -b enable broadcast (SO_BROADCAST)

Example

$ udpreplay -i eth0 example.pcap

Building & Installing

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

Building on Debian/Ubuntu:

sudo apt install cmake libpcap-dev g++
cd udpreplay
mkdir build && cd build
cmake ..
make

Building on RHEL/CentOS:

sudo yum install cmake3 libpcap-devel gcc-c++
cd udpreplay
mkdir build && cd build
cmake3 ..
make

Installing:

$ sudo make install

About

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.