Skip to content

QXIP/node-ndpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

NodeJS Native Binding for the nDPI Deep Packet Inspection Library

Usage

const ndpi = require('node-ndpi');
Initialize
ndpi.init();
Set Callback
var myCallback = function(id,p){ console.log(id) };
ndpi.addProtocolHandler(myCallback); 
Push Packets
ndpi.processPacket(header, packet.buf);
Close
ndpi.finish();

Status

  • In Development!
  • Testers & Contributors Welcome
(C) 2018 QXIP BV, LICENSED UNDER GPLv3