aboutsummaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAge
* Add FreeBSD CI buildToni Uhlig2025-02-01
| | | | 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>
* Adjusted SonarCloud config and CIToni Uhlig2024-11-02
| | | | 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>
* 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>
* bump libnDPI to 4543385d107fcc5a7e8632e35d9a60bcc40cb4f4Toni Uhlig2024-02-06
| | | | | | * incorporated API changes from nDPI 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>
* Fix CI.Toni Uhlig2023-09-11
| | | | 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>
* Improved OpenWrt Makefile: set an optional libnDPI commit hashToni Uhlig2023-07-18
| | | | 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>
* 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>
* 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>
* daemon.sh: fixed race conditionToni Uhlig2022-10-10
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* daemon.sh: cat nDPId / nDPIsrvd log on failureToni Uhlig2022-10-09
| | | | 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>
* 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>
* OpenWrt packaging support.Toni Uhlig2022-09-13
| | | | 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>
* bump libnDPI to 8b2c9860be8b0663bfe9fc3b6defc041bb90e5b21.5lns2022-04-18
| | | | 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>
* bump libnDPI to bb12837ca75efc2691ecb18fd5f56e2d097ef26bToni Uhlig2022-03-24
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Code coverage generation using LCOV.Toni Uhlig2022-03-11
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Serialize flow risk score / confidence.Toni Uhlig2022-02-27
| | | | | | | * bump libnDPI to 8b062295cc76a60e3905c054ce37bd17669464d1 * removed ndpi_id_struct's Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added logging interface used by nDPId, nDPIsrvd and nDPId-test.Toni Uhlig2022-02-03
| | | | | | | | | * fixed GitLab pipeline * nDPId: added static assert (just for a test) * nDPId: memory profiling for total bytes compressed * nDPId-test: enable zLib compression if configured with ENABLE_ZLIB Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* MemoryProfiling: Advanced flow usage logging.Toni Uhlig2021-11-13
| | | | | | | | * nDPId-test: disable #include <syslog.h> if NO_MAIN macro defined * nDPId-test: mock syslog flags and functions * gitlab-ci: force -Werror Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* nDPId-test: Set max buffer size for remote descriptors useful to test ↵Toni Uhlig2021-11-04
| | | | | | caching/buffering. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* CMake and CI extensionsToni Uhlig2021-09-29
| | | | | | | * CPack support for debian packages * Use CPack version string for nDPId Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Github Actions integrationToni Uhlig2021-09-17
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Improved nDPIsrvd buffer bloat handling using caching.Toni Uhlig2021-08-04
| | | | | | | * still allow blocking mode (with send timeout) * improved daemon start/stop test script Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Trying to fix BUILD_NDPI for xcompilation.Toni Uhlig2021-06-09
| | | | | | * added a CMake warning as well Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Generate a valid version tuple if build was triggered from an unpacked `make ↵Toni Uhlig2021-06-08
| | | | | | dist` archive. Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* `make dist`Toni Uhlig2021-06-08
| | | | | | | * fixed run_tests.sh file check bug, CI compat * updated results due to libnDPI submodule update Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Build system cleanup / cosmetics.1.4Toni Uhlig2021-06-07
* libnDPI submodule update Signed-off-by: Toni Uhlig <matzeton@googlemail.com>