nDPId/examples
lns 2a8883a96e CMake: do not add /usr/include/ndpi to include dirs if BUILD_NDPI or 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>
2022-06-10 14:34:30 +02:00
..
c-captured Reworked nDPIsrvd.h C-API. 2022-03-21 15:56:01 +01:00
c-collectd CMake: do not add /usr/include/ndpi to include dirs if BUILD_NDPI or STATIC_LIBNDPI_INSTALLDIR used. 2022-06-10 14:34:30 +02:00
c-json-stdout Build JSMN with support for parent links. 2021-07-13 03:35:35 +02:00
c-simple Small fixes. 2022-04-26 11:44:31 +02:00
py-flow-dashboard README update 2022-05-31 23:57:22 +02:00
py-flow-info CMake: do not add /usr/include/ndpi to include dirs if BUILD_NDPI or STATIC_LIBNDPI_INSTALLDIR used. 2022-06-10 14:34:30 +02:00
py-flow-muliprocess Serialize flow risk score / confidence. 2022-02-27 02:53:39 +01:00
py-ja3-checker Serialize flow risk score / confidence. 2022-02-27 02:53:39 +01:00
py-json-stdout Serialize flow risk score / confidence. 2022-02-27 02:53:39 +01:00
py-schema-validation Fixed some pyhton issues with static class members. 2022-03-08 14:17:24 +01:00
py-semantic-validation Renamed basic event to error event for the sake of the logic. 2022-03-13 03:08:44 +01:00
README.md Updated examples/README.md 2022-03-06 17:41:38 +01:00

examples

Some ready-2-use/ready-2-extend examples/utils. All examples are prefixed with their used LANG.

c-captured

A capture daemon suitable for low-resource devices. It saves flows that were guessed/undetected/risky/midstream to a PCAP file for manual analysis. Basicially a combination of py-flow-undetected-to-pcap and py-risky-flow-to-pcap.

c-collectd

A collecd-exec compatible middleware that gathers statistic values from nDPId.

c-json-stdout

Tiny nDPId json dumper. Does not provide any useful funcationality besides dumping parsed JSON objects.

c-simple

Very tiny integration example.

go-dashboard (DISCONTINUED!)

A discontinued tty UI nDPId dashboard. Removed with commit 29c72fb30b.

py-flow-info

Prints prettyfied information about flow events.

py-flow-dashboard

A realtime web based graph using Plotly/Dash. Probably the most informative example.

py-flow-multiprocess

Simple Python Multiprocess example spawning two worker processes, one connecting to nDPIsrvd and one printing flow id's to STDOUT.

py-flow-undetected-to-pcap

Captures and saves undetected flows to a PCAP file.

py-json-stdout

Dump received and parsed JSON strings.

py-risky-flow-to-pcap

Captures and saves risky flows to a PCAP file.

py-schema-validation

Validate nDPId JSON strings against pre-defined JSON schema's. See schema/. Required by tests/run_tests.sh

py-semantic-validation

Validate nDPId JSON strings against internal event semantics. Required by tests/run_tests.sh

py-ja3-checker

Captures JA3 hashes from nDPIsrvd and checks them against known hashes from ja3er.com.