|
1 | 1 | # CHANGELOG
|
2 | 2 |
|
| 3 | +#### nDPI 4.8 (Oct 2023) |
| 4 | + |
| 5 | +## Major Changes |
| 6 | +- Reworked lists implementation that decreased memory usage of orders of magnitude |
| 7 | +- Improved code robustness via extensive code fuzzing |
| 8 | +- Various improvements to overall library performance |
| 9 | +- Extended IPv6 support |
| 10 | + |
| 11 | +## New Supported Protocols and Services |
| 12 | + |
| 13 | + - Add "Heroes of the Storm" video game signature detection. (#1949) |
| 14 | + - Add Apache Thrift protocol dissector. (#2007) |
| 15 | + - Add Remote Management Control Protocol (RMCP). |
| 16 | + - Add Service Location Protocol dissector. (#2036) |
| 17 | + - Add VK detection (#1880) |
| 18 | + - Add Yandex services detection (#1882) |
| 19 | + - Add a new protocol id for generic Adult Content traffic (#1906) |
| 20 | + - Add a new protocol id for generic advertisement/analytics/tracking stuff (#1904) |
| 21 | + - Add bitcoing protocol dissector. (#1992) |
| 22 | + - Add detection of Roblox games (#2054) |
| 23 | + - Add support for (un-encrypted) HTTP/2 (#2087) |
| 24 | + - Add support for Epic Games and GeForceNow/Nvidia (#1990) |
| 25 | + - Add support for SRTP (#1977) |
| 26 | + - Added BACnet dissector. (#1940) |
| 27 | + - Added HAProxy protocol. (#2088) |
| 28 | + - Added OICQ dissector. (#1950) |
| 29 | + - Added OperaVPN detection |
| 30 | +- ProtonVPN: add basic detection (#2006) |
| 31 | + - Added detection of Facebook Reels and Stories |
| 32 | + - Add an heuristic to detect fully encrypted flows (#2058) |
| 33 | + - Added NDPI_MALWARE_HOST_CONTACTED flow risk |
| 34 | + - Added NDPI_TLS_ALPN_SNI_MISMATCH flow risk |
| 35 | + |
| 36 | +## Improvements |
| 37 | + |
| 38 | + - Improve protocol detection for: |
| 39 | + - FreeBSD compilation fix (C) update |
| 40 | + - Gnutella: improve detection (#2019) |
| 41 | + - H323: fix false positives (#1916) |
| 42 | + - HTTP: fix another memory access error (#2049) |
| 43 | + - HTTP: fix extraction of filename (#2046) |
| 44 | + - HTTP: fix heap-buffer-overflow (#2044) |
| 45 | + - HTTP: improve extraction of metadata and of flow risks (#1959) |
| 46 | + - HTTP: remove useless code about XBOX (#1958) |
| 47 | + - HTTP: rework state machine (#1966) |
| 48 | + - Hangout: detect Hangout/Duo/GoogleMeet/... in the STUN code (#2025) |
| 49 | + - Enhance DNS risk for long hostnames (> 32) |
| 50 | + - Enhanced MS teams STUN/Azure detection |
| 51 | + - Enhanced custom port definition and improved error reporting in case of duplications |
| 52 | + - Improve detection of Alibaba flows (#1991) |
| 53 | + - Improve detection of crawler/bot traffic (#1956) |
| 54 | + - Improve detection of crawlers/bots (#1968) |
| 55 | + - Improved MGCP detection by allowing '\r' as line feed. |
| 56 | + - Improved MS Teams detection with heuristic |
| 57 | + - Improved Steam detection by adding steamdiscover pattern. (#2105) |
| 58 | + - Improved Wireguard detection |
| 59 | + - Improved checks for duplicated entries in protocols file |
| 60 | + - Improved classification further reducing memory used |
| 61 | + - Improved detection of invalid chars in DNS names |
| 62 | + - Improved domain search tet unit |
| 63 | + - Improved helper scripts. (#1986) |
| 64 | + - MS Teams enhancement |
| 65 | + - MySql: improve detection (#1928) |
| 66 | + - zabbix: improve detection (#2055) |
| 67 | + |
| 68 | +## Tools |
| 69 | + |
| 70 | + - ndpiReader: allow to configure LRU caches TTL and size (#2004) |
| 71 | + - ndpiReader: fix VXLAN de-tunneling (#1913) |
| 72 | + - ndpiReader: fix export of DNS/BitTorrent attributes (#1985) |
| 73 | + - ndpiReader: fix export of HTTP attributes (#1982) |
| 74 | + - ndpiReader: fix flow stats (#1943) |
| 75 | + - ndpiReader: fix print of flow payload (#1960) |
| 76 | + - ndpiReader: improve printing of payload statistics (#1989) |
| 77 | + - ndpiReader: print how many packets (per flow) were needed to perform full DPI (#1891) |
| 78 | + - ndpireader: fix detection of DoH traffic based on packet distributions (#2045) |
| 79 | + |
| 80 | +## Misc |
| 81 | + - ARM compilation fix |
| 82 | + - Add `ndpi_domain_classify_finalize()` function (#2084) |
| 83 | + - Add a configuration knob to enable/disable loading of gambling list (#2047) |
| 84 | + - Add a new flow risk about literal IP addresses used as SNI (#1892) |
| 85 | + - Add an heuristic to detect/ignore some anomalous TCP ACK packets (#1948) |
| 86 | + - Add another example of custom rules (#1923) |
| 87 | + - Add support for multiline json |
| 88 | + - Add support for roaring_bitmap_xor_inplace (#1983) |
| 89 | + - Add support for vxlan decapsulation (#1441) (#1900) |
| 90 | + - Added Source Engine dissector. (#1937) |
| 91 | + - Added `lists/gambling.list` to extra dist. |
| 92 | + - Added `slackb.com` SNI. (#2067) |
| 93 | + - Added ability to define an unlimited number of custom rules IP:port for the same IP (it used tobe limited to 2) |
| 94 | + - Added check to avoid skype heuristic false positives |
| 95 | + - Added comment |
| 96 | + - Added coverage targets to `Makefile.am` for convenience. (#2039) |
| 97 | + - Added fix for better handling exceptions rollback in case of later match |
| 98 | + - Added hyperlink |
| 99 | + - Added ndpi_binary_bitmap data structure |
| 100 | + - Added ndpi_bitmap64 support |
| 101 | + - Added ndpi_bitmap_andnot API call |
| 102 | + - Added ndpi_bitmap_copy() API call |
| 103 | + - Added ndpi_bitmap_is_empty() and ndpi_bitmap_optimize() API calls |
| 104 | + - Added ndpi_domain_classify_XXX(0 API |
| 105 | + - Added ndpi_filter_add_multi() API call |
| 106 | + - Added ndpi_murmur_hash to the nDPI API |
| 107 | + - Added new API calls for implementing Bloom-filter like data structures |
| 108 | + - Added printf/fprintf replacement for some internal modules. (#1974) |
| 109 | + - Added scripts to auto generate hostname/SNI *.inc files. (#1984) |
| 110 | + - Added sub-domain classification fix |
| 111 | + - Added the ability to define custom protocols with arbitrary Ids in proto.txt |
| 112 | + - Added vlan_id in ndpi_flow2json() prototype |
| 113 | + - Adds new pcap for testing "funny" HTTP servers |
| 114 | + - All protocols should be excluded sooner or later (#1969) |
| 115 | + - Allow init of app protocols w/o any hostnames set. (#2057) |
| 116 | + - Avoid calling `ndpi_reconcile_protocols()` twice in `ndpi_detection_giveup()` (#1996) |
| 117 | + - Boundary check |
| 118 | + - CI: fix `Performance` job (#1936) |
| 119 | + - Centos7 fixes |
| 120 | + - Changed logging callback function sig. (#2000) |
| 121 | + - Changes for supporting more efficient sub-string matching |
| 122 | + - Classification fixes |
| 123 | + - DNS: extract geolocation information, if available (#2065) |
| 124 | + - Debian 12 fixes |
| 125 | + - Disabled query string validation in MDNS in order to avoid zapping chars that in DNS (instead) are not permitted |
| 126 | + - DisneyPlus/Hulu ip lists should be auto-generated (#1905) |
| 127 | + - Extend content list of Microsoft protocols (#1930) |
| 128 | + - Extend content-match list (#1967) |
| 129 | + - Fix LRU/Patricia/Automa stats in `ndpiReader` with multiple threads (#1934) |
| 130 | + - Fix MS Teams detection with heuristic (#1972) |
| 131 | + - Fix access to packet/flow information (#2013) |
| 132 | + - Fix an heap-buffer-overflow (#1994) |
| 133 | + - Fix classification-by-ip in `ndpi_detection_giveup` (#1981) |
| 134 | + - Fix compilation (#2011) |
| 135 | + - Fix compilation in CI jobs (#2048) |
| 136 | + - Fix compilation on Windows (#2072) |
| 137 | + - Fix compilation with GCC-7 and latest RoaringBitmap code (#1886) |
| 138 | + - Fix detection of packet direction and NDPI_UNIDIRECTIONAL_TRAFFIC risk (#1883) |
| 139 | + - Fix export/serialization of `flow->risk` (#1885) |
| 140 | + - Fix for buffer overflow in serialization |
| 141 | + - Fix insert of ip addresses into patricia tree(s) (#1895) |
| 142 | + - Fix missing u_char, u_short and u_int typedefs for some platforms e.g.: (#2009) |
| 143 | + - Fix packet counters (#1884) |
| 144 | + - Fix some errors found by fuzzers (#2078) |
| 145 | + - Fix some memory errors triggered by allocation failures (#1995) |
| 146 | + - Fix some prototypes (#2085) |
| 147 | + - Fix string truncation. (#2056) |
| 148 | + - Fixed OpenWRT arm related build issues. (#2104) |
| 149 | + - Fixed heap-buffer-overflow issue |
| 150 | + - Fixed heap-overflow if compiled with `--enable-tls-sigs`. (#2038) |
| 151 | + - Fixed invalid use of ndpi_free(). Sorry, my fault. (#1988) |
| 152 | + - Fixed missing AS_HELP_STRING in configure.ac. (#1893) |
| 153 | + - Fixed two OpenWRT arm related build issues. (#2103) |
| 154 | + - Fixes matches with domain name strings that start with a dot |
| 155 | + - Fixes risk mask exception handling while improving the overall performance |
| 156 | + - Implemented Count-Min Sketch [count how many times a value has been observed] |
| 157 | + - Implemented Zoom/Teams stream type detection |
| 158 | + - Implemented ndpi_XXX_reset() API calls whre XXX is ses, des, hw |
| 159 | + - Implemented ndpi_predict_linear() for predicting a timeseries value overtime |
| 160 | + - Improved debug output. (#1951) |
| 161 | + - Improved invalid logging via printf(). |
| 162 | + - Improved line protocol dissection with heuristic |
| 163 | + - Improved missing usage of nDPIs malloc wrapper. Fixes #1978. (#1979) |
| 164 | + - Improved protocol detection exploiting IP-based guess Reworked ndpi_reconcile_protocols() that is now called only in front of a match (less overhead) |
| 165 | + - Improvement for reducing false positives |
| 166 | + - Included Gambling website data from the Polish `hazard.mf.gov.pl` list (#2041) |
| 167 | + - Keep master protocol in `ndpi_reconcile_protocols` |
| 168 | + - Leak fix |
| 169 | + - Language fix |
| 170 | + - Line: fix heap-buffer-overflow error (#2015) |
| 171 | + - Made VK protocol detection more strict |
| 172 | + - Make Bittorrent LRU cache IPv6 aware. (#1909) |
| 173 | + - Merged new and old version of ndpi_domain_classify.c code |
| 174 | + - Mullvad VPN service added (based on entry node IP addresses) (#2062) |
| 175 | + - Numeric truncation at `ndpi_analyze.c` at lines 101, 104, 107, 110 (#1999) |
| 176 | + - Numeric truncation at `tls.c:1010` (#2005) |
| 177 | + - Ookla: rework detection (#1922) |
| 178 | + - Optimizes and fixes possible out0of0boundary write in ndpi_fill_prefix_v4() |
| 179 | + - ProtonVPN: split the ip list (#2060) |
| 180 | + - QUIC: add support for QUIC version 2 |
| 181 | + - QUIC: export QUIC version as metadata |
| 182 | + - QUIC: fix a memory access error |
| 183 | + - QUIC: fix dissection of packets forcing VN |
| 184 | + - RDP: improve detection over UDP (#2043) |
| 185 | + - RTP: remove dead-code (#1953) |
| 186 | + - RTP: rework code (#2021) |
| 187 | + - Refreshed ASN lists Enhanced the Line IP list with https://ipinfo.io/AS23576/125.209.252.0/24 used by line |
| 188 | + - Remove some useless checks (#1993) |
| 189 | + - Remove special handling of some TCP flows without SYN (#1965) |
| 190 | + - Removed overlapping port |
| 191 | + - Renamed HTTP/2 to HTTP2 as the '/' can have side effects with applications sitting on top of nDPI |
| 192 | + - Replaces free() with ndpi_free() |
| 193 | + - Rework CI jobs to try reducing CI duration (#1903) |
| 194 | + - Reworked domain classification based on binary filters |
| 195 | + - Reworked initialization |
| 196 | + - Reworked ndpi_filter_xxx implementation using compressed bitmaps |
| 197 | + - Reworked teams handling |
| 198 | + - RiotGames: add detection of flows (#1935) |
| 199 | + - STUN: add dissection of DTLS handshake (#2018) |
| 200 | + - STUN: avoid FacebookVoip false positives (#2029) |
| 201 | + - STUN: fix Skype/MsTeams detection and monitoring logic (#2028) |
| 202 | + - STUN: fix detection of Google Voip apps (#2031) |
| 203 | + - STUN: fix detection over TCP |
| 204 | + - STUN: improve WhatsappCall detection |
| 205 | + - STUN: keep monitoring/processing STUN flows (#2012) |
| 206 | + - STUN: tell RTP from RTCP while in monitoring state (#2027) |
| 207 | + - Serialization fix |
| 208 | + - Set _DEFAULT_SOURCE and _GNU_SOURCE globally. (#2010) |
| 209 | + - Simplify `ndpi_internal_guess_undetected_protocol()` (#1941) |
| 210 | + - Simplify the report of streaming multimedia info (#2026) |
| 211 | + - SoftEther: fix invalid memory access |
| 212 | + - Swap from Aho-Corasick to an experimental/home-grown algorithm that uses a probabilistic approach for handling Internet domain names. |
| 213 | + - Sync unit tests results |
| 214 | + - Sync unit tests results |
| 215 | + - Sync unit tests results (#1962) |
| 216 | + - Sync utests results (#1887) |
| 217 | + - TLS: add basic, basic, detection of Encrypted ClientHello (#2053) |
| 218 | + - TLS: fix another interger overflow in certificate processing (#1915) |
| 219 | + - TLS: fix parsing of certificate elements (#1910) |
| 220 | + - Test files for riit games |
| 221 | + - Test multiple `ndpiReader` configurations (#1931) |
| 222 | + - Thrift: fix heap-buffer-overflow (#2024) |
| 223 | + - Update GitHub runners versions (#1889) |
| 224 | + - Update every ip lists (#2079) |
| 225 | + - Update libinjection code (#1918) |
| 226 | + - Update protocols documentation (#2081) |
| 227 | + - Update roaring bitmap code |
| 228 | + - Updated line test result |
| 229 | + - Updated pcap detection results after Facebook Reel/Stories support |
| 230 | + - Updated results |
| 231 | + - Updated results after the latest changes |
| 232 | + - Win include change |
| 233 | + - Windows code rework |
| 234 | + - Windows compilation fixes |
| 235 | + - Windows warning checks |
| 236 | + - add 2 ns from fdn.fr to DoH section (#1964) |
| 237 | + - add support for gre decapsulation (#1442) (#1921) |
| 238 | + - added bimap and/or with allocation |
| 239 | + - added feature to extract filename from http attachment (#2037) |
| 240 | + - added new domain names (#2002) |
| 241 | + - configure: add an option to enable debug build, i.e `-g` (#1929) |
| 242 | + - fix Stack overflow caused by invalid write in ndpi_automa_match_strin… (#2035) |
| 243 | + - fixed numeric truncation error |
| 244 | + - fixed numeric truncation error in diameter.c (#2034) |
| 245 | + - fixed numeric truncation error in kerberos.c (#2032) |
| 246 | + - fixed numeric truncation error in ndpi_main.c:6837 (#1998) |
| 247 | + - fixed numeric truncation error in rtcp.c (#2033) |
| 248 | + - fuzz: add a new fuzzer to test TLS certificates (#1901) |
| 249 | + - fuzz: add a new fuzzer triggering the payload analyzer function(s) (#1926) |
| 250 | + - fuzz: add fuzzer for DGA detection code (#2042) |
| 251 | + - fuzz: add fuzzer to test internal gcrypt code (#1920) |
| 252 | + - fuzz: add fuzzers to test bitmap64 and domain_classify data structures (#2082) |
| 253 | + - fuzz: add fuzzers to test reader_util code (#2080) |
| 254 | + - fuzz: extend coverage (#2073) |
| 255 | + - fuzz: extend fuzz coverage (#1888) |
| 256 | + - fuzz: extend fuzzers coverage (#1952) |
| 257 | + - fuzz: extend fuzzing coverage (#2040) |
| 258 | + - fuzz: extend fuzzing coverage (#2052) |
| 259 | + - fuzz: extend fuzzing coverage (#2083) |
| 260 | + - fuzz: simplify fuzzers dependencies in CIFuzz (#1896) |
| 261 | + - fuzz: some improvements and add two new fuzzers (#1881) |
| 262 | + - fuzzing: extend fuzzing coverage |
| 263 | + - in case of failure, failing result files are not listed |
| 264 | + - minor fixes (#2023) |
| 265 | + - oss-fuzz: sync build script with upstream |
| 266 | + - remove redefinition to vxlanhdr struct in vxlan dissector (#1911) |
| 267 | + - removed useless call of ndpi_set_risk func (#2022) |
| 268 | + - tests: add an option to force the overwrite of the unit tests results (#2001) |
| 269 | + - tests: restore some old paths as symbolic links (#2050) |
| 270 | + - tftp: check for Option Acknowledgements |
| 271 | + - tftp: check incrementation for DATA and ACK packets |
| 272 | + - tftp: rework request checking to account for options |
| 273 | + - tftp: update pcap results |
| 274 | + - version of dirent.c that is liked by both VC++ and MinGW |
| 275 | + |
| 276 | + |
3 | 277 | #### nDPI 4.6 (Feb 2023)
|
4 | 278 |
|
5 | 279 | ## New Features
|
|
0 commit comments