# Install spoofdpi with Homebrew, dnf, Nix

Simple and fast anti-censorship tool written in Go. Version 1.5.3 via Homebrew; verified 2026-07-26. Also installable with nix: nix profile install nixpkgs#spoofdpi.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install spoofdpi
```

  Evidence: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install spoofdpi
```

  Evidence: Fedora Rawhide package metadata: spoofdpi from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

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

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

## Package facts

- **Package key:** brew:spoofdpi
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/spoofdpi>
- **Version:** 1.5.3
- **Source summary:** Simple and fast anti-censorship tool written in Go
- **Homepage:** <https://spoofdpi.dev>
- **Repository:** <https://github.com/xvzc/SpoofDPI>
- **Upstream docs:** <https://spoofdpi.dev>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/xvzc/SpoofDPI/releases/download/v1.5.3/spoofdpi-1.5.3.tar.gz>
- **Last updated:** 2026-07-26T04:03:44+02:00
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- spoofdpi (cli)
- spoofdpi (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Service: declared
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 1.5.3
- Package-manager updated: 2026-07-26
- Local data: ok
- Upstream repository: https://github.com/xvzc/SpoofDPI
- info: No cached GitHub release or tag data was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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.


## Security Notes

formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- 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
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** spoofdpi
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Simple and fast anti-censorship tool written in Go | https://github.com/xvzc/SpoofDPI


## Related links

- [Secret-risk packages](https://pkg.so/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://pkg.so/brew/go/) - Build dependency declared by Homebrew.
- [mihomo](https://pkg.so/brew/mihomo/) - Shares pkgdb curated category or tags: cli, go, networking, proxy.
- [gost](https://pkg.so/brew/gost/) - Shares pkgdb curated category or tags: cli, go, networking, proxy.
- [obfs4proxy](https://pkg.so/brew/obfs4proxy/) - Shares pkgdb curated category or tags: cli, go, networking, proxy.
- [getparty](https://pkg.so/brew/getparty/) - Shares pkgdb curated category or tags: cli, go, networking, proxy.
- [trojan-go](https://pkg.so/brew/trojan-go/) - Shares pkgdb curated category or tags: cli, go, networking, proxy.
- [glider](https://pkg.so/brew/glider/) - Shares pkgdb curated category or tags: cli, go, networking, proxy.
- [swgp-go](https://pkg.so/brew/swgp-go/) - Shares pkgdb curated category or tags: cli, go, networking, proxy.
- [cloudflared](https://pkg.so/brew/cloudflared/) - Shares pkgdb curated category or tags: cli, networking, proxy.
- [ndpi](https://pkg.so/brew/ndpi/) - Local package facts share a topical domain. Shared terms: cli, deep, deep-packet-inspection, dpi, inspection.
- [libprotoident](https://pkg.so/brew/libprotoident/) - Local package facts share a topical domain. Shared terms: cli, deep, deep-packet-inspection, inspection, networking.

## Combined YAML source

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


## Sources

- 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
