macOS
brew install ndpilocal Homebrew formula metadata
brew
Deep Packet Inspection (DPI) library. Version 5.0 via Homebrew; verified from local package data.
install
brew install ndpilocal Homebrew formula metadata
sudo apk add ndpiAlpine Linux edge package indexes · ndpi · source: dl-cdn.alpinelinux.org
sudo apt install libndpi-binDebian stable package indexes · libndpi-bin · source: deb.debian.org
nix profile install nixpkgs#ndpinixpkgs package indexes · pkgs/by-name/nd/ndpi/package.nix · source: api.github.com
sudo zypper install libndpi-developenSUSE Tumbleweed package metadata · libndpi-devel · source: download.opensuse.org
overview
Deep Packet Inspection (DPI) library
history
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.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
ndpiReader | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:ndpi |
|---|---|
| Version | 5.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/ndpi |
| Homepage | https://www.ntop.org/products/deep-packet-inspection/ndpi/ |
| Repository | https://github.com/ntop/nDPI |
| Upstream docs | https://github.com/ntop/nDPI#readme |
| License | LGPL-3.0-or-later |
| Source archive | https://github.com/ntop/nDPI/archive/refs/tags/5.0.tar.gz |
| Dependencies | json-c |
| Build dependencies | autoconf, automake, libtool, pkgconf |
| Uses from macOS | libpcap |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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-toolssource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.