summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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>
* Improved DBUS notification daemon.Toni Uhlig2023-11-07
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* bump libnDPI to 0db12b1390b1cc554b927230c76b05264c05b4981.6rc1Toni Uhlig2023-11-07
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fixed more SonarCloud complaints.Toni Uhlig2023-11-07
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fixed some SonarCloud complaints.Toni Uhlig2023-11-06
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Apple/BSD port (#30)Toni2023-11-06
| | | | | | | | * Add MacOS to Github CI builds. * Fixed libnDPI-4.8 CI build. * Fixed missing include for `struct sockaddr*`. * Reworked IPv4 address and netmask retrieval. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Event I/O abstraction layer. (#28)Toni2023-11-06
| | | | | | | | | | | * Finalize Event I/O abstraction layer. * Fix possible fd leakage, Gitlab-CI build and error logging. * Fixed possible uninitialized signalfd variable. * Fixed possible memory leak. * Fixed some SonarCloud complaints. * Fixed nDPId-test nDPIsrvd-arpa-mockup stuck indefinitely. * Add nDPId / nDPIsrvd command line option to use poll() on Linux instead of the default epoll(). Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Updated ToDo and added ChangeLog.Toni Uhlig2023-11-05
| | | | 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>
* Add DBUS suspicious flow event notification daemon.Toni Uhlig2023-11-03
| | | | | | * nDPIsrvd.h: support for closing/resetting a nDPIsrvd_socket (required for a reconnect) Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Bump werkzeug to 3.0.1Toni Uhlig2023-11-02
| | | | | | * see #29 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>
* Fixed bug which may happen if additional write buffers are empty but main ↵Toni Uhlig2023-10-19
| | | | | | | | write buffer not. * may cause nDPIsrvd to hang indefinitly if no more data received from a collector Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Improved syslog logging.Toni Uhlig2023-10-19
| | | | | | | * fixed missing log level for non-error message, causes systemd to send broadcast messages * completly removed logging to stderr while started via systemd Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Disable SonarCloud Coverage generation.Toni Uhlig2023-10-18
| | | | | | * ToDo: Fix and Re-Enable? Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added Coverage generation for SonarCloud.Toni Uhlig2023-10-17
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fixed Dockerfile related SonarCloud issues.Toni Uhlig2023-10-16
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Docker: Switched from Ubuntu 22.10 to 22.04 LTS.Toni Uhlig2023-10-16
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Sonarcloud integrationToni Uhlig2023-10-05
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fix issues detected by SonarCloud.Toni Uhlig2023-10-05
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* nDPId-test: ingore event handler failures caused by arpa mockupToni Uhlig2023-10-05
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* nDPId event I/O fixes.Toni Uhlig2023-10-05
| | | | | | | | * forcibly disable epoll even if available * nDPId-test event I/O selftest * CI event I/O tests Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* nDPIsrvd: Log error if collector unix socket can not be removed.Toni Uhlig2023-09-11
| | | | | | * systemd: add post stop hook to forcefully remove the collector unix socket Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fix CI.Toni Uhlig2023-09-11
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fix CI.Toni Uhlig2023-09-11
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fix systemd CI test.Toni Uhlig2023-09-10
| | | | | | * CI Fix #3 Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* c-captured: Log only flows w/o packet data to syslog if in logging mode.Toni Uhlig2023-09-10
| | | | | | * CI Fix #2 Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fix CI.Toni Uhlig2023-09-10
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* sklearn-random-forest.py: Pretty print false positive/negative.Toni Uhlig2023-09-10
| | | | | | | * added max tree depth command line argument * print a note if loading an existing model while using --sklearn-* command line options 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>
* Add event I/O abstraction.Toni Uhlig2023-09-10
| | | | | | | * required to support non-Linux OS e.g. Mac OS X / BSD * see Github issue #19 Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added CMake option BUILD_NDPI_FORCE_GIT_UPDATE to fix broken submodule ↵Toni Uhlig2023-08-27
| | | | | | caches in GitLab CIs.. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* bump libnDPI to 1f693c3f5a5dcd9d69dffb610b9a81bd33f95382Toni Uhlig2023-08-27
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Enable custom JSON filter expressions for Python scripts.Toni Uhlig2023-08-27
| | | | 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>
* 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>
* keras-autoencoder.py: TensorBoard, SGD optimizer, KLDivergence loss ↵Toni Uhlig2023-08-23
| | | | | | function, EarlyStopping Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* keras-autoencoder.py: Improved ModelToni Uhlig2023-08-20
| | | | | | | * added initial learning rate for Adam * plot some metrics using pyplot Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* keras-autoencoder.py: fixed invalid preprocessing of received base64 packet dataToni Uhlig2023-08-15
| | | | | | | * split logic into seperate jobs; nDPIsrvd and Keras * nDPIsrvd: break event processing and re-run `epoll_wait()` after client disconnected Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* c-captured extensionToni Uhlig2023-08-14
| | | | | | | * capture packets after error event occurred * add "logging" and "capture" mode Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* CMake: install header files for experimental usageToni Uhlig2023-08-05
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added docker build&push to the CI.Toni Uhlig2023-08-03
| | | | | | * update some git submodules Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* nDPId-test: threads should block all unix signalsToni Uhlig2023-08-02
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* nDPId-test: print additional startup/init log messagesToni Uhlig2023-08-02
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Tiny improvments.Toni Uhlig2023-08-02
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Removed CI matrix based jobs.Toni Uhlig2023-08-02
| | | | | | * Fixed multiple *.deb package upload issue. 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>
* Circle CI integrationToni Uhlig2023-07-27
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* bump libpcap dependency to 1.9.0Toni Uhlig2023-07-27
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>