aboutsummaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAge
* bump libnDPI to e946f49aca13e4447a7d7b2acae6323a4531fb55Toni Uhlig2025-01-25
| | | | | | * incorporated upstream changes Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added `--no-blink` and `--hide-risk-info`Toni Uhlig2024-12-09
| | | | 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>
* Fixed some SonarCloud issuesToni 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>
* Switched OpenWrt GitHub Actions SDK to main branchToni Uhlig2024-11-02
| | | | | | | | | * fixed some SonarCloud complaints * added more systemd CI tests * fixed debian package scripts to obey remove/purge * changed `chmod_chown()` error handling Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added `vlan_id` dissection of the most outer (first) 802.1Q header. Fixes #50Toni Uhlig2024-11-02
| | | | 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>
* Updated Grafana dashboard to make correct use of gauge max values.Toni Uhlig2024-10-17
| | | | 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>
* Added Filebeat Configuration (#44)Naix2024-10-06
| | | | | Added Filebeat Configuration Co-authored-by: Toni <matzeton@googlemail.com>
* Updated Grafana dashboard.Toni Uhlig2024-10-02
| | | | 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>
* Improved Keras Autoencoder hyper parameter.Toni Uhlig2024-08-16
| | | | 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>
* Some small fixes.Toni Uhlig2024-08-09
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fixed OpenWrt `nDPId-testing` build.Toni Uhlig2024-06-12
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Bump werkzeug from 3.0.1 to 3.0.3 in /examples/py-flow-dashboard (#37)dependabot[bot]2024-05-29
| | | | | | | | | | | | | | | Bumps [werkzeug](https://github.com/pallets/werkzeug) from 3.0.1 to 3.0.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/3.0.1...3.0.3) --- updated-dependencies: - dependency-name: werkzeug dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* flow-info.py: Set min risk severity required to print a risk.Toni Uhlig2024-05-08
| | | | | | * ReadMe update Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Removed unmaintained C JSON dumper.Toni Uhlig2024-04-17
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fix example build error if memory profiling enabled.Toni Uhlig2024-03-21
| | | | | | | * CI: build against libnDPI with `-DNDPI_NO_PKGCONFIG=ON` and `-DSTATIC_LIBNDPI_INSTALLDIR=/usr` * CI: `ENABLE_DBUS=ON` for most builds Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fixed missing statistics updating for unknown mapping keys in collectd/influxd.Toni Uhlig2024-02-20
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added test mode for influx push daemon.Toni Uhlig2024-02-08
| | | | | | | | * required for regression testing * added new confidence value (match by custom rule) * updated / tweaked grafana exported dashboard Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* bump libnDPI to 4543385d107fcc5a7e8632e35d9a60bcc40cb4f4Toni Uhlig2024-02-06
| | | | | | * incorporated API changes from nDPI Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fixed broken "not-detected" event/packet capture in captured example.Toni Uhlig2024-01-29
| | | | | | * aligned it with influxd example Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fixed invalid flow risk aggregation in collectd/influxd examples.Toni Uhlig2024-01-06
| | | | | | | | | * CI: build single nDPId executable with `-Wall -Wextra -std=gnu99` * fixed missing error events in influxd example * added additional test cases for collectd * extended grafana dashboard Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Improved collectd example.Toni Uhlig2024-01-05
| | | | | | | * similiar behavior to influxd example * gauges and counters are now handled properly Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added Grafana example dashboard image.Toni Uhlig2023-12-20
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* 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>
* 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>
* c-collectd: Fixed missing escape char.Toni Uhlig2023-12-01
| | | | 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>
* Updated ReadMe's, ToDo's and ChangeLog.1.6Toni Uhlig2023-11-20
| | | | | | * 1.6-release Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fixed SonarCloud complaints.Toni Uhlig2023-11-20
| | | | 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>
* Improved DBUS notification daemon.Toni 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>
* 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>