# Towards Traffic Behaviour Analysis: Introducing nDPI 3.2 | ntop

> This is to announce the new stable release of nDPI 3.2. The main trend of nDPI is to move from “simple” application protocol detection towards behavioral traf

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

# Towards Traffic Behaviour Analysis: Introducing nDPI 3.2

February 20, 20202 min read

This is to announce the [new stable release of nDPI 3.2](https://github.com/ntop/nDPI/releases/tag/3.2). The main trend of nDPI is to move from “simple” application protocol detection towards behavioral traffic interpretation. This has been implemented with the integration of modules for detecting attacks (e.g. SQL injections and XSS in HTTP) and behavioral indications on packet length/time/entropy as well indicators used for creating [simple indicators typical of IDS systems](https://github.com/ntop/nDPI). In essence nDPI is moving from protocol reporting to comprehensive traffic interpretation.

nDPI now includes functions for efficiently [serialising data](https://github.com/ntop/nDPI/blob/dev/src/lib/ndpi_serializer.c) in both JSON and binary format, that are used for instance by ntopng/nprobe to communicate more efficiently than before using less bandwidth and being faster.

In addition thanks to the work of [Philippe Antoine](https://twitter.com/catenacyber), nDPI is now continuously analysed by [ClusterFuzz](https://github.com/google/clusterfuzz) for searching memory leaks, invalid memory accesses all based on libfuzz. In essence nDPI is a better product now.

Enjoy!

This is the complete changelog:

-   New Features
    -   New API calls
        -   Protocol detection: ndpi\_is\_protocol\_detected
        -   Categories: ndpi\_load\_categories\_file / ndpi\_load\_category
        -   JSON/TLV serialization: ndpi\_serialize\_string\_boolean / ndpi\_serialize\_uint32\_boolean
        -   Patricia tree: ndpi\_load\_ipv4\_ptree
        -   Module initialization: ndpi\_init\_detection\_module / ndpi\_finalize\_initalization
        -   Base64 encoding: ndpi\_base64\_encode
        -   JSON export: ndpi\_flow2json
        -   Print protocol: ndpi\_get\_l4\_proto\_name / ndpi\_get\_l4\_proto\_info
    -   Libfuzz integration
    -   Implemented Community ID hash (API call ndpi\_flowv6\_flow\_hash and ndpi\_flowv4\_flow\_hash)
    -   Detection of RCE in HTTP GET requests via PCRE
    -   Integration of the libinjection library to detect SQL injections and XSS type attacks in HTTP requests
-   New Supported Protocols and Services
    -   TLS: new decoder
    -   Added ALPN support
    -   Added export of supported version in TLS header
    -   Added Telnet dissector with metadata extraction
    -   Added Zabbix dissector
    -   Added POP3/IMAP metadata extraction
    -   Added FTP user/password extraction
    -   Added NetBIOS metadata extraction
    -   Added Kerberos metadata extraction
    -   Implemented SQL Injection and XSS attack detection
    -   Host-based detection improvements and changes
    -   Added Microsoft range
    -   Added twitch.tv website
    -   Added brasilbandalarga.com.br and .eaqbr.com.br as EAQ
    -   Added 20.180.0.0/14, 20.184.0.0/13 range as Skype
    -   Added 52.84.0.0/14 range as Amazon
    -   Added ^pastebin.com
    -   Changed 13.64.0.0/11 range from Skype to Microsoft
    -   Refreshed Whatsapp server list, added \*whatsapp-\*.fbcdn.net IPs
    -   Added public DNSoverHTTPS servers
-   Improvements
    -   Reworked and improved the TLS dissector
    -   Reworked Kerberos dissector
    -   Improved DNS response decoding
    -   Support for DNS continuous flow dissection
    -   Improved Python bindings
    -   Improved Ethereum support
    -   Improved categories detection with streaming and HTTP
    -   Support for IP-based detection to compute the application protocol
    -   Renamed protocol 104 to IEC60870 (more meaningful)
    -   Added failed authentication support with FTP
    -   Renamed DNSoverHTTPS to handle bot DoH and DoT
    -   Implemented stacked DPI decoding
    -   Improvements for CapWAP and Bloomberg
    -   Improved SMB dissection
    -   Improved SSH dissection
    -   Added capwap support
    -   Modified API signatures for ndpi\_ssl\_version2str / ndpi\_detection\_giveup
    -   Removed ndpi\_pref\_http\_dont\_dissect\_response / ndpi\_pref\_dns\_dont\_dissect\_response (replaced by ndpi\_extra\_dissection\_possible)
-    Fixes
    -   Fixed memory invalid access in SMTP and leaks in TLS
    -   Fixed a few memory leaks
    -   Fixed invalid memory access in a few protocol dissectors (HTTP, memcached, Citrix, STUN, DNS, Amazon Video, TLS, Viber)
    -   Fixed IPv6 address format across the various platforms/distributions
    -   Fixed infinite loop in ndpi\_workflow\_process\_packet
    -   Fixed SHA1 certificate detection
    -   Fixed custom protocol detection
    -   Fixed SMTP dissection (including email)
    -   Fixed Telnet dissection and invalid password report
    -   Fixed invalid category matching in HTTP
    -   Fixed Skype and STUN false positives
    -   Fixed SQL Injection detection
    -   Fixed invalid SMBv1 detection
    -   Fixed SSH dissection
    -   Fixed ndpi\_ssl\_version2str
    -   Fixed ndpi\_extra\_dissection\_possible
    -   Fixed out of bounds read in ndpi\_match\_custom\_category
-   Misc
    -   ndpiReader
        -   CSV output enhancements
        -   Added tunnelling decapsulation
        -   Improved HTTP reporting
        -   Added scan and HTTP attacks (XSS, SQL Injection) detection

## 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/towards-traffic-behaviour-analysis-introducing-ndpi-3-2/