aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* 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>
* Gitlab-CI: Upload coverage report.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>
* Merge branch 'main' of github.com:utoni/nDPIdToni Uhlig2023-01-10
|\
| * Delete docker-compose.ymlMacauley Cheng2023-01-09
| |
| * add Docker related filemacauley_cheng2023-01-09
| |
* | Added distclean-libnDPI target to CMake.Toni Uhlig2023-01-10
| | | | | | | | | | | | | | * Gitlab-CI: Additional job for debian packages * Install Python examples iff BUILD_EXAMPLES=ON Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* | bump libnDPI to a944514ddec73f79704f55aab1423e39f4ce7a03Toni Uhlig2023-01-09
| | | | | | | | 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>
* Fix libnDPI build script.Toni Uhlig2022-12-26
| | | | | | * added ntop Webinar 2022 reference 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>
* Limit the size of base64 serialized raw packet data (8192 bytes per packet).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>
* Strace support for diff tests.Toni Uhlig2022-12-03
| | | | | | * tiny README update Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Updated Github/Gitlab CIToni Uhlig2022-12-02
| | | | | | * instrument Clang's thread sanitizer for tests Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* nDPId-test: Reworked I/O handling to prevent some endless loop scenarios. ↵Toni Uhlig2022-12-02
| | | | | | | | Fixed a race condition in the memory wrapper as well. * nDPId: Instead of sending too long JSON strings, log an error and some parts. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fixed MD format issues.Toni Uhlig2022-11-21
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Unified nDPId/nDPIsrvd command line argument storage.Toni Uhlig2022-11-21
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added Network Buffer Size CI Check.Toni Uhlig2022-11-20
| | | | 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>
* Improved `make daemon` / `daemon.sh` to accept nDPId / nDPIsrvd arguments ↵Toni Uhlig2022-11-15
| | | | | | via env. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Improved the point of time when to append the raw packet base64 data to the ↵Toni Uhlig2022-11-15
| | | | | | | | | serializer. * nDPId-test: Increased the max-packets-per-flow-to-send from 3 to 5. This is quite useful for TCP as the first 3 packets are usually part of the three-way-handshake. 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>
* nDPId: Fixed base64 encoding issue.Toni Uhlig2022-11-13
| | | | | | | | | | | | * The issue can result in an error message like: `Base64 encoding failed with: Buffer too small.` and also in too big JSON strings generated by nDPId which nDPIsrvd does not like as it's length is greater than `NETWORK_BUFFER_MAX_SIZE`. * nDPId will now obey `NETWORK_BUFFER_MAX_SIZE` while trying to base64 encode raw packet data. 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>
* Experimental systemd support.Toni Uhlig2022-11-06
| | | | 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>
* Create pidfile iff daemon mode enabled.Toni 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-test: Fixed thread sync/lock issue.Toni Uhlig2022-10-22
| | | | | | * rarely happens in CI Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Merge branch 'main' of github.com:utoni/nDPIdToni Uhlig2022-10-20
|\
| * Add ArchLinux PKGBUILD.lns2022-10-19
| | | | | | | | Signed-off-by: lns <matzeton@googlemail.com>
* | Special Thanks to Damiano Verzulli (@verzulli).Toni Uhlig2022-10-20
|/ | | | 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>
* daemon.sh: fixed race conditionToni Uhlig2022-10-10
| | | | 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>
* daemon.sh: cat nDPId / nDPIsrvd log on failureToni Uhlig2022-10-09
| | | | 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>