aboutsummaryrefslogtreecommitdiff
path: root/examples/c-analysed
Commit message (Collapse)AuthorAge
* bump libnDPI to e946f49aca13e4447a7d7b2acae6323a4531fb55Toni Uhlig2025-01-25
| | | | | | * incorporated upstream changes Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added global stats diff testToni Uhlig2024-11-14
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Use `chmod_chown()` API from utilsToni Uhlig2024-11-14
| | | | | | * `chmod_chown()` returns EINVAL if path is NULL Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fixed some SonarCloud issuesToni Uhlig2024-11-14
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Add NUL to risks, not needed but better be safe then sorryToni Uhlig2024-11-05
| | | | 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>
* Fixed some SonarCloud issuesToni Uhlig2024-10-26
| | | | | | * fixed dependabot werkzeug (3.0.3 to 3.0.6) Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Read and parse configuration files. Fixes #41. (#42)1.7rc1Toni2024-10-16
| | | | | | | | | | | Read and parse configuration files. Fixes #41. * supports nDPId / nDPIsrvd via command line parameter `-f` * nDPId: read general/tuning and libnDPI settings * support for settings risk domains libnDPI option via config file or via `-R` (Fixes #45, thanks to @UnveilTech) * added some documentation in the config file * adjusted Systemd and Debian packaging to make use of config files Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Generate global stats with microseconds precision.Toni Uhlig2024-10-01
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Extended analyse application to write global stats to a CSV.Toni Uhlig2024-08-16
| | | | 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>
* Sonarcloud integrationToni Uhlig2023-10-05
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fix some GCC-12 warnings.Toni Uhlig2023-08-27
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* py-machine-learning: Print CSV line numbers for invalid lines (SKLearn ↵Toni Uhlig2023-01-30
| | | | | | | | Random Forest Classificator). * c-analysed: fix wrong length check Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Revert "Revert "Minor fixes.""Toni Uhlig2023-01-27
| | | | This reverts commit 42aad33ec83137a95fb45292cf7c4e4300634fa5.
* Revert "Minor fixes."Toni Uhlig2023-01-27
| | | | This reverts commit 58439a676116baffb04a24a59ebae81780528327.
* Minor fixes.Toni Uhlig2023-01-27
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Test for diff's in flow-analyse CSV generator daemon.Toni Uhlig2022-11-16
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* nDPIsrvd.h: Provide two additional convenient API functions.Toni Uhlig2022-11-06
| | | | | | | * nDPIsrvd_json_buffer_string * nDPIsrvd_json_buffer_length Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Improved examples.Toni Uhlig2022-11-02
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Improved py-machine-learning example.Toni Uhlig2022-10-09
| | | | | | | | | * c-analysed: fixed quoting bug * nDPId: fixed invalid iat storing/serialisation * nDPId: free data analysis after event was sent Signed-off-by: Toni Uhlig <matzeton@googlemail.com> Signed-off-by: lns <matzeton@googlemail.com>
* Improved OpenWrt UCI/InitscriptToni Uhlig2022-10-06
| | | | | | * c-analysed: chuser()/chgroup() Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* c-analysed: improved feature extraction from "analyse" eventsToni Uhlig2022-10-01
| | | | | | | | * c-captured: update detected risks on "detection-update" events * c-collectd: added missing flow breed * c-collectd: PUTVAL macros are more flexible now Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added nDPIsrvd-analysed to generate CSV files from analyse events.Toni Uhlig2022-09-30
| | | | | | | * nDPIsrvd.h: iterate over JSON arrays * nDPId: calculate l3 payload packet entropies for analysis Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* nDPId-test: Force collector blocking mode.Toni Uhlig2022-09-25
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>