Netflow is a NetFlow (http://en.wikipedia.org/wiki/NetFlow)
collector/sink/listener for Node.js. Installation is as simple as "npm
install Netflow". The following code will listen for NetFlow packets on
port 2055, and log the NetFlow data to the screen.
It currently only supports NetFlow V5, but support for NetFlow V9 is in the
works.
Any feedback, feature requests or bug reports is/are greatly appreciated.
var Collector=require("Netflow");
var x = new Collector(function (err) {
if(err != null) {
console.log("ERROR ERROR \n"+err);
}
})
.on("listening",function() { console.log("listening"); } )
.on("packet",function(packet) { console.log(packet); } )
.listen(2055);
Very Respectfully,
Sharif Ghazzawi
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en