macOS
brew install ndpilocal Homebrew formula metadata
安装
brew install ndpilocal Homebrew formula metadata
sudo apk add ndpiAlpine Linux edge package indexes · ndpi · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#ndpinixpkgs package indexes · pkgs/by-name/nd/ndpi/package.nix · 来源: api.github.com
sudo apt install libndpi-binDebian stable package indexes · libndpi-bin · 来源: deb.debian.org
sudo zypper install libndpi-developenSUSE Tumbleweed package metadata · libndpi-devel · 来源: download.opensuse.org
概览
Deep Packet Inspection (DPI) library
历史
nDPI is ntop's open source deep packet inspection library for classifying application-layer traffic, extracting selected metadata, analyzing encrypted traffic, and exposing APIs for traffic analysis.
ntop describes nDPI as a maintained DPI toolkit released under LGPL, created to extend the original OpenDPI library with protocols that were otherwise available only in the paid OpenDPI version. The project was also modified for traffic-monitoring workloads by disabling features that slowed down the DPI engine without helping monitoring use cases.
The nDPI README cites the 2014 IWCMC paper `nDPI: Open-source high-speed deep packet inspection`, anchoring the project in academic and operational network-monitoring history. The GitHub API reports the ntop/nDPI repository was created on April 19, 2015.
nDPI has the strongest adoption signal in this batch. ntop says it is used in ntop tools and third-party applications, including ntopng and nProbe Cento, to detect application protocols independently of ports. The official product page lists enterprise and ISP use cases such as traffic classification, content filtering, anomaly detection, QoS, bandwidth management, and IDS/IPS enrichment.
The repository had about 4.5k GitHub stars and 993 forks on July 1, 2026. Homebrew Formulae listed stable 5.0, 739 installs, and 142 installs-on-request in its 365-day analytics window on the same date.
Developers embed the C library into probes, firewalls, monitoring agents, or security tools, then feed it packets or flows to classify protocols, risks, and metadata. The README also documents `ndpiReader`, build steps, test scripts, and the process for adding a new protocol dissector.
Operational users tend to encounter nDPI indirectly through ntopng, nProbe, nProbe Cento, Wireshark-related packaging, or distro packages such as Debian's libndpi-bin/libndpi-dev.
nDPI is package-significant because it is both a library and a CLI/tooling package. It sits at the boundary between observability, security, packet capture, and policy enforcement, and its protocol database needs continuing updates as applications move ports, encrypt traffic, or change signatures.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
ndpiReader | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:ndpi |
|---|---|
| 版本 | 5.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/ndpi |
| 主页 | https://www.ntop.org/products/deep-packet-inspection/ndpi/ |
| 仓库 | https://github.com/ntop/nDPI |
| 上游文档 | https://github.com/ntop/nDPI#readme |
| 许可证 | LGPL-3.0-or-later |
| 源码归档 | https://github.com/ntop/nDPI/archive/refs/tags/5.0.tar.gz |
| 依赖 | json-c |
| 构建依赖 | autoconf, automake, libtool, pkgconf |
| macOS 提供的库 | libpcap |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | ndpi |
| 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 软件包链接分开显示。
libndpi-bin 4.2-2.1+b3
extensible deep packet inspection library - ndpiReader
http://www.ntop.org/products/ndpi/
sudo apt install libndpi-binlibndpi-dev 4.2-2.1+b3
extensible deep packet inspection library - development files
http://www.ntop.org/products/ndpi/
sudo apt install libndpi-devlibndpi-wireshark 4.2-2.1+b3
extensible deep packet inspection library - wireshark dissector
http://www.ntop.org/products/ndpi/
sudo apt install libndpi-wiresharklibndpi4.2t64 4.2-2.1+b3
extensible deep packet inspection library - shared library
http://www.ntop.org/products/ndpi/
sudo apt install libndpi4.2t64ndpi
nix profile install nixpkgs#ndpilibndpi-bin 4.2-2.1build1
extensible deep packet inspection library - ndpiReader
http://www.ntop.org/products/ndpi/
sudo apt install libndpi-binlibndpi-dev 4.2-2.1build1
extensible deep packet inspection library - development files
http://www.ntop.org/products/ndpi/
sudo apt install libndpi-devlibndpi-wireshark 4.2-2.1build1
extensible deep packet inspection library - wireshark dissector
http://www.ntop.org/products/ndpi/
sudo apt install libndpi-wiresharklibndpi4.2t64 4.2-2.1build1
extensible deep packet inspection library - shared library
http://www.ntop.org/products/ndpi/
sudo apt install libndpi4.2t64ndpi 4.10-r0
Open Source Deep Packet Inspection Software Toolkit
sudo apk add ndpindpi-dev 4.10-r0
Open Source Deep Packet Inspection Software Toolkit (development files)
sudo apk add ndpi-devlibndpi-devel 4.12-1.4
Development headers for nNDPI
sudo zypper install libndpi-devellibndpi4 4.12-1.4
Extensible deep packet inspection library
sudo zypper install libndpi4ndpi-common 4.12-1.4
Common files used by nDPI
sudo zypper install ndpi-commonndpi-tools 4.12-1.4
Tools for nNDPI
sudo zypper install ndpi-tools来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.