aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | | Added Grafana nDPId dashboard.Toni Uhlig2023-12-16
| | | | | | | | | | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* | | Improved InfluxDB push daemon.Toni Uhlig2023-12-15
| | | | | | | | | | | | | | | | | | | | | * added proper gauge handling that enables pushing data w/o missing out anything e.g. short flows with a lifetime in-between two InfluxDB intervals 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>
* | | Improved InfluxDB push daemon.Toni Uhlig2023-12-14
| | | | | | | | | | | | | | | | | | | | | | | | * fixed severity parsing and gauge handling * added flow state gauges * flow related gauges are only increased/decreased if a "new" event was seen (except for bytes xfer) Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* | | Improved InfluxDB push daemon.Toni Uhlig2023-12-11
| | | | | | | | | | | | | | | | | | | | | | | | * fixed missing flow active gauge * fixed invalid flow risk severity gauges * fixed missing flow risk gauges Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* | | Add InfluxDB push daemon.Toni Uhlig2023-12-07
| | | | | | | | | | | | 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>
* | | Replaced ambiguous naming of "JSON string" to more accurate "JSON message".Toni Uhlig2023-12-04
| | | | | | | | | | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* | | Improved zlib compression ratio.Toni Uhlig2023-12-01
| | | | | | | | | | | | 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>
* | | Warn about unused return values that are quite important.Toni Uhlig2023-12-01
| | | | | | | | | | | | | | | | | | | | | * CI: ArchLinux build should now instrument `-Werror` * CI: Increased OpenWrt build verbosity Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* | | flow-info.py: Do not print any information if a flow is "empty" meaning no ↵Toni Uhlig2023-12-01
| | | | | | | | | | | | | | | | | | | | | | | | L4 payload seen so far. * added JsonDecodeError to provide more information if builtin JSON decoder fails Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* | | Update README.md (#32)Paul Donald2023-11-27
| | | | | | | | | | | | | | | Sp/gr. Co-authored-by: Toni <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>
* | | Fixed possible buffer underflow.Toni Uhlig2023-11-20
| | | | | | | | | | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* | | Added SonarCloud exclusions for third-party files and files lacking relevance.Toni Uhlig2023-11-20
| | | | | | | | | | | | | | | | | | * fixed two other "bugs" Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* | | Changed CI image from ubuntu-18.04 to ubuntu-20.04 as it is deprecated since ↵Toni Uhlig2023-11-20
| | | | | | | | | | | | | | | | | | '22. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* | | Fixed SonarCloud complaints.Toni Uhlig2023-11-20
| | | | | | | | | | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* | | Workaround for libpap (<1.9.0) on Ubuntu-18.04Toni Uhlig2023-11-20
| | | | | | | | | | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* | | Support simple config file reading via systemd environment file.Toni Uhlig2023-11-20
| | | | | | | | | | | | | | | | | | * cfg file path defaults to PREFIX/etc/default/ndpid Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* | | Fixed clang-tidy warnings.Toni Uhlig2023-11-13
| | | | | | | | | | | | | | | | | | * fixed/improved c-captured logging 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>
* | | Fixed missing deflate during flow event json serializing.1.6rc3Toni Uhlig2023-11-08
| | | | | | | | | | | | | | | | | | * caused by recently added serializing some nDPI data even packet processing is still ongoing 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>
* | | 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>