# simsong/tcpflow

TCP/IP packet demultiplexer. Download from:

Repository: https://github.com/simsong/tcpflow
Canonical: https://ross.abutalabs.com/products/tcpflow
Homepage: http://downloads.digitalcorpora.org/downloads/tcpflow/
Language: C++
License: GPL-3.0
License Family: copyleft
Topics: digital-forensics, forensics, tcp-protocol, tcpip
Last push: 2026-01-29T22:18:29+00:00

## Health v2 (maintenance only)
Score: 52/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 64, release rhythm 8, longevity 100
- inputs: {"age_days": 5268, "days_push": 216, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1774, forks 246 (observed 2026-08-28T04:05:34.373592+00:00)

## What it is
tcpflow is a C++ command-line tool that captures TCP connection data and demultiplexes it into per-flow files, one per direction, for protocol analysis and debugging. It can also process stored tcpdump packet captures, making it useful for digital forensics.

## Use cases
- capture and store TCP flow data to separate files
- reconstruct TCP streams from a pcap capture
- analyze network traffic for forensic investigations
- debug application protocols by inspecting raw TCP payloads
- extract transferred files or data from captured network sessions

## When to choose
- you need per-connection TCP payload extraction rather than packet-level dumps like tcpdump
- you are doing network forensics and need flows reconstructed from pcap files
- you want a lightweight CLI tool available in most Linux package managers

## When to avoid
- you need a GUI or interactive traffic analyzer like Wireshark
- you need deep application-layer protocol parsing (HTTP headers, TLS decryption) out of the box
- you need UDP or non-TCP traffic analysis

## Facets
- artifact type: cli-tool
- maturity: active
- function: networking, security, parser, developer-tools
- domain: security, networking, developer-tools
- platform: windows, cli, cpp
- tags: packet-capture, tcp, digital-forensics, pcap-analysis, network-debugging, protocol-analysis, command-line, linux, macos

## Member repositories
- simsong/tcpflow (main) score 52

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:34.373592+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:25:24.045435+00:00, confidence not recorded.
  - readme: https://github.com/simsong/tcpflow (fetched 2026-08-28T04:05:34.373592+00:00, sha dc1a05b13d91)
  - homepage: http://downloads.digitalcorpora.org/downloads/tcpflow/ (fetched 2026-08-29T11:03:59.947845+00:00, sha 0461a97e3660)
- Data as of 2026-08-30T08:39:29.467469+00:00.
