# Install stuntman with Homebrew, Nix, zypper

Implementation of the STUN protocol. Version 1.2.16 via Homebrew; verified 2026-05-11.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install stuntman
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

  Evidence: 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
```

  Evidence: openSUSE Tumbleweed package metadata: stuntman from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:stuntman
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/stuntman>
- **Version:** 1.2.16
- **Source summary:** Implementation of the STUN protocol
- **Homepage:** <https://www.stunprotocol.org>
- **Repository:** <https://github.com/jselbie/stunserver>
- **Upstream docs:** <https://github.com/jselbie/stunserver#readme>
- **License:** Apache-2.0
- **Source archive:** <https://www.stunprotocol.org/stunserver-1.2.16.tgz>
- **Last updated:** 2026-05-11T22:58:18Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- stunclient (cli)
- stunserver (cli)
- stuntestcode (cli)
- stunclient (alias)
- stunserver (alias)
- stuntestcode (alias)

## Build dependencies

- boost

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.2.16
- Package-manager updated: 2026-05-11
- Local data: ok
- Upstream repository: https://www.stunprotocol.org
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

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

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

No matching local secret-handling manifest was found for stuntman. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** stuntman
- **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 - 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.18: normalized package name match | openSUSE Tumbleweed package metadata: stuntman from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | STUN server and client | http://www.stunprotocol.org


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [pwnat](https://www.automicvault.com/pkg/brew/pwnat/) - Shares av.db curated category or tags: cli, client-server, nat-traversal, networking.
- [libnatpmp](https://www.automicvault.com/pkg/brew/libnatpmp/) - Shares av.db curated category or tags: cli, nat-traversal, networking.
- [coturn](https://www.automicvault.com/pkg/brew/coturn/) - Shares av.db curated category or tags: cli, nat-traversal, networking, stun, webrtc.
- [miniupnpc](https://www.automicvault.com/pkg/brew/miniupnpc/) - Shares av.db curated category or tags: cli, nat-traversal, networking.
- [dumbpipe](https://www.automicvault.com/pkg/brew/dumbpipe/) - Shares av.db curated category or tags: cli, nat-traversal, networking.
- [snowflake](https://www.automicvault.com/pkg/brew/snowflake/) - Shares av.db curated category or tags: cli, networking, webrtc.
- [tiger-vnc](https://www.automicvault.com/pkg/brew/tiger-vnc/) - Shares av.db curated category or tags: cli, client-server, networking.
- [ucspi-tcp](https://www.automicvault.com/pkg/brew/ucspi-tcp/) - Shares av.db curated category or tags: cli, client-server, networking.

## Combined YAML source

View the package source record on GitHub. [combined/stuntman.yml](https://github.com/automic-vault/db/blob/main/combined/stuntman.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
