# 使用 Homebrew 安装 tcpsplit

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

## 安装

```sh
sudo av install brew:tcpsplit
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tcpsplit
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:tcpsplit
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/tcpsplit>
- **版本:** 0.3
- **来源摘要:** Break a packet trace into some number of sub-traces
- **主页:** <https://www.icir.org/mallman/software/tcpsplit/>
- **上游文档:** <https://www.icir.org/mallman/software/tcpsplit/>
- **许可证:** LicenseRef-Homebrew-cannot-represent
- **源码归档:** <https://www.icir.org/mallman/software/tcpsplit/tcpsplit-0.3.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- tcpsplit (cli)
- tcpsplit (别名)

## macOS 提供的库

- libpcap

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.3
- 本地数据: OK
- 上游仓库: https://www.icir.org/mallman/software/tcpsplit/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

tcpsplit is a small libpcap trace utility from Mark Allman for splitting one packet trace into several smaller traces while keeping each TCP connection together. Its history is intentionally modest: it is a research-and-analysis helper rather than a broad platform.

### 项目历史

The official ICIR page presents tcpsplit as Mark Allman's utility for breaking large libpcap traces along TCP connection boundaries. The 0.3 README identifies the March 2025 release and says it was developed for MacOS and Linux, with libpcap as the required dependency.

### 采用历史

The supplied package metadata shows only a Homebrew package among the tracked package managers, which fits the tool's narrow role in packet-trace analysis. The author's homepage notes a new tcpsplit release in March 2025, so the project was still maintained for its niche even without broad packaging.

### 使用方式

The package is used when a packet trace is too large for detailed work or when analysis should be developed against a subset without splitting individual TCP flows across output files. The README documents deterministic splitting, prefix-based IPv4 and IPv6 classification, and a validation script to check that splitting did not lose data.

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

For package nerds, tcpsplit is the kind of single-purpose C utility that belongs near tcpdump and other pcap tools: it does one trace-management job and stays out of the way. Its value is less about popularity and more about preserving flow boundaries while making large captures tractable.

### 时间线

- March 2025: tcpsplit 0.3 released with refactoring, IPv6 support, Linux cooked SLL2 support, and prefix options.
- Package metadata: tracked as a Homebrew formula.

### Related projects

- libpcap is the required trace-file dependency; tcpdump-style pcap captures are the practical input; VLAN and Linux cooked capture formats appear in the official ChangeLog as supported trace concerns.

### 来源

- <https://www.icir.org/mallman/>
- <https://www.icir.org/mallman/software/tcpsplit/>
- <https://www.icir.org/mallman/software/tcpsplit/ChangeLog>
- input source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tcpsplit
- **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


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [yconalyzer](https://pkg.so/zh-hans/brew/yconalyzer/) - Shares pkgdb curated category or tags: cli, networking, pcap, tcp.
- [miruo](https://pkg.so/zh-hans/brew/miruo/) - Shares pkgdb curated category or tags: cli, networking, pcap, tcp.
- [iperf3](https://pkg.so/zh-hans/brew/iperf3/) - Shares pkgdb curated category or tags: cli, networking, tcp.
- [socat](https://pkg.so/zh-hans/brew/socat/) - Shares pkgdb curated category or tags: cli, networking, tcp.
- [tor](https://pkg.so/zh-hans/brew/tor/) - Shares pkgdb curated category or tags: cli, networking, tcp.
- [netcat](https://pkg.so/zh-hans/brew/netcat/) - Shares pkgdb curated category or tags: cli, networking, tcp.
- [haproxy](https://pkg.so/zh-hans/brew/haproxy/) - Shares pkgdb curated category or tags: cli, networking, tcp.
- [tcpdump](https://pkg.so/zh-hans/brew/tcpdump/) - Shares pkgdb curated category or tags: cli, networking, pcap.
- [ipsumdump](https://pkg.so/zh-hans/brew/ipsumdump/) - Local package facts share a topical domain. Shared terms: analysis, cli, into, networking, packet.
- [libprotoident](https://pkg.so/zh-hans/brew/libprotoident/) - Local package facts share a topical domain. Shared terms: analysis, cli, flow, flow-analysis, networking.

## Combined YAML source

View the package source record on GitHub. [combined/tcpsplit.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tcpsplit.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
- cross-ecosystem install command graph
