# 使用 Homebrew 安装 sniffer

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

## 安装

```sh
sudo av install brew:sniffer
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install sniffer
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:sniffer
- **软件包管理器:** Homebrew
- **版本:** 0.6.3
- **来源摘要:** Modern alternative network traffic sniffer
- **主页:** <https://github.com/chenjiandongx/sniffer>
- **仓库:** <https://github.com/chenjiandongx/sniffer>
- **最后更新:** 2026-07-26T04:03:42+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- sniffer (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

sniffer is a terminal network traffic analyzer written as a modern alternative to tools such as bandwhich and nethogs. It uses libpcap through gopacket and presents process and connection traffic in a responsive TUI.

### 项目历史

The public GitHub repository was created in 2021. The official README describes a troubleshooting tool that can be started on demand without loading kernel modules and can capture traffic across Linux, macOS, and Windows-specific process matching approaches.

### 采用历史

The project has a narrower packaging footprint than the older networking tools it references. The supplied package facts list Homebrew packaging, while the README documents Go installation and Homebrew installation on macOS.

### 使用方式

Users run sniffer with flags for BPF filters, device prefixes, refresh interval, view mode, DNS resolution, and traffic units. The README documents bytes, packets, and plot modes plus terminal hotkeys.

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

sniffer is notable as a small Go CLI that still depends on platform packet-capture facilities: libpcap on Unix-like systems and npcap on Windows. That makes it a packaging example where a statically built Go binary still has native capture prerequisites.

### 时间线

- 2021: Public GitHub repository created.
- 2021: README links an introductory article dated 2021-11-17.
- 2025: GitHub metadata shows repository updates after initial release.

### Related projects

- The official README names gopacket, libpcap, bandwhich, nethogs, ss, lsof, gopsutil, npcap, and iperf as related tools or dependencies.

### 来源

- <https://api.github.com/repos/chenjiandongx/sniffer>
- <https://github.com/chenjiandongx/sniffer#readme>
- source_facts.package-manager


## 安全说明

broad file, network, media, or database tool signal. escape, surveillance, or offensive capability signal.

- **Geiger 风险:** red / 中
- broad file, network, media, or database tool signal
- escape, surveillance, or offensive capability signal


## Combined YAML source

View the package source record on GitHub. [combined/sniffer.yml](https://github.com/mxcl/pkgdb/blob/main/combined/sniffer.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
