Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 tcpreplay

查看 tcpreplay 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install tcpreplay

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install tcpreplay

MacPorts ports tree · net/tcpreplay/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add tcpreplay

Alpine Linux edge package indexes · tcpreplay · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install tcpreplay

Debian stable package indexes · tcpreplay · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install tcpreplay

Fedora Rawhide package metadata · tcpreplay · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#tcpreplay

nixpkgs package indexes · pkgs/by-name/tc/tcpreplay/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S tcpreplay

Arch Linux sync databases · tcpreplay · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install tcpreplay

openSUSE Tumbleweed package metadata · tcpreplay · 来源: download.opensuse.org

概览

软件包摘要

Replay saved tcpdump files at arbitrary speeds

命令和别名

  • tcpbridge
  • tcpcapinfo
  • tcpliveplay
  • tcpprep
  • tcpreplay
  • tcpreplay-edit
  • tcprewrite

历史

项目历史与用法

Tcpreplay is a Unix-oriented suite for editing and replaying packet captures. In package-manager catalogs it sits in the practical network-testing niche: a toolset for turning saved tcpdump or Wireshark traffic into repeatable traffic-generation, firewall, IDS, IPS, NetFlow, and lab tests.

项目历史

The project traces its own history to Matt Undy of Anzen Computing, who released version 1.0.1 as part of the nidsbench toolkit in 1999. Development later passed through separate 2001 efforts by Matt Bing at NFR and Aaron Turner at OneSecure, after which Turner and Bing continued development together and the project gained major rewrites plus companion tools.

A later maintainer handoff came in 2013, when Fred Klassen, sponsored by AppNeta, took over maintenance. The official history page identifies version 4.0.0 as Klassen's first major release, and the overview describes version 4.0 as the point where Tcpreplay was expanded for IP Flow and NetFlow testing, higher playback accuracy, flow statistics, and netmap-based high-speed replay.

采用历史

The official overview says Tcpreplay is used by firewall, IDS, IPS, NetFlow and other networking vendors, enterprises, universities, labs, and open source projects. The supplied package metadata shows the same package name across Homebrew, Debian, Ubuntu, Fedora/DNF, Arch, Alpine, MacPorts, Nix, and openSUSE, which matches its role as a standard Unix networking utility rather than a single-platform app.

使用方式

The suite replays pcap files at chosen speeds, edits packets on the fly, classifies client and server traffic, rewrites Layer 2 through Layer 4 headers, bridges traffic, inspects captures, and prepares captures for replay. Typical package-nerd use is to install it next to tcpdump, Wireshark, and libpcap tooling, then use saved captures as reproducible network fixtures.

为什么软件包爱好者会关心

Tcpreplay matters because it is the boring, scriptable answer to a recurring lab problem: replay this exact capture again, faster, slower, edited, looped, or through a particular interface. Its many helper executables make the package larger than a single CLI, but they also make it a recognizable toolbox for traffic-generator and packet-capture workflows.

时间线

  • 1999: Matt Undy released tcpreplay 1.0.1 as part of nidsbench.
  • 2001: Matt Bing and Aaron Turner independently resumed work, then continued development together.
  • 2013: Fred Klassen, sponsored by AppNeta, took over maintenance.
  • 4.0.0: First major AppNeta-sponsored release, with NetFlow/IP Flow-oriented enhancements.
  • 2024: Official installation page listed the 4.5.1 release and release announcement.

Related projects

  • tcpdump and Wireshark provide common capture inputs; libpcap underlies capture-file handling; netmap and AF_XDP appear in the official documentation as high-performance packet I/O paths; tcpprep, tcprewrite, tcpreplay-edit, tcpbridge, tcpcapinfo, and tcpliveplay are companion tools in the suite.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:repl

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 3 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
tcpbridgecli全局可执行文件
tcpcapinfocli全局可执行文件
tcpliveplaycli全局可执行文件
tcpprepcli全局可执行文件
tcpreplaycli全局可执行文件
tcpreplay-editcli全局可执行文件
tcprewritecli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本4.5.2
管理器更新时间2026-06-22
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/appneta/tcpreplay

安装元数据

软件包元数据

软件包键brew:tcpreplay
版本4.5.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/tcpreplay
主页https://tcpreplay.appneta.com/
仓库https://github.com/appneta/tcpreplay
上游文档https://tcpreplay.appneta.com/wiki
许可证BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND GPL-3.0-or-later AND ISC
源码归档https://github.com/appneta/tcpreplay/releases/download/v4.5.2/tcpreplay-4.5.2.tar.gz
最后更新2026-06-22T14:06:26-07:00
Pulseupdated
依赖libdnet
构建依赖autoconf, automake, libtool
macOS 提供的库libpcap
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametcpreplay
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

tcpreplay 4.5.1-1

Tool to replay saved tcpdump files at arbitrary speeds

http://tcpreplay.appneta.com/

sudo apt install tcpreplay
  • Section: net
  • Architecture: amd64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Tcpreplay
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tcpreplay from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

tcpreplay

nix profile install nixpkgs#tcpreplay
  • normalized package name match
  • 匹配方式:Tcpreplay
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/tc/tcpreplay/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

tcpreplay 4.4.4-1build2

Tool to replay saved tcpdump files at arbitrary speeds

http://tcpreplay.appneta.com/

sudo apt install tcpreplay
  • Section: universe/net
  • Architecture: amd64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Tcpreplay
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tcpreplay from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

tcpreplay 4.5.2-r1

Replay captured network traffic

https://tcpreplay.appneta.com/

sudo apk add tcpreplay
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: tcpreplay
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Tcpreplay
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tcpreplay from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

tcpreplay-doc 4.5.2-r1

Replay captured network traffic (documentation)

https://tcpreplay.appneta.com/

sudo apk add tcpreplay-doc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: tcpreplay
  • normalized package name match
  • 匹配方式:Tcpreplay
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: tcpreplay-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

tcpreplay 4.5.2-2.fc44

Replay captured network traffic

http://tcpreplay.appneta.com/

sudo dnf install tcpreplay
  • License: GPL-3.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: tcpreplay
  • 5 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Tcpreplay
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: tcpreplay from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

tcpreplay 4.5.2-1

Gives the ability to replay previously captured traffic in a libpcap format

https://tcpreplay.appneta.com

sudo pacman -S tcpreplay
  • License: GPL-3.0-only
  • Architecture: x86_64
  • 3 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Tcpreplay
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: tcpreplay from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

tcpreplay 4.5.2-1.3

Network analysis and testing tools

https://tcpreplay.appneta.com/

sudo zypper install tcpreplay
  • License: GPL-3.0-only
  • Category: Productivity/Networking/Diagnostic
  • Architecture: x86_64
  • Source Package: tcpreplay
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Tcpreplay
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: tcpreplay from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

tcpreplay

sudo port install tcpreplay
  • normalized package name match
  • 匹配方式:Tcpreplay
MacPorts ports tree · api.github.com · MacPorts ports tree: net/tcpreplay/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment