forked from shaofis/Netflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
30 lines (30 loc) · 2.01 KB
/
package.json
File metadata and controls
30 lines (30 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
"name": "Netflow",
"version": "0.0.4",
"description": "Netflow parser for Node.js",
"author": {
"name": "Chris Jones",
"email": "chris@modse.net"
},
"licenses": [
{
"type": "MIT"
}
],
"repository":
{
"type": "git",
"url": "git://github.com/shaofis/Netflow.git"
},
"devDependencies": {},
"engines": {
"node": ">= 0.4.0"
},
"main": "./lib/netflow.js",
"readme": "Netflow\n=============\n\nIs a netflow parser for node.js\n\nInstallation\n============\n\nnpm install https://github.com/shaofis/Netflow/tarball/master\n\nBasic Example\n=============\n\n var NetFlowPacket = require('netflow')\n var dgram = require('dgram')\n\n var server = dgram.createSocket('udp4');\n server.on('message', function(msg, rinfo){\n var Packet = new NetFlowPacket(msg, rinfo.address);\n console.log(Packet)\n });\n server.bind(2055);\n\nStatus\n======\n\nV9 Appears to be working; needs more testing.\nI'm close on V10 but it isn't complete yet; I have been working with rfc5101 but I believe there is a newer version. \nFor now V10 is handled with a few exceptions based on changes from a newer rfc.\n \nI've changed NetFlowPacket to return an object including the header and 3 key arrays\n\n Flows[] mapped flows\n Templates[] received templates\n noTemplates[] flow information where we don't yet have a template for\n \nTemplates are sent so that you can store it semi permanantly so that on reload you can immediatly decode these flows.\nSince we can't decode a V9 or V10 packet until we have a template I've sent those packets back to the main app where you can decide if you want to queue it and decode it later or discard it.\n \nOrigin\n======\n\nThis is a fork of Node-Netflowd by Sharif Ghazzawi\nhttps://github.com/Sghazzawi/Node-Netflowd/\n",
"_id": "Netflow@0.0.3",
"dist": {
"shasum": "2f9949270f2201b14bc34e3764fda772653ca927"
},
"_from": "https://github.com/shaofis/Netflow/tarball/master"
}