aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
* bump libnDPI to c49d126d3642d5b1f5168d049e3ebf0ee3451edcHEADtmpmainToni Uhlig2025-03-06
| | | | | | * fix API issue with a changed function signature Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Initial tunnel decoding (GRE - Layer4 only atm) (#55)Toni2025-02-25
| | | | | | | | | | Initial tunnel decoding (GRE - Layer4 only atm). Fixes #53 * make finally use of the thread distribution seed * Handle GRE/PPP subprotocol the right way * Add `-t` command line / config option * Removed duplicated and obsolete IP{4,6}_SIZE_SMALLER_THAN_HEADER which is the same as IP{4,6}_PACKET_TOO_SHORT * Updated error event schema Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* CI: Fixed config testsToni Uhlig2025-01-26
| | | | | | | * set max dots per line to improve CI output * commented `flow_risk.crawler_bot.list.load` out Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* bump libnDPI to e946f49aca13e4447a7d7b2acae6323a4531fb55Toni Uhlig2025-01-25
| | | | | | * incorporated upstream changes Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* fix config headerToni Uhlig2024-12-09
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* nDPId daemon status event: serialize nDPI API version + Size/FlowToni Uhlig2024-11-17
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added global stats diff testToni Uhlig2024-11-14
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* bump libnDPI to 59ee1fe1156be234fed796972a29a31a0589e25aToni Uhlig2024-11-13
| | | | | | | | | | * set minimum nDPI version to 4.12.0 (incompatible API changes) * fixed `ndpi_debug_printf()` function signature * JSON schema (flow): added risk `56`: "Obfuscated Traffic" * JSON schema (flow): added "domainame" * fixed OpenWrt build Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Slightly unified C example's loggingToni Uhlig2024-11-05
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added `vlan_id` dissection of the most outer (first) 802.1Q header. Fixes #50Toni Uhlig2024-11-02
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Updated JSON schema files and a test to make use of the UUID feature.Toni Uhlig2024-10-29
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added nDPId `ndpi_process_packet()` LLVM fuzzerToni Uhlig2024-10-24
| | | | | | | | | * replaced dumb `dumb_fuzzer.sh` * fixed nDPId NULL pointer deref found by fuzzer * nDPI: `--enable-debug-build` and `--enable-debug-messages` for non release builds * nDPI: do not force `log.level` to `3` anymore, use config value instead Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added additional (libnDPI) config files for test runs.Toni Uhlig2024-10-23
| | | | | | * redirect `run_tests.sh` stderr to filename which prepends config name Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added libnDPI global context init/deinit used for cache mgmt.Toni Uhlig2024-10-21
| | | | | | | | * support for adding *.ndpiconf for nDPI config tests * all other configs should have the suffix *.conf * fixed nDPI malloc/free wrapper set (was already too late set) Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added config testing script.Toni Uhlig2024-10-21
| | | | | | * nDPId-test may now make use of an optional config file as cmd arg Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Updated ReadMe's, ToDo's and ChangeLog.1.7Toni Uhlig2024-10-21
| | | | | | * 1.7-release Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Save hostname after detection finished for later use within analyse/end/idle ↵Toni Uhlig2024-09-11
| | | | | | flow events. Fixes #39. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* bump libnDPI to 92507c014626bc542f2ab11c729742802c0bc345Toni Uhlig2024-09-09
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Add PF_RING support. (#38)Toni2024-08-19
|
* Added global (heap) memory stats for daemon status events.Toni Uhlig2024-06-19
| | | | | | | | * added new CMake option `ENABLE_MEMORY_STATUS` to restore the old behavior (and increase performance) * splitted `ENABLE_MEMORY_PROFILING` into `ENABLE_MEMORY_STATUS` and `ENABLE_MEMORY_PROFILING` Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* bump libnDPI to 142c8f5afb90629762920db6703831826513e00bToni Uhlig2024-04-10
| | | | | | * fixed `git format` hash length Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* bump libnDPI to 09bb383437c11ef55e926ed15cdf986c0d426827Toni Uhlig2024-04-04
| | | | | | * fixed "unused function" warning in `ndpi_bitmap64_fuse.c` Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* bump libnDPI to df29e12f5efbe84306c1ee7c011a197caec6de50Toni Uhlig2024-04-04
| | | | | | * fixed "unused function" warning in `roaring.h` Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* bump libnDPI to 6e61368cd609899048560405ad792705fffb1f1aToni Uhlig2024-04-04
| | | | | | * fixed "unused function" warning in `gcrypt_light.c` Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* bump libnDPI to 9185c2ccc402d3368fc28ac90ab281b4f951719eToni Uhlig2024-04-04
| | | | | | * incorporated API changes from 41eef9246c6a3055e3876e3dd7aeaadecb4b76c0 Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added missing influxd test results.Toni Uhlig2024-02-13
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added test mode for influx push daemon.Toni Uhlig2024-02-08
| | | | | | | | * required for regression testing * added new confidence value (match by custom rule) * updated / tweaked grafana exported dashboard Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* bump libnDPI to 4543385d107fcc5a7e8632e35d9a60bcc40cb4f4Toni Uhlig2024-02-06
| | | | | | * incorporated API changes from nDPI Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fixed broken "not-detected" event/packet capture in captured example.Toni Uhlig2024-01-29
| | | | | | * aligned it with influxd example Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fixed invalid flow risk aggregation in collectd/influxd examples.Toni Uhlig2024-01-06
| | | | | | | | | * CI: build single nDPId executable with `-Wall -Wextra -std=gnu99` * fixed missing error events in influxd example * added additional test cases for collectd * extended grafana dashboard Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Improved collectd example.Toni Uhlig2024-01-05
| | | | | | | * similiar behavior to influxd example * gauges and counters are now handled properly Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fixed an event issue.Toni Uhlig2023-12-14
| | | | | | | | | * a "detection-update" event was thrown even if nothing changed * in some cases "not-detected" events were spammed if detection not completed * tell `libnDPI` how many packets per flow we want to dissect * `nDPId-test` validates total active flows in the right way Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Replaced ambiguous naming of "JSON string" to more accurate "JSON message". #2Toni Uhlig2023-12-04
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* c-collectd: Fixed missing escape char.Toni Uhlig2023-12-01
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Updated ReadMe's, ToDo's and ChangeLog.1.6Toni Uhlig2023-11-20
| | | | | | * 1.6-release Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Use c-captured within `test/run_tests.sh`.Toni Uhlig2023-11-11
| | | | | | * Some logging related modifications were required to achieve this. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* py-flow-info: Improved analyse result printing.1.6rc4Toni Uhlig2023-11-09
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* bump libnDPI to b08c787fe267053afdea82701071f3878c09244bToni Uhlig2023-11-09
| | | | | | | * fix ndpi data anylsis struct min/max issue * py-flow-info cosmetics in printing some information Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Forcefully reset `NDPI_UNIDIRECTIONAL_TRAFFIC` if classification was done ↵Toni Uhlig2023-11-08
| | | | | | after the first packet. Nonsense. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Reset `Unidirectional Traffc` risk if packets from both directions processed.1.6rc2Toni Uhlig2023-11-08
| | | | | | | * Fixed risk hash value calculation, which was only done lower 32 bits. * Reduced default reader threads count to two if cross compiling. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* bump libnDPI to 0db12b1390b1cc554b927230c76b05264c05b4981.6rc1Toni Uhlig2023-11-07
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Set timeout for nDPId-test run's.Toni Uhlig2023-11-03
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Switched to UNIX socket use for tests.Toni Uhlig2023-10-20
| | | | | | * use `ss` to make sure that the socket is not available anymore after every single test Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Serialize nDPId / libnDPI versions within daemon events.Toni Uhlig2023-09-10
| | | | | | * changed nDPI version hints / requirements Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* bump libnDPI to 1f693c3f5a5dcd9d69dffb610b9a81bd33f95382Toni Uhlig2023-08-27
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fixed invalid base64 encoding in some rare cases.Toni Uhlig2023-08-24
| | | | | | * nDPId-test may also verify the correct encoding/decoding Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Tiny improvments.Toni Uhlig2023-08-02
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* bump libnDPI to 2b230e28e0612e8654ad617534deb9aaaabd51b7Toni Uhlig2023-07-23
| | | | | | | * fixes loading of gambling lists which increased nDPId's memory usage *a lot* * nDPId: handle EINTR correctly Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* bump libnDPI to 8ea0eaa0d0c4a3be05f67ef7fa1d22c2579cf7d1Toni Uhlig2023-06-12
| | | | | | | | | | * added build fix for Gitlab CI * added friendly C11 check * set required libnDPI versionto 4.7 (ArchLinux ndpi-git sets version to 4.7, which is not released yet) * reduced sklearn-random-forest memory consumption by adjusting min. sample leaf Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* bump libnDPI to 04f5c5196e790db8b8cc39e42c8645fb7f3dd141lns2023-05-30
| | | | | | * added custom nDPI logging callback Signed-off-by: lns <matzeton@googlemail.com>