Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | fuzz: add fuzzer testing nDPI (initial) configurations (#1830) | Ivan Nardi | 2022-12-23 |
| | | | | | | | | | | | | | | | | | The goal of this fuzzer is to test init and deinit of the library, with different configurations. In details: * random memory allocation failures, even during init phase * random `ndpi_init_prefs` parameter of `ndpi_init_detection_module()` * random LRU caches sizes * random bitmask of enabled protocols * random parameters of `ndpi_set_detection_preferences()` * random initialization of opportunistic TLS * random load/don't load of configuration files This new fuzzer is a C++ file, because it uses `FuzzedDataProvider` class (see https://github.com/google/fuzzing/blob/master/docs/split-inputs.md). Note that the (existing) fuzzers need to be linked with C++ compiler anyway, so this new fuzzer doesn't add any new requirements. | ||
* | Add protocol disabling feature (#1808) | Ivan Nardi | 2022-12-18 |
| | | | | | | | | | | | | | | | | | | | | | | The application may enable only some protocols. Disabling a protocol means: *) don't register/use the protocol dissector code (if any) *) disable classification by-port for such a protocol *) disable string matchings for domains/certificates involving this protocol *) disable subprotocol registration (if any) This feature can be tested with `ndpiReader -B list_of_protocols_to_disable`. Custom protocols are always enabled. Technically speaking, this commit doesn't introduce any API/ABI incompatibility. However, calling `ndpi_set_protocol_detection_bitmask2()` is now mandatory, just after having called `ndpi_init_detection_module()`. Most of the diffs (and all the diffs in `/src/lib/protocols/`) are due to the removing of some function parameters. Fix the low level macro `NDPI_LOG`. This issue hasn't been detected sooner simply because almost all the code uses only the helpers `NDPI_LOG_*` | ||
* | Improve export/print of L4 protocol information (#1799) | Ivan Nardi | 2022-11-13 |
| | | | Close #1797 | ||
* | Sizes of LRU caches are now configurable | Nardi Ivan | 2022-09-23 |
| | | | | | | | | 0 as size value disable the cache. The diffs in unit tests are due to the fact that some lookups are performed before the first insert: before this change these lookups weren't counted because the cache was not yet initialized, now they are. | ||
* | Moved `NDPI_API_VERSION` to `src/include/ndpi_define.h.in` where it belongs. | Toni Uhlig | 2022-09-21 |
| | | | | | | | That way, we can make `src/include/ndpi_api.h` independent of autoconf. MSBuild will like that. Signed-off-by: Toni Uhlig <matzeton@googlemail.com> | ||
* | File nor necessary and generated by configure | Luca Deri | 2020-11-12 |
| | |||
* | Cosmetic changes | Luca Deri | 2020-11-03 |
| | |||
* | :bulb: Add mongodb protocol dissector (#1048) | Leonn | 2020-11-03 |
| | |||
* | Updated API | Luca Deri | 2020-05-06 |
| | |||
* | Reworked protocol handling chnging it is u_int16_t | Luca Deri | 2020-05-06 |
| | |||
* | :bulb: implement websocket protocol dissector | Leonn Paiva | 2020-04-26 |
| | |||
* | NDPI_API_VERSION is now computed automatically | Luca Deri | 2020-03-25 |
| | |||
* | Win fixes | Luca Deri | 2020-03-12 |
| | |||
* | Fix docstrings. | Zied Aouini | 2020-02-21 |
| | |||
* | Add ndpi_flow_tcp_struct and ndpi_flow_udp_struct api calls. | Zied Aouini | 2020-02-21 |
| | |||
* | Add ndpi_serialize_string_raw to add raw json values | Alfredo Cardigliano | 2020-02-14 |
| | |||
* | Added ndpi_is_protocol_detected() API call | Luca Deri | 2020-02-13 |
| | |||
* | Implement ndpi_flowv6_flow_hash ndpi_flowv4_flow_hash. Add ndpi_base64_encode. | Alfredo Cardigliano | 2020-01-24 |
| | |||
* | Merge branch 'dev' of https://github.com/ntop/nDPI into dev | Luca Deri | 2020-01-05 |
|\ | |||
| * | Reworked TLS dissection | Luca | 2020-01-01 |
| | | |||
* | | Updated (C) | Luca Deri | 2020-01-05 |
|/ | |||
* | Expose API to calculate the MD5 hash | emanuele-f | 2019-11-20 |
| | |||
* | Rounding up serializer buffer to be divisible by 4 (required by zmq encryption) | Alfredo Cardigliano | 2019-11-19 |
| | |||
* | New ndpi_serialize_string_boolean/ndpi_serialize_uint32_boolean | Alfredo Cardigliano | 2019-11-13 |
| | |||
* | Added ndpi_load_ipv4_ptree() API call | Luca Deri | 2019-11-11 |
| | |||
* | Added ndpi_init_detection_module() API preferences | Luca Deri | 2019-11-10 |
| | |||
* | Added ndpi_finalize_initalization() initialization function | Luca | 2019-11-07 |
| | |||
* | Merge branch 'dev' of https://github.com/ntop/nDPI into dev | Luca | 2019-11-05 |
|\ | |||
| * | Implemented SQL Injection and XSS attack detection | Luca Deri | 2019-11-01 |
| | | |||
* | | Added tunnelling decapsulation | Luca | 2019-11-05 |
|/ | |||
* | Major cleanup | Luca Deri | 2019-10-24 |
| | | | | Removed ndpi_pref_http_dont_dissect_response and ndpi_pref_dns_dont_dissect_response as the ndpi_extra_dissection_possible() call will now handle everything | ||
* | Reworked email metaata extraction | Luca Deri | 2019-10-21 |
| | |||
* | Added POP3 metadata extraction | Luca Deri | 2019-10-20 |
| | |||
* | Fix memory leak in ndpiReader. | Ravi Kerur | 2019-10-19 |
| | | | | | | Changes in library for strict function prototype. Signed-off-by: Ravi Kerur <ravi.kerur@viasat.com> | ||
* | Updated ndpi_flow2json | Luca Deri | 2019-10-16 |
| | |||
* | Merge branch 'dev' of https://github.com/ntop/nDPI into dev | Luca Deri | 2019-10-15 |
|\ | |||
| * | Implement nDPI patricia tree API | emanuele-f | 2019-10-15 |
| | | |||
* | | Initial implementation of ndpi_flow2json APi call | Luca Deri | 2019-10-15 |
|/ | |||
* | Modified API signatures for | Luca Deri | 2019-10-09 |
| | | | | | - ndpi_ssl_version2str() - ndpi_detection_giveup() | ||
* | New API functions: ndpi_load_categories_file and ndpi_load_category | emanuele-f | 2019-10-08 |
| | |||
* | Merge branch 'dev' of https://github.com/ntop/nDPI into dev | Luca Deri | 2019-10-08 |
|\ | |||
| * | ndpi_load_hostname_category now performs strdup on the name argument | emanuele-f | 2019-10-08 |
| | | | | | | | | This simplifies the API as an application is not required to keep references to the strings to free | ||
* | | Added ndpi_get_l4_proto_name() and ndpi_get_l4_proto_info() API calls to ↵ | Luca Deri | 2019-10-08 |
|/ | | | | print L4 protocol | ||
* | Fix out of bounds read in ndpi_match_custom_category | emanuele-f | 2019-10-04 |
| | |||
* | Reworked categories handling | Luca Deri | 2019-09-29 |
| | | | | | Removed GenericProtocol and replaced with categories Removed ndpi_pref_enable_category_substring_match option: substring matching is now default | ||
* | Added ndpi_extra_dissection_possible() API call | Luca Deri | 2019-09-26 |
| | |||
* | New serializer APIs ndpi_serialize_start_of_block / ↵ | Alfredo Cardigliano | 2019-09-25 |
| | | | | ndpi_serialize_end_of_block (JSON only) | ||
* | Added ndpi_init_serializer_ll() to specify low-level settings for optimizing ↵ | Alfredo Cardigliano | 2019-09-11 |
| | | | | memory allocations | ||
* | Renamed snapshot API call | Luca Deri | 2019-09-11 |
| | |||
* | Support for nDPI serializer snapshot set/reset | Alfredo Cardigliano | 2019-09-10 |
| |