# Installer tcpflow avec Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de tcpflow pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:tcpflow
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install tcpflow
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install tcpflow
```

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

### Linux

- apk (92%):

```sh
sudo apk add tcpflow
```

  Preuve: Alpine Linux edge package indexes: tcpflow from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install tcpflow
```

  Preuve: Debian stable package indexes: tcpflow from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install tcpflow
```

  Preuve: Fedora Rawhide package metadata: tcpflow 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#tcpflow
```

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

- pacman (92%):

```sh
sudo pacman -S tcpflow
```

  Preuve: Arch Linux sync databases: tcpflow from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install tcpflow
```

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

## Faits du paquet

- **Clé du paquet:** brew:tcpflow
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.6.1
- **Résumé source:** TCP/IP packet demultiplexer
- **Page d'accueil:** <https://github.com/simsong/tcpflow>
- **Dépôt:** <https://github.com/simsong/tcpflow>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- tcpflow (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.6.1
## Historique du projet et usages

tcpflow is a packet-capture and TCP stream reassembly tool that writes each reconstructed flow to files for protocol analysis, debugging, and network forensics.

### Historique du projet

The upstream README says Jeremy Elson originally wrote tcpflow to capture data sent by programs using undocumented network protocols, including streaming media and instant messaging applications, so those protocols could be reverse engineered.

The README also records that Simson Garfinkel later took over maintenance after leaving Sandstorm Enterprises and needing a TCP flow reassembly program. The public GitHub repository was created in 2012 and continues as the upstream development home.

### Historique d'adoption

tcpflow's README states that most common GNU/Linux distributions ship it in their repositories, and the input package facts show it packaged by Homebrew and major Linux and Unix package systems.

Its niche adoption follows from doing something adjacent to tcpdump and Wireshark but more file-oriented: reconstructing application byte streams into separate artifacts that can be inspected after capture.

### Modes d'utilisation

Common usage is to capture live traffic or read stored tcpdump packet flows, split each TCP direction into a named file, and optionally post-process HTTP responses into headers and bodies.

The README positions it for understanding network packet flows, protocol debugging, malware analysis from HTTP sessions, and forensic workflows.

### Pourquoi les passionnés de paquets s'y intéressent

Package nerds care because tcpflow sits in the pcap toolchain but exposes a different abstraction: not packets, but reconstructed conversations. That makes it useful as a small dependency-free-ish CLI companion to tcpdump in forensic and debugging toolboxes.

It is also a packaging case study in older network tooling modernized over time, with libpcap, OpenSSL/zlib-style dependencies, autotools, CMake notes, RPM building instructions, and active distribution packaging all visible in upstream docs.

### Chronologie

- 1998: Sandstorm Enterprises founded, later producing related commercial TCP flow tools TCPDEMUX and NetIntercept.
- 2012: simsong/tcpflow GitHub repository created.
- 2013: Upstream README recommends citing the Naval Postgraduate School technical report on tcpflow.
- 2020: Maintainer status report describes porting tcpflow and related libraries to modern C++.

### Related projects

- tcpdump and libpcap are related because tcpflow can process tcpdump packet flows and uses the LBL Packet Capture Library.
- Wireshark is mentioned upstream as a contrasting packet analyzer; TCPDEMUX and NetIntercept are named as related commercial flow tools.

### Sources

- <https://api.github.com/repos/simsong/tcpflow>
- <https://github.com/simsong/tcpflow#readme>


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- Debian apt - tcpflow - 1.6.1-3+b1: normalized package name match | Debian stable package indexes: tcpflow from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | TCP flow recorder | https://github.com/simsong/tcpflow
- Debian apt - tcpflow-nox - 1.6.1-3+b1: normalized package name match | Debian stable package indexes: tcpflow-nox from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | TCP flow recorder - version without X11 dependencies | https://github.com/simsong/tcpflow
- Nix - tcpflow: normalized package name match | nixpkgs package indexes: pkgs/by-name/tc/tcpflow/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - tcpflow - 1.6.1-3build2: normalized package name match | Ubuntu 24.04 LTS package indexes: tcpflow from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | TCP flow recorder | https://github.com/simsong/tcpflow
- Ubuntu apt - tcpflow-nox - 1.6.1-3build2: normalized package name match | Ubuntu 24.04 LTS package indexes: tcpflow-nox from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | TCP flow recorder - version without X11 dependencies | https://github.com/simsong/tcpflow
- apk - tcpflow - 1.6.1-r14: normalized package name match | Alpine Linux edge package indexes: tcpflow from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A Tool for monitoring, capturing and storing TCP connections flows | https://github.com/simsong/tcpflow
- apk - tcpflow-doc - 1.6.1-r14: normalized package name match | Alpine Linux edge package indexes: tcpflow-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A Tool for monitoring, capturing and storing TCP connections flows (documentation) | https://github.com/simsong/tcpflow
- dnf - tcpflow - 1.6.2-0.3.8d47b53.fc45: normalized package name match | Fedora Rawhide package metadata: tcpflow from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Network traffic recorder | https://github.com/simsong/tcpflow
- pacman - tcpflow - 1.6.1-2: normalized package name match | Arch Linux sync databases: tcpflow from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Captures data transmitted as part of TCP connections then stores the data conveniently | https://github.com/simsong/tcpflow
- zypper - tcpflow - 1.6.1-2.17: normalized package name match | openSUSE Tumbleweed package metadata: tcpflow from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Program for capturing and collecting TCP streams | https://github.com/simsong/tcpflow
- MacPorts - tcpflow: normalized package name match | MacPorts ports tree: net/tcpflow/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/tcpflow.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tcpflow.yml)


## Sources

- 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
