head 1.5; access; symbols pkgsrc-2026Q3:1.4.0.4 pkgsrc-2026Q3-base:1.4 pkgsrc-2026Q2:1.4.0.2 pkgsrc-2026Q2-base:1.4 pkgsrc-2026Q1:1.3.0.14 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.12 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.3.0.10 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.8 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.6 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.3.0.4 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.3.0.2 pkgsrc-2024Q3-base:1.3 pkgsrc-2018Q3:1.1.0.20 pkgsrc-2018Q3-base:1.1 pkgsrc-2018Q2:1.1.0.18 pkgsrc-2018Q2-base:1.1 pkgsrc-2018Q1:1.1.0.16 pkgsrc-2018Q1-base:1.1 pkgsrc-2017Q4:1.1.0.14 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.12 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.8 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.6 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.4 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.2 pkgsrc-2016Q3-base:1.1; locks; strict; comment @# @; 1.5 date 2026.11.20.13.10.38; author adam; state dead; branches; next 1.4; commitid umBiE7vvoldFwc4H; 1.4 date 2026.06.10.13.17.31; author adam; state Exp; branches; next 1.3; commitid KsKSj3LrEUrQNfJG; 1.3 date 2024.08.23.17.54.06; author adam; state Exp; branches; next 1.2; commitid OSMYPnqZLAbSpYmF; 1.2 date 2018.10.18.16.24.29; author adam; state dead; branches; next 1.1; commitid lrS0CSYloGO1AsWA; 1.1 date 2016.07.01.04.51.57; author adam; state Exp; branches; next ; commitid 0fDoRMwHghLJIzcz; desc @@ 1.5 log @ndpi: updated to 6.0 6.0 Major Changes Update nDPI Licensing Terms and Component Usage: for-profit vs not-for-profit applications. See: https://www.ntop.org/announcing-ndpi-dual-license-change/ Add detection of Slow Dos, SlowDoS 3WH and Slowloris attacks. See: https://www.ntop.org/slow-dos-detection-and-prevention/ More flexible and useful (nDPI-) fingerprints. See: https://www.ntop.org/is-ja4-now-obsolete/ Add USDT static tracing probes for zero-overhead runtime observability. See: https://www.ntop.org/observing-ndpi-from-the-inside-introducing-usdt-tracepoints/ Add ability to define protocol dissectors in shared libraries and load them at runtime @ text @$NetBSD: patch-configure.ac,v 1.4 2026/06/10 13:17:31 adam Exp $ Don't force -O2 flag. --- configure.ac.orig 2026-06-08 12:45:18.480334685 +0000 +++ configure.ac @@@@ -56,7 +56,7 @@@@ AS_IF([test "${with_sanitizer+set}" = se NDPI_CFLAGS="${NDPI_CFLAGS} -O0 -g3" ],[ dnl> Oss-fuzz doesn't really like any optimizaton flags don't set by itself - AS_IF([test "x$enable_fuzztargets" != "xyes"], [NDPI_CFLAGS="${NDPI_CFLAGS} -O2"]) + AS_IF([test "x$enable_fuzztargets" != "xyes"], [NDPI_CFLAGS="${NDPI_CFLAGS}"]) ]) AS_IF([test "${with_sanitizer+set}" = set -o "${with_thread_sanitizer+set}" = set -o "${with_memory_sanitizer+set}" = set],[ AS_IF([test "x$enable_gprof" = "xyes"], [ @ 1.4 log @ndpi: updated to 5.0 5.0 Major Changes Create a new nDPI fingerprint, combining TCP fingerprint, JA4 fingepriint and TLS SHA1 certificate (or JA3S if SHA1 is missing). See: https://www.ntop.org/beyond-ja3-ja4-introducing-ndpi-traffic-fingerprint/ Add detection of (TLS/QUIC/HTTP) flows whose hostname was not previously resolved via DNS. See: https://www.ntop.org/when-snis-cannot-be-trusted/ Add support for an unlimited number of (custom) protocols. Extend custom rules (see https://github.com/ntop/nDPI/blob/dev/example/protos.txt for some examples): match via JA4 match via nDPI fingerprint match via HTTP URL support for category and breed in custom rules @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @ndpi: updated to 4.10 4.10 Major Changes Initial work towards First Packet Classification (FPC) New Supported Protocols and Services Add OpenWire support FPC: add DNS correlation ipaddr2list.py, ndpi2timeline.py: reformatted Add Nano (XNO) protocol support Added ClickHouse protocol Add HLS support Add infrastructure for explicit support of Fist Packet Classification Add detection of Twitter bot Added default port mappings to ndpiReader help -H Add Ripe Atlas probe protocol. Add ZUG consensus protocol dissector. Added NDPI_PROBING_ATTEMPT risk DTLS: add support for DTLS 1.3 Added dpi.compute_entropy configuration parameter Add Call of Duty Mobile support Add Ethernet Global Data support Viber: add detection of voip calls and avoid false positives Add support for Mastodon, Bluesky and (FB-)Threads Fixes JA4 computation adding a better GREASE detect funzion DTLS: add support for Alert message type (similar to TLS) Add Adobe Connect support Remove PPStream protocol and add iQIYI Add BFCP protocol support Add strlcpy implementation Add KNXnet/IP protocol support STUN: add support for ipv6 in some metadata Implemented STUN peer_address, relayed_address, response_origin, other_address parsing Added code to ignore invalid STUN realm Extended JSON output with STUN information Add Label Distribution Protocol support Add The Elder Scrolls Online support Add Shellscript risk detection. Add PE32/PE32+ risk detection (detect transmitted windows executables). Added support for STUN Mapped IP address Added binary data transfer risk alert Add LoL: Wild Rift detection STUN: add dissection of XOR-PEER-ADDRESS with ipv6 address Add FLUTE protocol dissector Add PFCP protocol dissector Add Path of Exile protocol dissector Add NetEase Games detection support Add Naraka Bladepoint detection support Add BFD protocol dissector Add DLEP protocol dissector Add ANSI C12.22 protocol dissector TLS: add configuration of JA* fingerprints Add detection of Gaijin Entertainment games Add new AppsFlyer domain Add TencentGames protocol dissector Add Gearman protocol dissector Add Raft protocol dissector. Add Radmin protocol dissector Add STOMP protocol dissector Add ElectronicArts detection support Add Yojimbo (netcode) protocol dissector Add a dedicated dissector for Zoom Add Mumble detection support Add KCP protocol dissector. Add PIA (Private Internet Access) support Add more adult content hostnames Add Roughtime protocol dissector. Add realtime protocol output to ndpiReader. Add Google Chat support ndpiReader: add breed stats on output used for CI Add Ceph protocol dissector Add HL7 protocol dissector Add IEC62056 (DLMS/COSEM) protocol dissector Add NoMachine NX protocol dissector Add Apache Kafka protocol dissector Add WebDAV detection support Add JSON-RPC protocol dissector Add OpenFlow protocol dissector Add UFTP protocol dissector Add HiSLIP protocol dissector Add PROFINET/IO protocol dissector Add Monero protocol classification. Add Ether-S-Bus protocol dissector Add IEEE C37.118 protocol dissector Add ISO 9506-1 MMS protocol dissector Add Beckhoff ADS protocol dissector Add Schneider Electric’s UMAS detection support Add Ether-S-I/O protocol dissector Add Omron FINS protocol dissector Rework S7Comm dissector; add S7Comm Plus support Add OPC UA protocol dissector Add RTPS protocol dissector Add HART-IP protocol dissector Add IEEE 1588-2008 (PTPv2) dissector Added TeslaServices and improved TikTok host names. Add ethereum protocol dissector. Added generic Google Protobuf dissector. Add CAN over Ethernet dissector. Improvements Enhanced PrimeVideo detection Enhanced ookla tracing Improved ICMP malformed packet risk description Improve detection of Cloudflare WARP traffic tunnelbear: improve detection over wireguard Improve detection of Twitter/X Zoom: fix detection of screen sharing Improved detection of Android connectiity checks Zoom: fix integer overflow RTP/STUN: look for STUN packets after RTP/RTCP classification Zoom: faster detection of P2P flows Added NDPI_PROTOCOL_NTOP assert and removed percentage comparison Add extra entropy checks and more precise(?) analysis. STUN: improve extraction of Mapped-Address metadata Added support for roaring bitmap v3 Add more TencentGames signatures Added DGA exception for Dropbox QUIC: add heuristic to detect unidirectional GQUIC flows fuzzing: improve coverage Improve detection of Cloudflare WARP traffic fuzz: improve fuzzers using pl7m wireshark: lua: minor improvements Improved logic for checking invalid DNS queries fuzz: improve fuzzing coverage Improved Kafka dissector. H323: improve detection and avoid false positives Fix/improve fuzzing eDonkey: improve/update classification Domain Classification Improvements STUN: improve extraction of Mapped-Address metadata Improve LoL: Wild Rift detection Improve TencentGames detection STUN: improve heurstic to detect old classic-stun ahocorasick: improve matching with subdomains Improved alert on suspicious DNS traffic Telegram: improve identification Improved Telegram detection Improved modbus dissection to discard false positives Improved Polish gambling sites fetch script. fuzz: improve fuzzing coverage Improve normalization of flow->host_server_name Improve ndpi_set_config error printing. Improve MySQL detection Improve handling of custom rules Zoom: improve detection Improved ndpi_get_host_domain Bittorrent: improve detection of UTPv1 Improved uTorrent via utp (TCP-like streams over UDP). fuzz: improve fuzzing coverage fuzz: improve fuzzing coverage Improved belgium gambling sites regex. Improve CORBA detection STUN: improve demultiplexing of DTLS packets Improved TFTP. fuzz: improve coverage and remove dead code Improved Protobuf dissector. Improved detection as non DGA for hostnames belnging to a CDN Improved CryNetwork protocol dissector. Tools Make the CI faster Add a script to download/update the domain suffix list Add identification of Huawei generic and cloud traffic ndpiReader: improve the check on max number of pkts processed per flow Added default port mappings to ndpiReader help -H ndpiReader: restore ndpiReader -x $DOMAIN_NAME functionality ndpiReader: improve the check on max number of pkts processed per flow ndpiReader: fix memory leak Add realtime protocol output to ndpiReader. ndpiReader: add breed stats on output used for CI ndpiReader: avoid creating two detection modules when processing traffic/traces ndpiReader: fix guessed_flow_protocols statistic Misc Improved tests coverage Varisous performance improvements Added stress test Added new API calls - ndpi_load_domain_suffixes() - ndpi_get_host_domain_suffix() Add some fast CRC16 algorithms implementation Add a FAQ for the project Ip address list: aggregate Mullvad and Tor lists too IP lists: aggregate addresses wherever possible Added malicious sites from the polish cert. IPv6: add support for custom categories IPv6: add support for IPv6 risk exceptions IPv6: add support for custom rules IPv6: add support for IPv6 risk tree ipv6: add support for ipv6 addresses lists @ text @d3 1 a3 1 Portability fix. d5 1 a5 1 --- configure.ac.orig 2024-08-23 13:34:14.169704542 +0000 d7 9 a15 9 @@@@ -138,7 +138,7 @@@@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ ]) GCC_VERSION=`gcc --version | cut -d ' ' -f 3 | head -1|cut -d '.' -f 1` -if test "${GCC_VERSION}" == "version" ; then +if test "${GCC_VERSION}" = "version" ; then GCC_VERSION=`gcc --version | cut -d ' ' -f 4 | head -1|cut -d '.' -f 1` fi @ 1.2 log @ndpi: updated to 2.4 2.4 Stable: New Supported Protocols and Services ------------------------------------ Showmax.com Musical.ly RapidVideo VidTO streaming service Apache JServ Protocol Facebook Messenger FacebookZero protocol Improvements ------------ Improved YouTube support Improved Netflix support Updated Google Hangout detection Updated Twitter address range Updated Viber ports, subnet and domain Updated AmazonVideo detection Updated list of FaceBook sites Initial Skype in/out support Improved Tor detection Improved hyperscan support and category definition Custom categories loading, extended ndpiReader (-c ) for loading name-based categories Fixes ----- Fixes for Instagram flows classified as Facebook Fixed Spotify detection Fixed minimum packet payload length for SSDP Fixed length check in MSN, x-steam-sid, Tor certificate name Increase client's maximum payload length for SSH Fixed end-of-line bounds handling Fixed substring matching Fix for handling IP address based custom categories Repaired wrong timestamp calculation Fixed memory leak Optimized memory usage Other/Changes ------------- New API calls: ndpi_set_detection_preferences() ndpi_load_hostname_category() ndpi_enable_loaded_categories() ndpi_fill_protocol_category() ndpi_process_extra_packet() Skype CallIn/CallOut are now set as Skype.SkypeCallOut Skype.SkypeCallIn Added support for SMTPS on port 587 Changed RTP from VoIP to Media category Added site unavailable category Added custom categories CUSTOM_CATEGORY_MINING, CUSTOM_CATEGORY_MALWARE, CUSTOM_CATEGORY_ADVERTISEMENT, CUSTOM_CATEGORY_BANNED_SITE Implemented hash-based categories Converted some not popular protocols to NDPI_PROTOCOL_GENERIC with category detection @ text @d1 1 a1 1 $NetBSD: patch-configure.ac,v 1.1 2016/07/01 04:51:57 adam Exp $ d5 1 a5 1 --- configure.ac.orig 2016-06-28 16:05:04.000000000 +0000 d7 9 a15 9 @@@@ -67,7 +67,7 @@@@ AC_ARG_ENABLE([json-c], AS_IF([test "x$enable_json_c" != "xno"], [ PKG_CONFIG_PATH=/usr/local/share/pkgconfig:$PKG_CONFIG_PATH pkg-config --exists json-c - AS_IF([test "$?" == "0"], + AS_IF([test "$?" = "0"], [ CFLAGS="$CFLAGS $(pkg-config --cflags json-c)" LDFLAGS="$LDFLAGS $(pkg-config --libs json-c)" @ 1.1 log @Added patches/patch-configure.ac @ text @d1 1 a1 1 $NetBSD$ @