QXIP / ndpi-beat

NodeJS nDPI (Deep Packet Inspection) "Beat" for Elasticsearch :8ball:

Home Page:http://qxip.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nDPI Beat

NodeJS + nDPI FFI Bindings + Elasticsearch Bulk Exporter

This experimental, unoptimized, proof-of-concept application implements a "Beat-like" Elasticsearch Bulk shipper, feeding on nDPI protocol detections from a live capture socket as source. Do NOT use for any purpose other than crashing a thread.

What is nDPI ?

nDPI is an open source LGPLv3 library for deep-packet inspection. Based on OpenDPI it includes ntop extensions. We have tried to push them into the OpenDPI source tree but nobody answered emails so we have decided to create our own source tree

Install & Run

npm install
npm run mkndpi
npm start

Protocol Usage

Protocol Relations

Example Doc

{
  "_index": "ndpi-2017.07.16",
  "_type": "ndpi",
  "_id": "AV1Mf5Wbqfm0n-9A-lsL",
  "_score": null,
  "_source": {
    "l7_protocol": "HTTP",
    "tsl_protocol": "tcp",
    "saddr": {
      "addr": "10.0.0.2"
    },
    "daddr": {
      "addr": "10.0.0.1"
    },
    "sport": 19200,
    "dport": 48630,
    "psize": 1402,
    "ts": "2017-07-16T17:43:35.579Z"
  }
}
(C) QXIP BV, http://qxip.net

About

NodeJS nDPI (Deep Packet Inspection) "Beat" for Elasticsearch :8ball:

http://qxip.net

License:Apache License 2.0


Languages

Language:C 70.8%Language:JavaScript 27.6%Language:Makefile 0.9%Language:Shell 0.7%