BSD Ports

net-mgmt/tcpreplay 4.6.1 FreeBSD

Tool to replay saved packet capture files

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
8efdc1611b
License
GPLv3
Categories
net-mgmt
Package size
279.3 KiB, 1207.4 KiB installed

Description

Tcpreplay is aimed at testing the performance of a Network Intrusion Detection System by replaying real background network traffic in which to hide attacks.

Tcpreplay allows you to control the speed at which the traffic is replayed, and can replay arbitrary libpcap traces.

Unlike programmatically-generated artificial traffic which doesn't exercise the application/protocol inspection that a NIDS performs, and doesn't reproduce the real-world anomalies that appear on production networks (asymmetric routes, traffic bursts/lulls, fragmentation, retransmissions, etc.), tcpreplay allows for exact replication of real traffic seen on real networks.

In the other systems

SystemPortVersion
FreeBSDnet-mgmt/tcpreplay4.6.1
OpenBSDnet/tcpreplay4.5.5
NetBSDnet/tcpreplay4.4.4
MidnightBSDnet-mgmt/tcpreplay4.5.2
HardenedBSDnet-mgmt/tcpreplay4.6.1
GhostBSDnet-mgmt/tcpreplay4.6.1

Install

Binary package:

pkg install tcpreplay

From the ports tree:

cd /usr/ports/net-mgmt/tcpreplay/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	tcpreplay>0:net-mgmt/tcpreplay

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest4.6.14.6.14.4.34.5.14.6.1
FreeBSD:14:quarterly4.6.14.6.1n/a4.5.14.6.1
FreeBSD:15:latest4.6.14.6.1n/a4.5.14.5.2
FreeBSD:15:quarterly4.6.14.6.1n/an/an/a
FreeBSD:16:latest4.6.14.6.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 2

The full lists below include those, and their dependencies in turn.

Build dependencies 18
Run dependencies 16

No port depends on this one.

Configuration

Options name: net-mgmt_tcpreplay

OptionDefaultDescription
LIBPCAP_PORTSoffBuild with net/libpcap instead of from the base OS
USES
cpe gmake libtool pkgconfig tar:xz
Service scripts
none

Files

Manual pages 6
  • tcpbridge(1)
  • tcpcapinfo(1)
  • tcpprep(1)
  • tcpreplay(1)
  • tcpreplay-edit(1)
  • tcprewrite(1)
pkg-plist 41
  • bin/tcpbridge
  • bin/tcpprep
  • bin/tcpreplay
  • bin/tcpreplay-edit
  • bin/tcprewrite
  • bin/tcpcapinfo
  • include/tcpreplay/common.h
  • include/tcpreplay/common/cache.h
  • include/tcpreplay/common/cidr.h
  • include/tcpreplay/common/dlt_names.h
  • include/tcpreplay/common/err.h
  • include/tcpreplay/common/fakepcap.h
  • include/tcpreplay/common/fakepcapnav.h
  • include/tcpreplay/common/fakepoll.h
  • include/tcpreplay/common/flows.h
  • include/tcpreplay/common/get.h
  • include/tcpreplay/common/interface.h
  • include/tcpreplay/common/list.h
  • include/tcpreplay/common/mac.h
  • include/tcpreplay/common/netmap.h
  • include/tcpreplay/common/pcap_dlt.h
  • include/tcpreplay/common/sendpacket.h
  • include/tcpreplay/common/services.h
  • include/tcpreplay/common/tcpdump.h
  • include/tcpreplay/common/timer.h
  • include/tcpreplay/common/txring.h
  • include/tcpreplay/common/utils.h
  • include/tcpreplay/common/xX.h
  • include/tcpreplay/config.h
  • include/tcpreplay/defines.h
  • include/tcpreplay/tcpr.h
  • include/tcpreplay/tcpreplay.h
  • include/tcpreplay/tcpreplay_api.h
  • lib/libtcpreplay.a
  • libdata/pkgconfig/libtcpreplay.pc
  • share/man/man1/tcpcapinfo.1.gz
  • share/man/man1/tcpbridge.1.gz
  • share/man/man1/tcpprep.1.gz
  • share/man/man1/tcpreplay-edit.1.gz
  • share/man/man1/tcpreplay.1.gz
  • share/man/man1/tcprewrite.1.gz
distinfo 1
FileSizeSHA256
tcpreplay-4.6.1.tar.xz90712014b96e3565d6e66e813000d0d510afeaecb871f2b533182c391c6ccf948c3e21
Master sites 1
  • https://github.com/appneta/tcpreplay/releases/download/v4.6.1/

Commit history 3

DateCommitCreditsLog message
8efdc1611b Kousuke Kannagi net-mgmt/tcpreplay: Update to 4.6.1
Changelog: https://github.com/appneta/tcpreplay/releases/tag/v4.6.1 PR: 297541 Approved by: osa (mentor) MFH: 2026Q3
3b45350077 Kousuke Kannagi net-mgmt/tcpreplay: Update to 4.6.0
https://github.com/appneta/tcpreplay/releases/tag/v4.6.0 PR: 297132 Approved by: osa (mentor)
9d6da1fe50 Kousuke Kannagi net-mgmt/tcpreplay: Update to 4.5.5
https://raw.githubusercontent.com/appneta/tcpreplay/refs/tags/v4.5.5/docs/CHANGELOG PR: 296943 Approved by: osa (mentor) MFH: 2026Q3