# 使用 Homebrew, dnf, Nix 安装 spoofdpi

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

## 安装

```sh
sudo av install brew:spoofdpi
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install spoofdpi
```

  证据: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install spoofdpi
```

  证据: Fedora Rawhide package metadata: spoofdpi from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#spoofdpi
```

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

## 软件包事实

- **软件包键:** brew:spoofdpi
- **软件包管理器:** Homebrew
- **版本:** 1.5.3
- **来源摘要:** Simple and fast anti-censorship tool written in Go
- **主页:** <https://spoofdpi.dev>
- **仓库:** <https://github.com/xvzc/SpoofDPI>
- **最后更新:** 2026-07-26T04:03:44+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- spoofdpi (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

spoofdpi is a Go-based anti-censorship and DPI-circumvention proxy tool that exposes both a simple default CLI invocation and TOML configuration for more controlled packet-manipulation behavior.

### 项目历史

The official documentation describes spoofdpi as a lightweight, flexible tool for circumventing Deep Packet Inspection through packet manipulation. The GitHub repository was created in 2021, and the project documentation now presents a structured user guide with install, quick-start, options, and configuration examples.

### 采用历史

spoofdpi is packaged beyond a single ecosystem: the input records Homebrew, DNF, and Nix packages, while the official install page documents Homebrew, Arch, Fedora, and FreeBSD examples and warns that package-manager versions may lag the latest release.

### 使用方式

The simplest official use is running `spoofdpi` with defaults. Users can then move to command-line flags or a TOML file for DNS, HTTPS, UDP, connection, app-mode, and rule-based routing options.

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

For package maintainers, spoofdpi is interesting because it packages a censorship-circumvention workflow as a single binary with OS-specific libpcap requirements and standard config-file discovery. It also sits in the familiar package-manager tension between fast upstream releases and distro formulas that may trail.

### 时间线

- 2021: GitHub repository created.
- 2025: Official documentation copyright year on spoofdpi.dev.
- 2026: GitHub metadata shows active development and a May 2026 latest release.

### Related projects

- The project belongs to the broader family of DPI-bypass and censorship-circumvention proxy tools, but the official sources reviewed did not name a direct predecessor.

### 来源

- <https://api.github.com/repos/xvzc/spoofdpi: official repository metadata including creation date and popularity signals.>
- <https://spoofdpi.dev/getting-started/install/: official package-manager and manual install notes.>
- <https://spoofdpi.dev/getting-started/introduction/: official description, features, and platform support.>
- <https://spoofdpi.dev/user-guide/overview/: official configuration priority and config search path.>
- input.source_facts.package-manager: Homebrew, DNF, and Nix package-manager presence.


## 安全说明

formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- formula declares a Homebrew service


## 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: $SPOOFDPI_CONFIG, /etc/spoofdpi.toml, $XDG_CONFIG_HOME/spoofdpi/spoofdpi.toml, ~/.config/spoofdpi/spoofdpi.toml
## 其他软件包管理器记录

- Nix - spoofdpi: normalized package name match | nixpkgs package indexes: pkgs/by-name/sp/spoofdpi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - spoofdpi - 1.5.3-2.fc45: normalized package name match | Fedora Rawhide package metadata: spoofdpi from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Simple and fast anti-censorship tool written in Go | https://github.com/xvzc/SpoofDPI


## Combined YAML source

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


## 来源

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