Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Fixes matches with domain name strings that start with a dot | Luca Deri | 2023-09-11 |
| | |||
* | fuzz: add fuzzers to test bitmap64 and domain_classify data structures (#2082) | Ivan Nardi | 2023-09-10 |
| | |||
* | fuzz: add fuzzers to test reader_util code (#2080) | Ivan Nardi | 2023-09-10 |
| | |||
* | Update every ip lists (#2079) | Ivan Nardi | 2023-09-10 |
| | |||
* | Fix some errors found by fuzzers (#2078) | Ivan Nardi | 2023-09-10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix compilation on Windows. "dirent.h" file has been taken from https://github.com/tronkko/dirent/ Fix Python bindings Fix some warnings with x86_64-w64-mingw32-gcc: ``` protocols/dns.c: In function ‘ndpi_search_dns’: protocols/dns.c:775:41: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] 775 | unsigned long first_element_len = (unsigned long)dot - (unsigned long)_hostname; | ^ protocols/dns.c:775:62: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] 775 | unsigned long first_element_len = (unsigned long)dot - (unsigned long)_hostname; | ``` ``` In file included from ndpi_bitmap64.c:31: third_party/include/binaryfusefilter.h: In function ‘binary_fuse8_hash’: third_party/include/binaryfusefilter.h:160:32: error: left shift count >= width of type [-Werror=shift-count-overflow] 160 | uint64_t hh = hash & ((1UL << 36) - 1); ``` ``` In function ‘ndpi_match_custom_category’, inlined from ‘ndpi_fill_protocol_category.part.0’ at ndpi_main.c:7056:16: ndpi_main.c:3419:3: error: ‘strncpy’ specified bound depends on the length of the source argument [-Werror=stringop-overflow=] 3419 | strncpy(buf, name, name_len); ``` | ||
* | Reworked initialization | Luca Deri | 2023-09-10 |
| | |||
* | Added OperaVPN detection | Luca Deri | 2023-09-09 |
| | |||
* | Enhance DNS risk for long hostnames (> 32) | Luca Deri | 2023-09-09 |
| | |||
* | Improved detection of invalid chars in DNS names | Luca Deri | 2023-09-09 |
| | |||
* | Win fix | Luca Deri | 2023-09-08 |
| | |||
* | Added NDPI_TLS_ALPN_SNI_MISMATCH flow risk | Luca Deri | 2023-09-07 |
| | |||
* | Cleanup | Luca | 2023-09-07 |
| | |||
* | Disabled debug message | Luca Deri | 2023-09-05 |
| | |||
* | Minor warning fixes | Luca Deri | 2023-09-05 |
| | |||
* | Improved classification further reducing memory used | Luca Deri | 2023-09-05 |
| | |||
* | Compilation fixes for old compilers | Luca Deri | 2023-09-05 |
| | |||
* | Added sub-domain classification fix | Luca Deri | 2023-09-05 |
| | |||
* | Classification fixes | Luca Deri | 2023-09-05 |
| | |||
* | Added ndpi_bitmap64 support | Luca Deri | 2023-09-05 |
| | |||
* | Added ndpi_murmur_hash to the nDPI API | Luca Deri | 2023-09-04 |
| | |||
* | Merged new and old version of ndpi_domain_classify.c code | Luca Deri | 2023-09-02 |
| | |||
* | Reworked domain classification based on binary filters | Luca Deri | 2023-09-02 |
| | |||
* | Improvement for reducing false positives | Luca Deri | 2023-09-01 |
| | |||
* | Code cleanup | Luca Deri | 2023-09-01 |
| | |||
* | Added ndpi_binary_bitmap datastruture | Luca Deri | 2023-08-31 |
| | | | | | It is similar to ndpi_filter but based on binary search and with the ability to store a category per value (as ndpi_domain_classify) | ||
* | Fixed heap-buffer-overflow issue | Luca Deri | 2023-08-31 |
| | |||
* | Code cleanup | Luca Deri | 2023-08-31 |
| | |||
* | Added comment | Luca Deri | 2023-08-31 |
| | |||
* | Warning fixes | Luca Deri | 2023-08-29 |
| | |||
* | Swap from Aho-Corasick to an experimental/home-grown algorithm that uses a ↵ | Luca Deri | 2023-08-29 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | probabilistic approach for handling Internet domain names. For switching back to Aho-Corasick it is necessary to edit ndpi-typedefs.h and uncomment the line // #define USE_LEGACY_AHO_CORASICK [1] With Aho-Corasick $ ./example/ndpiReader -G ./lists/ -i tests/pcap/ookla.pcap | grep Memory nDPI Memory statistics: nDPI Memory (once): 37.34 KB Flow Memory (per flow): 960 B Actual Memory: 33.09 MB Peak Memory: 33.09 MB [2] With the new algorithm $ ./example/ndpiReader -G ./lists/ -i tests/pcap/ookla.pcap | grep Memory nDPI Memory statistics: nDPI Memory (once): 37.31 KB Flow Memory (per flow): 960 B Actual Memory: 7.42 MB Peak Memory: 7.42 MB In essence from ~33 MB to ~7 MB This new algorithm will enable larger lists to be loaded (e.g. top 1M domans https://s3-us-west-1.amazonaws.com/umbrella-static/index.html) In ./lists there are file names that are named as <category>_<string>.list With -G ndpiReader can load all of them at startup | ||
* | fix compilation and symbol check | Toni Uhlig | 2023-08-27 |
| | | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com> | ||
* | fix compilation | Toni Uhlig | 2023-08-27 |
| | | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com> | ||
* | Search fixes | Luca Deri | 2023-08-26 |
| | |||
* | Changes for supporinng more efficient sub-string matching | Luca Deri | 2023-08-26 |
| | |||
* | LEak fix | Luca Deri | 2023-08-26 |
| | |||
* | Added ndpi_domain_classify_XXX(0 API | Luca Deri | 2023-08-26 |
| | |||
* | Warning fix | Luca Deri | 2023-08-25 |
| | |||
* | added bimap and/or with allocation | Luca Deri | 2023-08-24 |
| | |||
* | Minor improvements | Luca Deri | 2023-08-23 |
| | |||
* | Added ndpi_bitmap_is_empty() and ndpi_bitmap_optimize() API calls | Luca | 2023-08-23 |
| | |||
* | Boundary check | Luca | 2023-08-21 |
| | |||
* | Improved Wireguard detection | Luca | 2023-08-21 |
| | |||
* | Removed empty line | Luca | 2023-08-21 |
| | |||
* | Added ndpi_bitmap_andnot API call | Luca | 2023-08-21 |
| | |||
* | fuzz: extend coverage (#2073) | Ivan Nardi | 2023-08-20 |
| | |||
* | Fix compilation on Windows (#2072) | Ivan Nardi | 2023-08-14 |
| | |||
* | Replaces free() with ndpi_free() | Luca Deri | 2023-08-14 |
| | |||
* | Reworked ndpi_filter_xxx implementation using compressed bitmaps | Luca Deri | 2023-08-14 |
| | |||
* | Typo | Luca Deri | 2023-08-12 |
| | |||
* | ARM compilation fix | Luca Deri | 2023-08-12 |
| |