aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAge
* Add npfring (PF_RING support).Toni Uhlig2024-08-16
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* 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>
* Generate code coverage w/o external shell script, use CMake.lns2022-10-03
| | | | | | * upload codecov/dist artifacts Signed-off-by: lns <matzeton@googlemail.com>
* c-analysed: improved feature extraction from "analyse" eventsToni Uhlig2022-10-01
| | | | | | | | * c-captured: update detected risks on "detection-update" events * c-collectd: added missing flow breed * c-collectd: PUTVAL macros are more flexible now Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added nDPIsrvd-analysed to generate CSV files from analyse events.Toni Uhlig2022-09-30
| | | | | | | * nDPIsrvd.h: iterate over JSON arrays * nDPId: calculate l3 payload packet entropies for analysis Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* nDPIsrvd-collectd: RRD Graph generation script and a basic static HTML5 ↵Toni Uhlig2022-09-12
| | | | | | website for viewing the generated image files. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Use CMake XCompile and collect host-triplet from ${CC}.Toni Uhlig2022-09-11
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Bump libnDPI to 37f918322c0a489b5143a987c8f1a44a6f78a6f3 and updated flow ↵Toni Uhlig2022-09-06
| | | | | | | | | json schema file. * export env vars AR / CMAKE_C_COMPILER_AR and RANLIB / CMAKE_C_COMPILER_RANLIB while building libnDPI * nDPId check API version during startup (macro vs. function call) and print a warning if they are different Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* nDPId: support for custom UDP endpointsToni Uhlig2022-08-27
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* CMake: do not add /usr/include/ndpi to include dirs if BUILD_NDPI or ↵lns2022-06-10
| | | | | | | | | STATIC_LIBNDPI_INSTALLDIR used. * c-collectd: fixed memory leak on failure * py-flow-info.py: fancy spinners and stats counting improved Signed-off-by: lns <matzeton@googlemail.com>
* Fixed build if BUILD_NDPI=ON. May happen during XCompilation.lns2022-04-16
| | | | Signed-off-by: lns <matzeton@googlemail.com>
* Avoid CMake searching for gcrypt as default.Toni Uhlig2022-04-02
| | | | | | * Not necessary anymore coz libnDPI has now a builtin gcrypt-light Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* bump libnDPI to bb12837ca75efc2691ecb18fd5f56e2d097ef26bToni Uhlig2022-03-24
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Renamed basic event to error event for the sake of the logic.Toni Uhlig2022-03-13
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Disconnect nDPIsrvd clients immediately instead waiting for a failed write().Toni Uhlig2022-03-13
| | | | | | | | | * nDPIsrvd: Collector/Distributor logging improved * nDPIsrvd: Command line option for max remote descriptors * nDPId: Stop spamming nDPIsrvd Collector with the same events over and over again * nDPId: Refactored some variable names and events Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* CI: Fixed missing lcov prereq.Toni Uhlig2022-03-12
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>