# Positioning ntopng vs nProbe for Traffic Analysis | ntop

[Blog](https://www.ntop.org/blog/)[nDPI](https://www.ntop.org/category/ndpi/)[ntop](https://www.ntop.org/category/ntop/)

# Positioning ntopng vs nProbe for Traffic Analysis

July 31, 20242 min read

Recently we have compared the use of nDPI in a realtime application (ntopng) and a near-realtime (nProbe). We have captured a short pcap with some mixed traffic and analysed it with both applications. The expectation was to find comparable results between the two applications, but this happened only partially. This blog posts explains the main differences between the two tools and why there are some discrepancies in results.

In our tests, we have configured both nProbe and ntopng to analyze the same pcap and write results on two different ClickHouse tables, so we can easily compare results. The first difference is the total traffic volume: nProbe is a NetFlow-probe that accounts traffic from the IP layer, not considering the ethernet (and VLAN) layers, whereas ntopng accounts all traffic. This means that if you want to compare data you need to deduct ethernet overhead from ntopng data.

| Application | ClickHouse SQL Query |
| --- | --- |
| nProbe | select IPV4\_SRC\_ADDR,IPV4\_DST\_ADDR,IPV6\_SRC\_ADDR, |
| IPV6\_DST\_ADDR,L4\_SRC\_PORT,L4\_DST\_PORT, |  |
| (IN\_PKTS+OUT\_PKTS) as PKTS, (IN\_BYTES+OUT\_BYTES) AS BYTES |  |
| FROM flows ORDER BY BYTES; |  |
| ntopng | select TOTAL\_BYTES,IPV4\_SRC\_ADDR,IPV6\_SRC\_ADDR,IPV4\_DST\_ADDR, |
| IPV6\_DST\_ADDR,IP\_SRC\_PORT,IP\_DST\_PORT,PACKETS, |  |
| TOTAL\_BYTES-(PACKETS\*14) as T FROM flows ORDER BY T ASC; |  |

Another difference between the two application is in how nDPI works. In case of a detected protocol using DPI (e.g. DNS or TLS) there are not differences. Instead for protocols such as Ookla (speedtest) or BitTorrent where the detection is based on a cache filled up with signalling data, timing is important. A ntopng is pure realtime application, nDPI detection based on cache happens when enough packets have been processed for a given flow, hence in case of no match a guess or a generic protocol (i,e. HTTP for Ookla) is used.

![](/images/2024/07/nDPI.webp)

In the case of nProbe (and nProbe Cento), nDPI works the same way but in case of no match the guess is made during flow export towards the collector. This means that in the case of nProbe, the chance to find an entry in the nDPI cache is higher with respect to ntopng this is because guess can be made several seconds (or even one minute) after nDPI detection completed. The results is that for non DPI-detected flows, the nProbe detection can be more accurate than ntopng simply because nProbe does not have the same time constraints that ntopng has.

Hope this post has clarified how the two applications work, so that you can now understand why you might see tiny differences (that are not bugs but ‘by design’) between the two applications.

Enjoy !

## Keep reading

AINov 7, 2026

### [Sharkfest 26EU: HowTo Detect Stealth VPN and AI Inference Traffic](https://www.ntop.org/sharkfest-26eu-howto-detect-stealth-vpn-and-ai-inference-traffic/)

Earlier this week we have presented at Sharkfest Europe 2026 a presentation of our work about traffic detection of Stealth VPNs and AI Inference. The presentation addresses the challenges of detecting modern obfuscated network traffic, specifically from stealth VPNs and custom/local artificial intel

nDPINov 7, 2026

### [Detecting CVE-2026-98432 using nDPI/ntopng](https://www.ntop.org/detecting-cve-2026-98432-using-ndpi-ntopng/)

CVE-2026-98432 is a critical, 9.8-severity use-after-free (UAF) vulnerability in the Linux kernel’s IPv4 TCP networking stack. It allows an unauthenticated remote attacker to potentially cause system crashes, memory corruption, or execute arbitrary commands with root privileges. From a network stand

nDPISep 29, 2026

### [Introducing the nDPI TCP Fingerprint: A Stable, Patent-Free Way to Fingerprint TCP Stacks](https://www.ntop.org/introducing-the-ndpi-tcp-fingerprint-a-stable-patent-free-way-to-fingerprint-tcp-stacks/)

Every TCP connection starts with a SYN, and that first packet says a lot about the machine that sent it. The Linux, Windows, macOS and Android stacks each set different flags, choose…

## Try it on your own network

Download the free Community edition and see your first flows in five minutes.

[Download ntopng free](https://www.ntop.org/support/documentation/software-installation/)[Talk to an engineer](https://www.ntop.org/support/need-help/contacts/)
Source: https://www.ntop.org/positioning-ntopng-vs-nprobe-for-traffic-analysis/