# 使用 Homebrew, apk, apt, MacPorts, Nix, pacman 安装 sniffglue

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

## 安装

```sh
sudo av install brew:sniffglue
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install sniffglue
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install sniffglue
```

  证据: MacPorts ports tree: security/sniffglue/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add sniffglue
```

  证据: Alpine Linux edge package indexes: sniffglue from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install sniffglue
```

  证据: Debian stable package indexes: sniffglue from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#sniffglue
```

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

- pacman (92%):

```sh
sudo pacman -S sniffglue
```

  证据: Arch Linux sync databases: sniffglue from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:sniffglue
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/sniffglue>
- **版本:** 0.16.2
- **来源摘要:** Secure multithreaded packet sniffer
- **主页:** <https://github.com/kpcyrd/sniffglue>
- **仓库:** <https://github.com/kpcyrd/sniffglue>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://github.com/kpcyrd/sniffglue/archive/refs/tags/v0.16.2.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- sniffglue (cli)
- sniffglue (别名)

## 构建依赖

- rust
- scdoc

## macOS 提供的库

- libpcap

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.16.2
- 本地数据: OK
- 上游仓库: https://github.com/kpcyrd/sniffglue
- 检测到的最新版本: v0.16.2 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

sniffglue is a Rust network sniffer focused on safe packet parsing, concurrent decoding, and useful default output.

### 项目历史

The official README describes sniffglue as a Rust packet sniffer whose packets are parsed concurrently with a thread pool. GitHub repository metadata dates the public repository to 2017.

The project emphasizes security engineering: seccomp restrictions, privilege dropping, chroot configuration, fuzzing, and a goal of not crashing on untrusted network input.

### 采用历史

The README lists installation paths through Arch Linux, Homebrew, Debian/Ubuntu/Kali, Alpine, Gentoo, NixOS, GNU Guix, Fedora-family systems through COPR, Cargo, and Docker. It also notes Debian bullseye and Ubuntu 21.04 as first-included releases.

### 使用方式

Users run sniffglue on an interface or PCAP file, increase verbosity to show more protocols, choose thread counts, and rely on default filters for common protocols such as DHCP, DNS, TLS, and HTTP.

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

sniffglue stands out in package-manager culture as a Rust CLI where packaging is tied to hardening dependencies such as libpcap and libseccomp, plus distro-specific defaults for /etc/sniffglue.conf.

### 时间线

- 2017: The kpcyrd/sniffglue GitHub repository was created.
- 2021: The README says sniffglue was first included in Debian bullseye and Ubuntu 21.04.
- 2020s: The README documents packages across Homebrew, Arch, Debian/Ubuntu/Kali, Alpine, Gentoo, NixOS, Guix, and Fedora-family systems.

### Related projects

- libpcap is required for packet capture.
- libseccomp is used for syscall restrictions.
- cargo-fuzz and reprotest are documented for fuzzing and reproducible-build checks.

### 来源

- <https://api.github.com/repos/kpcyrd/sniffglue>
- <https://github.com/kpcyrd/sniffglue>
- <https://raw.githubusercontent.com/kpcyrd/sniffglue/main/README.md>
- <https://raw.githubusercontent.com/kpcyrd/sniffglue/main/docs/sniffglue.1.scd>
- source_facts.package-manager


## 安全说明

escape, surveillance, or offensive capability signal.

- **Geiger 风险:** red / 中
- escape, surveillance, or offensive capability signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /etc/sniffglue.conf
## 源数据库详情

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

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

- Debian apt - sniffglue - 0.16.1-1+b4: normalized package name match | Debian stable package indexes: sniffglue from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Secure multithreaded packet sniffer
- Nix - sniffglue: normalized package name match | nixpkgs package indexes: pkgs/by-name/sn/sniffglue/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - sniffglue - 0.16.0-3build1: normalized package name match | Ubuntu 24.04 LTS package indexes: sniffglue from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Secure multithreaded packet sniffer
- apk - sniffglue - 0.16.2-r0: normalized package name match | Alpine Linux edge package indexes: sniffglue from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Secure multithreaded packet sniffer | https://github.com/kpcyrd/sniffglue
- apk - sniffglue-doc - 0.16.2-r0: normalized package name match | Alpine Linux edge package indexes: sniffglue-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Secure multithreaded packet sniffer (documentation) | https://github.com/kpcyrd/sniffglue
- pacman - sniffglue - 0.16.2-1: normalized package name match | Arch Linux sync databases: sniffglue from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Secure multithreaded packet sniffer | https://github.com/kpcyrd/sniffglue
- MacPorts - sniffglue: normalized package name match | MacPorts ports tree: security/sniffglue/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [scdoc](https://pkg.so/zh-hans/brew/scdoc/) - Build dependency declared by Homebrew.
- [hubble](https://pkg.so/zh-hans/brew/hubble/) - Shares pkgdb curated category or tags: cli, networking, security.
- [bore-cli](https://pkg.so/zh-hans/brew/bore-cli/) - Shares pkgdb curated category or tags: cli, networking, rust.
- [pure-ftpd](https://pkg.so/zh-hans/brew/pure-ftpd/) - Shares pkgdb curated category or tags: cli, networking, security.
- [vsftpd](https://pkg.so/zh-hans/brew/vsftpd/) - Shares pkgdb curated category or tags: cli, networking, security.
- [cloudflare-quiche](https://pkg.so/zh-hans/brew/cloudflare-quiche/) - Shares pkgdb curated category or tags: cli, networking, rust.
- [havn](https://pkg.so/zh-hans/brew/havn/) - Shares pkgdb curated category or tags: cli, networking, rust, security.
- [monocle](https://pkg.so/zh-hans/brew/monocle/) - Shares pkgdb curated category or tags: cli, networking, rust.
- [ghostunnel](https://pkg.so/zh-hans/brew/ghostunnel/) - Shares pkgdb curated category or tags: cli, networking, security.
- [httpry](https://pkg.so/zh-hans/brew/httpry/) - Local package facts share a topical domain. Shared terms: cli, networking, packet, packet-sniffer, sniffer.
- [rustcat](https://pkg.so/zh-hans/brew/rustcat/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, networking, rust, security.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
