# 使用 Homebrew, Nix 安装 tracebox

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

## 安装

```sh
sudo av install brew:tracebox
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tracebox
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#tracebox
```

  证据: nixpkgs package indexes: pkgs/by-name/tr/tracebox/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:tracebox
- **软件包管理器:** Homebrew
- **版本:** 0.4.4
- **来源摘要:** Middlebox detection tool
- **主页:** <https://github.com/tracebox/tracebox>
- **仓库:** <https://github.com/tracebox/tracebox>
- **最后更新:** 2026-06-25T13:38:09+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- luatracebox (别名)
- tracebox (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.4.4
## 项目历史与用法

Tracebox is a network-diagnostics CLI for detecting middleboxes on an Internet path. Its README describes it as traceroute-like, but focused on identifying packet modifications by comparing probes with ICMP replies.

### 项目历史

Tracebox comes from the research and measurement side of networking. The project page explains that it detects middleboxes by using ICMP replies to identify changes in packets, relying on the common behavior of devices that return more of the original datagram than the minimum described by RFC 792.

The GitHub repository was created in 2013, with public release metadata from v0.3 in May 2015 through v0.4.4 in January 2018. The source tree includes C and C++ implementation code, Lua support, manual pages, and documentation.

### 采用历史

Tracebox's own README documents Homebrew installation for macOS, Linux builds from autotools dependencies, an OpenWRT package feed, and an Android build script for rooted phones. The OpenWRT section is explicitly marked unmaintained, which fits a project that was useful to network researchers and operators but did not become a constantly refreshed mainstream CLI.

### 使用方式

Users run `tracebox` or `luatracebox` to probe a path and inspect hop-by-hop packet modifications. The README documents JSON output via `-j`, verbose modification details, hop data, ICMP extensions, additions, deletions, and modifications, making it scriptable for measurement workflows.

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

In package-manager culture, Tracebox is a classic specialist network tool: packaged in Homebrew and Nix, rooted in Unix build conventions, and interesting because it extends the familiar traceroute mental model into middlebox detection and JSON-producing measurement.

### 时间线

- 2013-06: GitHub repository created.
- 2015-05: Tracebox v0.3 released.
- 2017-10: Tracebox v0.4.2 released.
- 2018-01: Tracebox v0.4.4 released.

### Related projects

- traceroute, ICMP, Lua, OpenWRT, Android builds, libpcap, netfilter queue.

### 来源

- <https://api.github.com/repos/tracebox/tracebox>
- <https://github.com/tracebox/tracebox#readme>
- <https://github.com/tracebox/tracebox/releases>
- <https://www.tracebox.org/>
- <https://www.tracebox.org/lua_doc>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

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

## 其他软件包管理器记录

- Nix - tracebox: normalized package name match | nixpkgs package indexes: pkgs/by-name/tr/tracebox/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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