macOS
brew install miniupnpclocal Homebrew formula metadata
sudo port install miniupnpcMacPorts ports tree · net/miniupnpc/Portfile · 来源: api.github.com
安装
brew install miniupnpclocal Homebrew formula metadata
sudo port install miniupnpcMacPorts ports tree · net/miniupnpc/Portfile · 来源: api.github.com
sudo apk add miniupnpcAlpine Linux edge package indexes · miniupnpc · 来源: dl-cdn.alpinelinux.org
sudo apt install miniupnpcDebian stable package indexes · miniupnpc · 来源: deb.debian.org
sudo dnf install miniupnpcFedora Rawhide package metadata · miniupnpc · 来源: dl.fedoraproject.org
nix profile install nixpkgs#miniupnpcnixpkgs package indexes · pkgs/by-name/mi/miniupnpc/package.nix · 来源: api.github.com
sudo pacman -S miniupnpcArch Linux sync databases · miniupnpc · 来源: geo.mirror.pkgbuild.com
sudo zypper install miniupnpcopenSUSE Tumbleweed package metadata · miniupnpc · 来源: download.opensuse.org
概览
UPnP IGD client library and daemon
历史
miniupnpc is the client-library side of Thomas Bernard's MiniUPnP project, a compact C implementation for UPnP Internet Gateway Device control. The MiniUPnP homepage explains that the project was created to provide a free-software implementation of the IGD part of UPnP, with MiniUPnPc acting as the control point library and MiniUPnPd acting as the gateway daemon. Its design goal was smallness: the author explicitly contrasted it with heavier UPnP SDKs and emphasized ANSI C, a tiny footprint, and no dependency on external XML parsers or HTTP implementations.
The project grew around practical NAT traversal. MiniUPnPd first targeted OpenBSD with pf, later gained portability across BSDs, Solaris, macOS, and Linux firewall stacks, while MiniUPnPc remained the portable client component for POSIX, Windows, and AmigaOS. NAT-PMP and PCP support were added on the daemon side, while libnatpmp handles client-side NAT-PMP. The GitHub repository groups miniupnpc, miniupnpd, minissdpd, and experimental async/libevent clients together, reflecting a small suite rather than a single binary.
In practice miniupnpc is embedded by applications that need incoming connections through consumer NAT routers: peer-to-peer clients, active-mode FTP clients, IRC DCC, games, and server-like desktop software. The MiniUPnP site cites Transmission as a BitTorrent client using miniupnpc and libnatpmp, and notes XChat patch work as an example of application integration. In package managers it appears both as command-line tools such as upnpc and as development libraries such as Debian and Ubuntu's libminiupnpc-dev, which is why the Homebrew formula describes it as a UPnP IGD client library and daemon.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
external-ip | cli | 全局可执行文件 | |
upnp-listdevices | cli | 全局可执行文件 | |
upnpc | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/miniupnp/miniupnp
安装元数据
| 软件包键 | brew:miniupnpc |
|---|---|
| 版本 | 2.3.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/miniupnpc |
| 主页 | http://miniupnp.free.fr/ |
| 仓库 | https://github.com/miniupnp/miniupnp |
| 上游文档 | https://miniupnp.tuxfamily.org/doc |
| 许可证 | BSD-3-Clause |
| 源码归档 | https://github.com/miniupnp/miniupnp/releases/download/miniupnpc_2_3_3/miniupnpc-2.3.3.tar.gz |
| 最后更新 | 2026-06-26T19:31:35-04:00 |
| Pulse | updated |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | miniupnpc |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libminiupnpc-dev 2.2.8-2+b2
UPnP IGD client lightweight library development files
https://miniupnp.tuxfamily.org/
sudo apt install libminiupnpc-devlibminiupnpc18 2.2.8-2+b2
UPnP IGD client lightweight library
https://miniupnp.tuxfamily.org/
sudo apt install libminiupnpc18miniupnpc 2.2.8-2+b2
UPnP IGD client lightweight library client
https://miniupnp.tuxfamily.org/
sudo apt install miniupnpcpython3-miniupnpc 2.2.8-2+b2
UPnP IGD client lightweight library Python 3 bindings
https://miniupnp.tuxfamily.org/
sudo apt install python3-miniupnpcminiupnpc
nix profile install nixpkgs#miniupnpclibminiupnpc-dev 2.2.6-1build2
UPnP IGD client lightweight library development files
sudo apt install libminiupnpc-devlibminiupnpc17 2.2.6-1build2
UPnP IGD client lightweight library
sudo apt install libminiupnpc17miniupnpc 2.2.6-1build2
UPnP IGD client lightweight library client
sudo apt install miniupnpcpython3-miniupnpc 2.2.6-1build2
UPnP IGD client lightweight library Python 3 bindings
sudo apt install python3-miniupnpcminiupnpc 2.3.3-r2
Library and tool to control NAT in UPnP-enabled routers
sudo apk add miniupnpcminiupnpc-dev 2.3.3-r2
Library and tool to control NAT in UPnP-enabled routers (development files)
sudo apk add miniupnpc-devminiupnpc-doc 2.3.3-r2
Library and tool to control NAT in UPnP-enabled routers (documentation)
sudo apk add miniupnpc-docpy3-miniupnpc 2.3.3-r2
Python bindings for miniupnpc
sudo apk add py3-miniupnpcminiupnpc 2.3.3-6.fc45
Library and tool to control NAT in UPnP-enabled routers
sudo dnf install miniupnpcminiupnpc-devel 2.3.3-6.fc45
Development files for miniupnpc
sudo dnf install miniupnpc-develpython3-miniupnpc 2.3.3-6.fc45
Python3 interface to miniupnpc
sudo dnf install python3-miniupnpc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.