nDPId/examples
Toni Uhlig 4654faf381 Improved py-machine-learning example.
* c-analysed: fixed quoting bug
 * nDPId: fixed invalid iat storing/serialisation
 * nDPId: free data analysis after event was sent

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Signed-off-by: lns <matzeton@googlemail.com>
2022-10-09 18:31:45 +02:00
..
c-analysed Improved py-machine-learning example. 2022-10-09 18:31:45 +02:00
c-captured c-analysed: improved feature extraction from "analyse" events 2022-10-01 18:01:56 +02:00
c-collectd Small fixes. 2022-10-01 22:37:25 +02:00
c-json-stdout Build JSMN with support for parent links. 2021-07-13 03:35:35 +02:00
c-simple Refactored client distributor C API. 2022-09-25 00:54:39 +02:00
js-rt-analyzer@e0402c64c8 Added https://gitlab.com/verzulli/ndpid-rt-analyzer.git to examples. 2022-09-06 11:08:01 +02:00
py-flow-dashboard nDPId: Reduced flow-updates for TCP flows to 1/4 of the timeout value. 2022-09-19 19:39:49 +02:00
py-flow-info Added nDPIsrvd-analysed to generate CSV files from analyse events. 2022-09-30 19:28:49 +02:00
py-flow-muliprocess nDPId: Reduced flow-updates for TCP flows to 1/4 of the timeout value. 2022-09-19 19:39:49 +02:00
py-ja3-checker nDPId: Reduced flow-updates for TCP flows to 1/4 of the timeout value. 2022-09-19 19:39:49 +02:00
py-json-stdout nDPId: Reduced flow-updates for TCP flows to 1/4 of the timeout value. 2022-09-19 19:39:49 +02:00
py-machine-learning Improved py-machine-learning example. 2022-10-09 18:31:45 +02:00
py-schema-validation nDPId: Reduced flow-updates for TCP flows to 1/4 of the timeout value. 2022-09-19 19:39:49 +02:00
py-semantic-validation nDPId: Reduced flow-updates for TCP flows to 1/4 of the timeout value. 2022-09-19 19:39:49 +02:00
ndpid_install_and_run.gif Improve README 2022-08-12 11:10:45 +02:00
README.md Improved py-machine-learning example. 2022-10-09 18:31:45 +02:00

examples

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

c-analysed

A feature extractor useful for ML/DL use cases. It generates CSV files from flow "analyse" events.

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.

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.

js-rt-analyzer

nDPId-rt-analyzer

py-flow-info

Prints prettyfied information about flow events.

py-machine-learning

Use sklearn together with CSVs created with c-analysed to train and predict DPI detections.

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.