aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAge
* Set minimal required nDPI version to 4.14 (tarball) and 4.13 (git)Toni Uhlig2025-01-26
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fixed CMake warningsToni Uhlig2024-11-20
| | | | | | * `make dist`: improved libnDPI git version naming Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added script to warn a user about issues regarding wrong umask and CPackToni Uhlig2024-11-20
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* CMake/RPM integrationToni Uhlig2024-11-17
| | | | | | | * CI integration * RPM (un)install scripts Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* bump libnDPI to 59ee1fe1156be234fed796972a29a31a0589e25aToni Uhlig2024-11-13
| | | | | | | | | | * set minimum nDPI version to 4.12.0 (incompatible API changes) * fixed `ndpi_debug_printf()` function signature * JSON schema (flow): added risk `56`: "Obfuscated Traffic" * JSON schema (flow): added "domainame" * fixed OpenWrt build 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 nDPId `ndpi_process_packet()` LLVM fuzzerToni Uhlig2024-10-24
| | | | | | | | | * replaced dumb `dumb_fuzzer.sh` * fixed nDPId NULL pointer deref found by fuzzer * nDPI: `--enable-debug-build` and `--enable-debug-messages` for non release builds * nDPI: do not force `log.level` to `3` anymore, use config value instead Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Removed `ENABLE_MEMORY_STATUS` CMake option as it's now enabled for **all** ↵Toni Uhlig2024-10-22
| | | | | | builds Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added libnDPI global context init/deinit used for cache mgmt.Toni Uhlig2024-10-21
| | | | | | | | * support for adding *.ndpiconf for nDPI config tests * all other configs should have the suffix *.conf * fixed nDPI malloc/free wrapper set (was already too late set) Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Updated ReadMe's, ToDo's and ChangeLog.1.7Toni Uhlig2024-10-21
| | | | | | * 1.7-release 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>
* Fix CI.Toni Uhlig2024-08-20
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* CMake: add `coverage-clean` target and fix `coverage` dependency issue.Toni Uhlig2024-08-20
| | | | | | * improve/fix README Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Add PF_RING support. (#38)Toni2024-08-19
|
* Fixed build error due to missing nDPI includes.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>
* Added global (heap) memory stats for daemon status events.Toni Uhlig2024-06-19
| | | | | | | | * added new CMake option `ENABLE_MEMORY_STATUS` to restore the old behavior (and increase performance) * splitted `ENABLE_MEMORY_PROFILING` into `ENABLE_MEMORY_STATUS` and `ENABLE_MEMORY_PROFILING` Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* CMake: set MacOS RPATHToni Uhlig2024-05-06
| | | | 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 libpcre2 build.Toni Uhlig2024-03-20
| | | | | | * CI: build against libpcre2 / libmaxminddb Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Read Ipv6 address and netmask using `getifaddrs()` instead of reading ↵Toni Uhlig2024-02-07
| | | | | | | | `/proc/net/if_inet6`. * fixes a compatibility issue with Mac OSX Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Removed API version macro check as it's inconsistent on different platforms.Toni Uhlig2024-02-06
| | | | | | * set min required nDPI version to 4.9.0 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>
* 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>
* Add InfluxDB push daemon.Toni Uhlig2023-12-07
| | | | 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>
* 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 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>
* 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>
* 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>
* 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>
* 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>
* CMake: install header files for experimental usageToni Uhlig2023-08-05
| | | | 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>
* `get-and-build-libndpi.sh` uses GMake MAKEFLAGS for sub-make (required for ↵Toni Uhlig2023-07-16
| | | | | | | | e.g. jobserver) * fixed invalid CMake `test -r ...` 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>
* Required libnDPI version increases (>=4.8.0) due to an API change.lns2023-05-31
| | | | | | * fix CI issues Signed-off-by: lns <matzeton@googlemail.com>
* Added CentOs and ArchLinux to the CI.lns2023-05-28
| | | | | | | | * added some additional checks in get-and-build-libndpi.sh * CMake fallback library checks Signed-off-by: lns <matzeton@googlemail.com> Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* bump libnDPI to ...Toni Uhlig2023-05-24
| | | | | | | | * upstream changed regression test interface, needed to adapt * improved libnDPI helper build script * updated JSON schema Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* 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>
* Fix libnDPI build script.Toni Uhlig2022-12-26
| | | | | | * added ntop Webinar 2022 reference 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>
* Experimental systemd support.Toni Uhlig2022-11-06
| | | | 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>