aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Updated error event schemaadd/tunnel-decodingToni Uhlig2025-02-25
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Rebased to main branchToni Uhlig2025-02-25
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Removed duplicated and obsolete IP{4,6}_SIZE_SMALLER_THAN_HEADER which is ↵Toni Uhlig2025-02-25
| | | | | | | | the same as IP{4,6}_PACKET_TOO_SHORT * IPv4 / IPv6 length check happens now *after* datalink processing Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added length check's to fix some heap overflowToni Uhlig2025-02-25
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Add `-t` command line / config optionToni Uhlig2025-02-25
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Handle GRE/PPP subprotocol the right wayToni Uhlig2025-02-25
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Initial tunnel decoding (GRE - Layer4 only atm). Fixes #53Toni Uhlig2025-02-25
| | | | | | * make finally use of the thread distribution seed Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Add FreeBSD CI buildToni Uhlig2025-02-01
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fix missing header file for build on freebsd (macos) (#60)Alex Eganov2025-01-31
|
* CI: Fixed config testsToni Uhlig2025-01-26
| | | | | | | * set max dots per line to improve CI output * commented `flow_risk.crawler_bot.list.load` out Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* CI: Added libnl-genl-3-dev to PF_RING buildToni Uhlig2025-01-26
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* 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>
* Temp disable `flow_risk.crawler_bot.list.load` in default config fileToni Uhlig2025-01-26
| | | | | | * currently broken in upstream Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* bump libnDPI to e946f49aca13e4447a7d7b2acae6323a4531fb55Toni Uhlig2025-01-25
| | | | | | * incorporated upstream changes Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* fix config headerToni Uhlig2024-12-09
| | | | 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>
* Increased maximum value for `max-flows-per-thread` to 65kToni Uhlig2024-12-03
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* CI: `make dist` test (extract archive, run CMake)Toni Uhlig2024-11-20
| | | | 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>
* Dockerfile updateToni Uhlig2024-11-18
| | | | | | * gitlab-ci runner fix (single runner / multiple jobs) Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Fix Gitlab CI build for some runnersToni Uhlig2024-11-18
| | | | 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>
* nDPId daemon status event: serialize nDPI API version + Size/FlowToni Uhlig2024-11-17
| | | | 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>
* 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>
* cosmeticsToni Uhlig2024-11-10
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Added env check `NDPID_STARTED_BY_SYSTEMD` to prevent logging to `stderr` in ↵Toni Uhlig2024-11-07
| | | | | | | | | such a case * removed `nDPId` shutdown on poll/epoll error * fixed `chmod_chown()` rv check 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>
* Temporarily disabled some OpenWrt buildsToni Uhlig2024-11-05
| | | | | | * See: https://github.com/openwrt/gh-action-sdk/issues/43 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>
* Adjusted SonarCloud config and CIToni Uhlig2024-11-02
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Updated JSON schema files and a test to make use of the UUID feature.Toni Uhlig2024-10-29
| | | | Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
* Set an optional UUID used within all events (similar to the "alias").Toni Uhlig2024-10-29
| | | | | | | | * added default values to usage * UUID can be either read from a file or used directly from option value * adjusted example config file 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>
* 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>
* Added additional (libnDPI) config files for test runs.Toni Uhlig2024-10-23
| | | | | | * redirect `run_tests.sh` stderr to filename which prepends config name 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>
* Added config testing script.Toni Uhlig2024-10-21
| | | | | | * nDPId-test may now make use of an optional config file as cmd arg 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>
* Merge commit 'fb1dcc71de39e6dd5c11b8bc4288ec5e618fa946'1.7rc2Toni Uhlig2024-10-17
|\
| * Squashed 'dependencies/jsmn/' changes from 1aa2e8f8..25647e69Toni Uhlig2024-10-17
| | | | | | | | | | | | | | 25647e69 Fix position of a comment in string parsing git-subtree-dir: dependencies/jsmn git-subtree-split: 25647e692c7906b96ffd2b05ca54c097948e879c
* | Merge commit '9a14454d3c5589373253571cee7428c593adefd9'Toni Uhlig2024-10-17
|\ \
| * | Squashed 'dependencies/uthash/' changes from bf152630..f69112c0Toni Uhlig2024-10-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f69112c0 utarray: Fix typo in docs 619fe95c Fix MSVC warning C4127 in HASH_BLOOM_TEST (#261) eeba1961 uthash: Improve the docs for HASH_ADD_INORDER ca98384c HASH_DEL should be able to delete a const-qualified node 095425f7 utlist: Add one more assertion in DL_DELETE2 399bf74b utarray: Stop making `oom` a synonym for `utarray_oom` 85bf75ab utarray_str_cpy: Remove strdup; utarray_oom() if strdup fails. 1a53f304 GitHub CI: Also test building the docs (#248) 4d01591e The MCST Elbrus C Compiler supports __typeof. (#247) 1e0baf06 CI: Add GitHub Actions CI 8844b529 Update test57.c per a suggestion by @mark-summerfield 44a66fe8 Update http:// URLs to https://, and copyright dates to 2022. NFC. git-subtree-dir: dependencies/uthash git-subtree-split: f69112c04f1b6e059b8071cb391a1fcc83791a00