Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Test multiple `ndpiReader` configurations (#1931) | Ivan Nardi | 2023-04-06 |
| | | | | | | | | | Extend internal unit tests to handle multiple configurations. As some examples, add tests about: * disabling some protocols * disabling Ookla aggressiveness Every configurations data is stored in a dedicated directory under `tests\cfgs` | ||
* | HTTP: correctly set the classification protocols | Nardi Ivan | 2022-09-06 |
Classification should always be set via `ndpi_set_detected_protocol()` to be sure to set a correct `confidence` value, too. Having a "known" protocol stack with `NDPI_CONFIDENCE_UNKNOWN` as confidence, is not valid. This code in HTTP dissector likely needs some more thoughts (the classification itself of the attached example doesn't make a lot of sense), but the goal of this commit is only to always have a valid `confidence` value. |