# 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/tcpreplay>
- **バージョン:** 4.6.0
- **ソース概要:** Replay saved tcpdump files at arbitrary speeds
- **ホームページ:** <https://tcpreplay.appneta.com/>
- **リポジトリ:** <https://github.com/appneta/tcpreplay>
- **上流ドキュメント:** <https://tcpreplay.appneta.com/>
- **ライセンス:** 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.6.0/tcpreplay-4.6.0.tar.gz>
- **最終更新:** 2026-07-28T12:45:24Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

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

## 依存関係

- libdnet

## ビルド依存関係

- cmake

## macOS 提供ライブラリ

- libpcap

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 4.6.0
- マネージャ更新日: 2026-07-28
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/appneta/tcpreplay
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

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

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tcpreplay
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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


## 関連リンク

- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [libdnet](https://pkg.so/ja/brew/libdnet/) - Runtime dependency declared by Homebrew.
- [cmake](https://pkg.so/ja/brew/cmake/) - Build dependency declared by Homebrew.
- [bittwist](https://pkg.so/ja/brew/bittwist/) - Shares pkgdb curated category or tags: cli, network-testing, networking, pcap.
- [tcpdump](https://pkg.so/ja/brew/tcpdump/) - Shares pkgdb curated category or tags: cli, networking, pcap.
- [dnsperf](https://pkg.so/ja/brew/dnsperf/) - Shares pkgdb curated category or tags: cli, network-testing, networking.
- [sipp](https://pkg.so/ja/brew/sipp/) - Shares pkgdb curated category or tags: cli, networking, traffic-generator.
- [sngrep](https://pkg.so/ja/brew/sngrep/) - Shares pkgdb curated category or tags: cli, networking, pcap.
- [dhcpdump](https://pkg.so/ja/brew/dhcpdump/) - Shares pkgdb curated category or tags: cli, networking, pcap.
- [sniffer](https://pkg.so/ja/brew/sniffer/) - Shares pkgdb curated category or tags: cli, networking, pcap.
- [speedbump](https://pkg.so/ja/brew/speedbump/) - Shares pkgdb curated category or tags: cli, network-testing, networking.
- [flowgrind](https://pkg.so/ja/brew/flowgrind/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, generator, network, networking, testing.
- [httpflow](https://pkg.so/ja/brew/httpflow/) - Local package facts share a topical domain. Shared terms: cli, networking, packet, pcap, tcpdump.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
