# 使用 Homebrew, Nix, zypper 安装 stuntman

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

## 安装

```sh
sudo av install brew:stuntman
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install stuntman
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#stuntman
```

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

- zypper (92%):

```sh
sudo zypper install stuntman
```

  证据: openSUSE Tumbleweed package metadata: stuntman from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:stuntman
- **软件包管理器:** Homebrew
- **版本:** 1.2.16
- **来源摘要:** Implementation of the STUN protocol
- **主页:** <https://www.stunprotocol.org>
- **仓库:** <https://github.com/jselbie/stunserver>
- **最后更新:** 2026-05-11T22:58:18Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- stunclient (别名)
- stunserver (别名)
- stuntestcode (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

STUNTMAN is an open source STUN server, client, and library implementation used for NAT traversal testing and services.

### 项目历史

The official site describes STUNTMAN as an implementation of STUN for RFCs 5389, 5769, and 5780, with backward compatibility for RFC 3489. The GitHub README identifies John Selbie as the author and describes the package as C++ server and client code.

SourceForge project metadata records the project as registered on 2012-02-08, and the official file history shows early 1.1.x and 1.2.x tarballs through the 2010s. The GitHub README shows version 1.2.17 dated 2024-06-30.

### 采用历史

The input package facts list STUNTMAN in Homebrew, Nix, and openSUSE/Zypper. That is modest but meaningful adoption for a specialized network protocol tool.

The official site publishes source packages, Windows binaries, older macOS binaries, and a public STUN service, which made the project usable both as installable software and as a reference service for clients.

### 使用方式

The package provides stunserver, stunclient, and stuntestcode. The README says running stunserver without arguments listens on port 3478 on all adapters, while stunclient can query a STUN server to inspect observed public addressing.

The server supports UDP and TCP over IPv4 and IPv6, basic and full modes, and optional JSON configuration through --configfile when multiple protocol or IP-family configurations need to run in one process.

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

STUNTMAN matters to package nerds because it is a practical, buildable STUN reference package: a server, client, tests, man-style docs, and portable C++ source that distributions can ship without a larger VoIP stack.

For NAT traversal debugging, having stunclient and stunserver available from a package manager is valuable because it turns a WebRTC/VoIP protocol dependency into a simple command-line diagnostic.

### 时间线

- 2012: SourceForge records the STUNTMAN project as registered on 2012-02-08.
- 2012: SourceForge file history lists STUNTMAN 1.2.0 on 2012-12-12.
- 2017: SourceForge listed STUNTMAN 1.2.11 with RFC 5389, 5769, 5780, and legacy RFC 3489 compatibility.
- 2024: The GitHub README identifies version 1.2.17 dated 2024-06-30.

### Related projects

- The official site links related NAT traversal projects such as Pion, libnice, and JSTUN.
- coturn is a related STUN/TURN server commonly packaged for NAT traversal infrastructure.

### 来源

- <https://github.com/jselbie/stunserver#readme>
- <https://github.com/jselbie/stunserver/blob/master/resources/stunserver.md>
- <https://sourceforge.net/projects/stuntman/files/>
- <https://www.stunprotocol.org/>
- input.source_facts.package-manager


## 安全说明

没有找到 stuntman 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


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

- Nix - stuntman: normalized package name match | nixpkgs package indexes: pkgs/by-name/st/stuntman/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - stuntman - 1.2.16-2.20: normalized package name match | openSUSE Tumbleweed package metadata: stuntman from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | STUN server and client | http://www.stunprotocol.org


## Combined YAML source

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