# tcpreplay を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

tcpreplay のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:tcpreplay
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install tcpreplay
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install tcpreplay
```

  証拠: MacPorts ports tree: net/tcpreplay/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add tcpreplay
```

  証拠: Alpine Linux edge package indexes: tcpreplay from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install tcpreplay
```

  証拠: Debian stable package indexes: tcpreplay from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install tcpreplay
```

  証拠: Fedora Rawhide package metadata: tcpreplay from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#tcpreplay
```

  証拠: nixpkgs package indexes: pkgs/by-name/tc/tcpreplay/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S tcpreplay
```

  証拠: Arch Linux sync databases: tcpreplay from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install tcpreplay
```

  証拠: openSUSE Tumbleweed package metadata: tcpreplay from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:tcpreplay
- **パッケージマネージャ:** Homebrew
- **バージョン:** 4.6.0
- **ソース概要:** Replay saved tcpdump files at arbitrary speeds
- **ホームページ:** <https://tcpreplay.appneta.com/>
- **リポジトリ:** <https://github.com/appneta/tcpreplay>
- **最終更新:** 2026-07-28T12:45:24Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- tcpbridge (エイリアス)
- tcpcapinfo (エイリアス)
- tcpliveplay (エイリアス)
- tcpprep (エイリアス)
- tcpreplay (エイリアス)
- tcpreplay-edit (エイリアス)
- tcprewrite (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 4.6.0
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://tcpreplay.appneta.com/wiki/history.html>
- <https://tcpreplay.appneta.com/wiki/installation.html>
- <https://tcpreplay.appneta.com/wiki/overview.html>
- <https://tcpreplay.appneta.com/wiki/products.html>
- input source_facts.package-manager


## セキュリティノート

generalized runtime or code generation signal.

- **Geiger リスク:** yellow / 中
- generalized runtime or code generation signal

## 他のパッケージマネージャ記録

- Debian apt - tcpreplay - 4.5.1-1: normalized package name match | Debian stable package indexes: tcpreplay from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Tool to replay saved tcpdump files at arbitrary speeds | http://tcpreplay.appneta.com/
- Nix - tcpreplay: normalized package name match | nixpkgs package indexes: pkgs/by-name/tc/tcpreplay/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - tcpreplay - 4.4.4-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: tcpreplay from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Tool to replay saved tcpdump files at arbitrary speeds | http://tcpreplay.appneta.com/
- apk - tcpreplay - 4.6.0-r0: normalized package name match | Alpine Linux edge package indexes: tcpreplay from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Replay captured network traffic | https://tcpreplay.appneta.com/
- apk - tcpreplay-doc - 4.6.0-r0: normalized package name match | Alpine Linux edge package indexes: tcpreplay-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Replay captured network traffic (documentation) | https://tcpreplay.appneta.com/
- dnf - tcpreplay - 4.6.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: tcpreplay from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Replay captured network traffic | http://tcpreplay.appneta.com/
- dnf - tcpreplay-devel - 4.6.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: tcpreplay-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for tcpreplay | http://tcpreplay.appneta.com/
- dnf - tcpreplay-static - 4.6.0-2.fc45: normalized package name match | Fedora Rawhide package metadata: tcpreplay-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Static library for tcpreplay | http://tcpreplay.appneta.com/
- pacman - tcpreplay - 4.5.2-1: normalized package name match | Arch Linux sync databases: tcpreplay from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Gives the ability to replay previously captured traffic in a libpcap format | https://tcpreplay.appneta.com
- zypper - tcpreplay - 4.6.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: tcpreplay from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Network analysis and testing tools | https://tcpreplay.appneta.com/
- MacPorts - tcpreplay: normalized package name match | MacPorts ports tree: net/tcpreplay/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/tcpreplay.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tcpreplay.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
