Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | Cosmetic changes | Luca Deri | 2025-06-09 | |
| | | | | Added ndpi finalization in case protocols are dumped | |||
* | Simplified code | Luca Deri | 2025-06-09 | |
| | ||||
* | Rename `ndpi_bitmask_dealloc` into `ndpi_bitmask_free` | Ivan Nardi | 2025-06-09 | |
| | ||||
* | Remove `NDPI_PROTOCOL_BITMASK`; add a new generic bitmask data structure (#2871) | Ivan Nardi | 2025-06-09 | |
| | | | | | | | | | | | | | | | | | | | The main difference is that the memory is allocated at runtime Typical usercase: ``` struct ndpi_bitmask b; ndpi_bitmask_alloc(&b, ndpi_get_num_internal_protocols()); ndpi_bitmask_set(&b, $BIT); ndpi_bitmask_is_set(&b, $BIT); [...] ndpi_bitmask_dealloc(&b); ``` See #2136 | |||
* | Add category and breed support for custom rules (#2872) | Vladimir Gavrilov | 2025-06-08 | |
| | | | Close #2594 | |||
* | Fixes invalid SSH client/server detection based on stage and not on packet ↵ | Luca Deri | 2025-06-08 | |
| | | | | direction | |||
* | Sync unit tests results and fix `NDPI_HTTP_SUSPICIOUS_HEADER` (#2874) | Ivan Nardi | 2025-06-08 | |
| | ||||
* | Sync unit tests results | Ivan Nardi | 2025-06-08 | |
| | ||||
* | Resoted PCRE2 as optional as some automatic tests fail | Luca Deri | 2025-06-08 | |
| | ||||
* | Improved HTTP risk report | Luca Deri | 2025-06-08 | |
| | | | | PCRE2 is now enabled (if present) by default as necessary to report some HTTP risks | |||
* | Normalize breed/category names: use _ instead of spaces and slashes (#2873) | Vladimir Gavrilov | 2025-06-07 | |
| | ||||
* | Compilation fix on old platforms | Luca Deri | 2025-06-06 | |
| | ||||
* | Added IMO and Badoo files | Luca Deri | 2025-06-06 | |
| | ||||
* | Dynamic allocation of `ndpi_struct->proto_defaults[]` (#2866) | Ivan Nardi | 2025-06-06 | |
| | | | | | | | | Partial revert of 88bfe2cf0: in the trees we save the index and no more a pointer to `ndpi_struct->proto_defaults[]`. Remove same functions from public API See #2136 | |||
* | Add ndpi_get_breed_by_name (#2870) | Vladimir Gavrilov | 2025-06-05 | |
| | ||||
* | Speed up category lookup in ndpi_get_category_id() (#2869) | Vladimir Gavrilov | 2025-06-05 | |
| | | | | Implements same optimization pattern as #2867 No behavior changes, just faster lookup | |||
* | Sync unit tests results | Ivan Nardi | 2025-06-05 | |
| | ||||
* | Update url to download malicious sites | Ivan Nardi | 2025-06-05 | |
| | ||||
* | Sync unit tests results | Ivan Nardi | 2025-06-05 | |
| | ||||
* | Speed up protocol lookup in ndpi_get_proto_by_name (#2867) | Vladimir Gavrilov | 2025-06-05 | |
| | ||||
* | Improved HTTP risk message report | Luca Deri | 2025-06-05 | |
| | ||||
* | Add a configuration to test a huge number of custom protocols (#2865) | Ivan Nardi | 2025-06-03 | |
| | | | File taken from #2136 | |||
* | Split `ndpi_set_proto_defaults()` logic (#2864) | Ivan Nardi | 2025-06-03 | |
| | | | | | | | | | Split the internal logic: * update `ndpi_str->proto_defaults[]` array * update the `default_ports_tree_node_t` trees This is a preliminary work to have dynamic allocated `ndpi_str->proto_defaults[]`, because in the tree we have a pointer to the array entries | |||
* | Remove `ndpi_set_proto_defaults()` from the API (#2863) | Ivan Nardi | 2025-06-03 | |
| | | | Add an explicit field to indicate if the protocol is custom or internal | |||
* | Fix test configuration | Ivan Nardi | 2025-06-03 | |
| | | | | | As reported in the comment at the beginning of the file, here we should only set default values | |||
* | Hamachi: improve handshake check (#2861) | Vladimir Gavrilov | 2025-06-03 | |
| | ||||
* | First step into a dynamic number of protocols (#2857) | Ivan Nardi | 2025-06-03 | |
| | | | | | | | | | | | | | We want to get rid of the defines `NDPI_MAX_SUPPORTED_PROTOCOLS` and `NDPI_MAX_NUM_CUSTOM_PROTOCOLS`. You can use: ``` ndpi_get_num_protocols() ``` See #2136 Removed some unused functions from public API | |||
* | New API to enable/disable protocols; remove ↵ | Ivan Nardi | 2025-06-03 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | `ndpi_set_protocol_detection_bitmask2()` (#2853) The main goal is not to have the bitmask depending on the total number of protocols anymore: `NDPI_INTERNAL_PROTOCOL_BITMASK` depends only on internal protocols, i.e. on `NDPI_MAX_INTERNAL_PROTOCOLS`, i.e. custom-defined protocols are not counted. See #2136 Keep the old data structure `NDPI_PROTOCOL_BITMASK` with the old semantic. Since we need to change the API (and all the application code...) anyway, simplify the API: by default all the protocols are enabled. If you need otherwise, please use `ndpi_init_detection_module_ext()` instead of `ndpi_init_detection_module()` (you can find an example in the `ndpiReader` code). To update the application code you likely only need to remove these 3 lines from your code: ``` - NDPI_PROTOCOL_BITMASK all; - NDPI_BITMASK_SET_ALL(all); - ndpi_set_protocol_detection_bitmask2(ndpi_str, &all); ``` Removed an unused field and struct definition. | |||
* | Add Hamachi protocol detection support (#2860) | Vladimir Gavrilov | 2025-06-02 | |
| | ||||
* | Added README file | Luca Deri | 2025-05-29 | |
| | ||||
* | Added boundary fix | Luca Deri | 2025-05-29 | |
| | ||||
* | Added missing lists | Luca Deri | 2025-05-29 | |
| | ||||
* | Moved variable across files | Luca Deri | 2025-05-29 | |
| | ||||
* | Updated bots and scanners list | Luca Deri | 2025-05-29 | |
| | | | | Improved lists file parsing | |||
* | Changed variable name | Luca Deri | 2025-05-29 | |
| | ||||
* | Compilation fix | Luca Deri | 2025-05-29 | |
| | ||||
* | Added readme | Luca Deri | 2025-05-28 | |
| | ||||
* | Added ndpi_load_protocols_dir() API call for loading IP-based protocol detection | Luca Deri | 2025-05-28 | |
| | | | | Added --protocols-list-dir <dir> to ndpiReader for loading IP_based protocol | |||
* | Fix configuration of ip lists of flow risks (#2859) | Ivan Nardi | 2025-05-28 | |
| | | | | | Add some new tests about these configuration parameters. Close #2858 | |||
* | Improved detection of TCP scanners | Luca Deri | 2025-05-27 | |
| | ||||
* | Allow to specify default ports also via range (#2856) | Ivan Nardi | 2025-05-27 | |
| | | | Ad a trivial example, update SIP configuration to use range | |||
* | Sync unit tests results | Ivan Nardi | 2025-05-27 | |
| | ||||
* | Typo | Luca Deri | 2025-05-27 | |
| | ||||
* | Fix compilation on Windows | Ivan Nardi | 2025-05-26 | |
| | ||||
* | Reworked fingerprint code | Luca Deri | 2025-05-26 | |
| | ||||
* | Better separation between "protocols" and "dissectors" (#2855) | Ivan Nardi | 2025-05-26 | |
| | | | Callback functions are about dissectors, not protocols | |||
* | BFCP: fix check on payload length and extract metadata (#2854) | Ivan Nardi | 2025-05-26 | |
| | | | | | | We should be able to identified this protocol on the first packet, without keeping any state Close #2745 | |||
* | Added boundary check | Luca Deri | 2025-05-26 | |
| | ||||
* | Follow-up of c1d372860 (TCP fingerprint format) (#2850) | Ivan Nardi | 2025-05-26 | |
| | ||||
* | Fingerprint fixes | Luca Deri | 2025-05-26 | |
| |