macOS
brew install libnatpmplocal Homebrew formula metadata
sudo port install libnatpmpMacPorts ports tree · net/libnatpmp/Portfile · 来源: api.github.com
安装
brew install libnatpmplocal Homebrew formula metadata
sudo port install libnatpmpMacPorts ports tree · net/libnatpmp/Portfile · 来源: api.github.com
sudo apk add libnatpmpAlpine Linux edge package indexes · libnatpmp · 来源: dl-cdn.alpinelinux.org
sudo dnf install libnatpmpFedora Rawhide package metadata · libnatpmp · 来源: dl.fedoraproject.org
nix profile install nixpkgs#libnatpmpnixpkgs package indexes · pkgs/by-name/li/libnatpmp/package.nix · 来源: api.github.com
sudo pacman -S libnatpmpArch Linux sync databases · libnatpmp · 来源: geo.mirror.pkgbuild.com
sudo apt install libnatpmp-devDebian stable package indexes · libnatpmp-dev · 来源: deb.debian.org
概览
NAT port mapping protocol library
历史
libnatpmp is the MiniUPnP project's small C client library for NAT Port Mapping Protocol, with a natpmpc command-line client for requesting mappings from NAT gateways.
The official MiniUPnP page describes NAT-PMP as a NAT traversal protocol and positions libnatpmp as a client-side implementation. The GitHub README says the repository was initialized from libnatpmp-20120821 and records Thomas Bernard's 2007-2009 copyright.
The protocol context comes from RFC 6886: NAT-PMP automated NAT port mappings, was implemented in Apple products from 2005 onward, and was superseded in 2013 by Port Control Protocol while retaining a compatible packet-format lineage.
libnatpmp's adoption follows the MiniUPnP ecosystem and peer-to-peer networking use cases where software wants an explicit router port mapping without relying on UPnP IGD. The MiniUPnP documentation includes examples for simple redirection and a P2P-style initialization state machine.
In package managers, libnatpmp is small but useful: it gives applications a portable asynchronous NAT-PMP client library and gives users the natpmpc tool for testing gateway support.
Applications initialize a natpmp_t object, send address or port-mapping requests, wait with select using the timeout helper, and read responses or retry. The API is intentionally event-loop-friendly because calls are asynchronous and based on non-blocking sockets.
Package nerds care about libnatpmp because it is the tiny sharp tool beside MiniUPnP: one library, one protocol, one CLI, and enough C API to let network applications punch a NAT mapping when the gateway supports NAT-PMP.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
natpmpc | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:libnatpmp |
|---|---|
| 版本 | 20230423 |
| 软件包管理器 | Homebrew |
| 主页 | https://miniupnp.tuxfamily.org/libnatpmp.html |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libnatpmp-dev 20230423-1.2+b3
portable and fully compliant implementation of NAT-PMP (dev files)
http://miniupnp.free.fr/libnatpmp.html
sudo apt install libnatpmp-devlibnatpmp1t64 20230423-1.2+b3
portable and fully compliant implementation of NAT-PMP
http://miniupnp.free.fr/libnatpmp.html
sudo apt install libnatpmp1t64natpmpc 20230423-1.2+b3
portable and fully compliant implementation of NAT-PMP (client)
http://miniupnp.free.fr/libnatpmp.html
sudo apt install natpmpcpython3-libnatpmp 20230423-1.2+b3
portable and fully compliant implementation of NAT-PMP (Python 3 bindings)
http://miniupnp.free.fr/libnatpmp.html
sudo apt install python3-libnatpmplibnatpmp
nix profile install nixpkgs#libnatpmplibnatpmp-dev 20230423-1.2build1
portable and fully compliant implementation of NAT-PMP (dev files)
http://miniupnp.free.fr/libnatpmp.html
sudo apt install libnatpmp-devlibnatpmp1t64 20230423-1.2build1
portable and fully compliant implementation of NAT-PMP
http://miniupnp.free.fr/libnatpmp.html
sudo apt install libnatpmp1t64natpmpc 20230423-1.2build1
portable and fully compliant implementation of NAT-PMP (client)
http://miniupnp.free.fr/libnatpmp.html
sudo apt install natpmpcpython3-libnatpmp 20230423-1.2build1
portable and fully compliant implementation of NAT-PMP (Python 3 bindings)
http://miniupnp.free.fr/libnatpmp.html
sudo apt install python3-libnatpmplibnatpmp 20230423-r0
Portable and fully compliant implementation of the NAT-PMP protocol
http://miniupnp.free.fr/libnatpmp.html
sudo apk add libnatpmplibnatpmp-dev 20230423-r0
Portable and fully compliant implementation of the NAT-PMP protocol (development files)
http://miniupnp.free.fr/libnatpmp.html
sudo apk add libnatpmp-devlibnatpmp-doc 20230423-r0
Portable and fully compliant implementation of the NAT-PMP protocol (documentation)
http://miniupnp.free.fr/libnatpmp.html
sudo apk add libnatpmp-doclibnatpmp 20230423-10.fc45
Library of The NAT Port Mapping Protocol (NAT-PMP)
http://miniupnp.free.fr/libnatpmp.html
sudo dnf install libnatpmplibnatpmp-devel 20230423-10.fc45
Development files for libnatpmp
http://miniupnp.free.fr/libnatpmp.html
sudo dnf install libnatpmp-devellibnatpmp 20230423-3
A portable and fully compliant implementation of the NAT-PMP protocol
http://miniupnp.free.fr/libnatpmp.html
sudo pacman -S libnatpmplibnatpmp
sudo port install libnatpmp来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.