aboutsummaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAge
...
* Added docker build&push to the CI.Toni Uhlig2023-08-03
| | | | | | * update some git submodules Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Tiny improvments.Toni Uhlig2023-08-02
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* py-flow-info: print flow src/dst packetsToni Uhlig2023-07-28
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* py-flow-info: print flow src/dst bytes/packetsToni Uhlig2023-07-28
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Keras AE supports loading/saving models.Toni Uhlig2023-07-22
| | | | | | * added training/batch size as cmdargs Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added GLFW/OpenGL stats drawer written in C++.Toni Uhlig2023-07-16
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added Keras based Autoencode (Work-in-Progress!)Toni Uhlig2023-07-16
| | | | | | * minor fixes 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>
* Updated js-rt-analyzer and js-rt-analyzer-frontend examples.Toni Uhlig2023-04-21
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Merge branch 'main' of github.com:utoni/nDPIdToni Uhlig2023-02-27
|\
| * Bump werkzeug from 2.0 to 2.2.3 in /examples/py-flow-dashboarddependabot[bot]2023-02-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.0 to 2.2.3. - [Release notes](https://github.com/pallets/werkzeug/releases) - [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/werkzeug/compare/2.0.0...2.2.3) --- updated-dependencies: - dependency-name: werkzeug dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
* | Improved:Toni Uhlig2023-02-27
|/ | | | | | | | * Gitlab-CI: build nDPId executable from CLI * C-Simple: log affected JSON line on READ/PARSE error * Sklearn: quality of life changes 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.
* updated js-rt-analyzer*Toni Uhlig2023-01-27
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Minor fixes.Toni Uhlig2023-01-27
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Small CI/CD/nDPIsrvd.py improvements.Toni Uhlig2023-01-17
| | | | | | * Updated examples/js-rt-analyzer and examples/js-rt-analyzer-frontend Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Improved collectd risk processing to be in sync with libnDPI risks.Toni Uhlig2023-01-11
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added https://gitlab.com/verzulli/ndpid-rt-analyzer-frontend.git example.Toni Uhlig2023-01-11
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* nDPid: Fixed base64encode bug which lead to invalid base64 strings.Toni Uhlig2023-01-09
| | | | | | | | * py-semantic-validation: Decode base64 raw packet data as well * nDPIsrvd.py: Added PACKETS_PLEN_MAX * nDPIsrvd.py: Improved JSON parse error/exception handling Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* py-machine-learning / sklearn-random-forest: Quality Of Life improvmentsToni Uhlig2022-12-22
| | | | | | * fixed libnDPI submodule build on some platforms Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Add collectd statistics diff test.Toni Uhlig2022-12-06
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* py-flow-info: ignore certain json lines that match various criteriaToni Uhlig2022-12-03
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Updated README's.Toni Uhlig2022-11-20
| | | | 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>
* Sync unit tests.Toni Uhlig2022-11-13
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* nDPIsrvd: Provide workaround for change user/group.Toni Uhlig2022-11-13
| | | | | | | | * nDPId/nDPIsrvd/c-examples: Parameter parsing needs to be improved if `strdup()` in combination with static strings is used. * Other non-critical fixes. 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>
* bump libnDPI to db9f6ec1b4018164e5bff05f115dc60711bb711bToni Uhlig2022-10-31
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Improved nDPIsrvd-collectd statistics.Toni Uhlig2022-10-31
| | | | | | * Improved RRD-Graph generation script and static WWW html files. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Increased network buffer size to 33792 bytes.Toni Uhlig2022-10-30
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* nDPid-test: add buffer testToni Uhlig2022-10-30
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* nDPId: Added error event threshold to prevent event spamming which may be ↵Toni Uhlig2022-10-17
| | | | | | abused. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* py-machine-learning: load and save trained modelsToni Uhlig2022-10-15
| | | | | | * added link to a pre-trained model Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Removed discontinued examples from the ReadMe.Toni Uhlig2022-10-13
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Removed example py-ja3-checker.Toni Uhlig2022-10-13
| | | | | | | * renamed sklearn-ml.py to sklearn-random-forest.py (there is more to come!) * force all protocol classes to lower case Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Improved py-machine-learning example.Toni Uhlig2022-10-11
| | | | | | | | * colorize/prettify output * added sklearn controls/tuning options * disable IAT/Packet-Length features as default Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Improved py-machine-learning example.Toni Uhlig2022-10-10
| | | | 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>
* Small fixes.lns2022-10-01
| | | | Signed-off-by: lns <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>
* Refactored client distributor C API.Toni Uhlig2022-09-25
| | | | | | | | | | | * Still not perfect, but the code before was not even able to deal with JSON arrays. Use common "speaking" function names for all functions in nDPIsrvd.h * Provide a more or less generic and easy extendable JSON walk function. * Modified C examples to align with the changed C API. * c-collectd: Reduced lot's of code duplication by providing mapping tables. * nDPId: IAT array requires one slot less (first packet has always an IAT of 0). Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* nDPIsrvd.h: Fixed bug during token parsing/hashing. Do not hash array contents.Toni Uhlig2022-09-23
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Improved flown analyse event:Toni Uhlig2022-09-22
| | | | | | | | * store packet directions * merged direction based IATs * merged direction based PKTLENs Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* flow-info.py: Command line arguments --no-color, --no-statusbar (both useful ↵Toni Uhlig2022-09-22
| | | | | | | | for tests/CI) and --print-analyse-results. * run_tests.sh: Use flow-info.py for additional DIFF tests. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>