{"action":"created","issue":{"url":"https://api.github.com/repos/delian/node-netflowv9/issues/4","labels_url":"https://api.github.com/repos/delian/node-netflowv9/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/delian/node-netflowv9/issues/4/comments","events_url":"https://api.github.com/repos/delian/node-netflowv9/issues/4/events","html_url":"https://github.com/delian/node-netflowv9/issues/4","id":50754427,"number":4,"title":"Netflow v9 Issue","user":{"login":"apocas","id":597413,"avatar_url":"https://avatars.githubusercontent.com/u/597413?v=3","gravatar_id":"","url":"https://api.github.com/users/apocas","html_url":"https://github.com/apocas","followers_url":"https://api.github.com/users/apocas/followers","following_url":"https://api.github.com/users/apocas/following{/other_user}","gists_url":"https://api.github.com/users/apocas/gists{/gist_id}","starred_url":"https://api.github.com/users/apocas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apocas/subscriptions","organizations_url":"https://api.github.com/users/apocas/orgs","repos_url":"https://api.github.com/users/apocas/repos","events_url":"https://api.github.com/users/apocas/events{/privacy}","received_events_url":"https://api.github.com/users/apocas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2014-12-03T00:42:11Z","updated_at":"2015-01-15T23:57:39Z","closed_at":null,"body":"I have a Cisco 7606, with Netflow v5 everything works well but with v9 I get this:\r\n\r\n  NetFlowV9 Unknown template/option data with flowset id 256 +1ms\r\n  NetFlowV9 Undecoded flows +0ms { header:\r\n   { version: 9,\r\n     count: 32,\r\n     uptime: 2440412596,\r\n     seconds: 1417567190,\r\n     sequence: 130285,\r\n     sourceId: 515 },\r\n  flows: [] }\r\n  NetFlowV9 compile template 257 +1ms\r\n  NetFlowV9 Unknown NF type 51 +1ms\r\n\r\nnode_modules/node-netflowv9/netflowv9.js:185\r\n                throw new Error('Unknown NF Type');\r\n\r\n\r\nAny idea?\r\n\r\nThanks,"},"comment":{"url":"https://api.github.com/repos/delian/node-netflowv9/issues/comments/70186130","html_url":"https://github.com/delian/node-netflowv9/issues/4#issuecomment-70186130","issue_url":"https://api.github.com/repos/delian/node-netflowv9/issues/4","id":70186130,"user":{"login":"lghamie","id":2054883,"avatar_url":"https://avatars.githubusercontent.com/u/2054883?v=3","gravatar_id":"","url":"https://api.github.com/users/lghamie","html_url":"https://github.com/lghamie","followers_url":"https://api.github.com/users/lghamie/followers","following_url":"https://api.github.com/users/lghamie/following{/other_user}","gists_url":"https://api.github.com/users/lghamie/gists{/gist_id}","starred_url":"https://api.github.com/users/lghamie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lghamie/subscriptions","organizations_url":"https://api.github.com/users/lghamie/orgs","repos_url":"https://api.github.com/users/lghamie/repos","events_url":"https://api.github.com/users/lghamie/events{/privacy}","received_events_url":"https://api.github.com/users/lghamie/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T23:57:39Z","updated_at":"2015-01-15T23:57:39Z","body":"That would be great, thanks!\r\nEl 15/01/2015 20:13, \"Delian Delchev\" <notifications@github.com> escribió:\r\n\r\n> No, it is basically the same.\r\n> All those follow the same specification, which at the end is defined as\r\n> IPFIX.\r\n> For all fields from 1 to 127, they keep the same as in netflow v9 to\r\n> preserve compatibility with Cisco.\r\n> Fields from 128+ are IPFIX fields and they are special. Some of them has\r\n> new types and new decoding, sometimes even is acceptable to be having\r\n> compression of the data field, which adds a certain level of complexity\r\n> and\r\n> this is why it was kind of left to be the last thing to add here in this\r\n> small package.\r\n> But some fields may be very easy to implement, and I could do it very\r\n> fast,\r\n> and if we are lucky it may be enough for the work with your flow source.\r\n>\r\n>\r\n> Delian\r\n>\r\n> On Thu, Jan 15, 2015 at 11:09 PM, Lucas Hamie <notifications@github.com>\r\n> wrote:\r\n>\r\n> > Well, that would be more than awesome.\r\n> >\r\n> > But i think that the problem could be because im using CFLOW, or it\r\n> doesnt\r\n> > matter?\r\n> > El 15/01/2015 19:55, \"Delian Delchev\" <notifications@github.com>\r\n> > escribió:\r\n> >\r\n> > > Ahh, I know what that is.\r\n> > >\r\n> > > NetFlow v9 defines NetFlow types bellow 200.\r\n> > > NetFlow types above that number belong to IPFIX (Netflow v10).\r\n> > > Type 234 is the type for the VRF table.\r\n> > > It is not a complex thing to add IPFIX and it is in my list. But I had\r\n> > > some\r\n> > > troubles getting structured and strict specification and I have no\r\n> where\r\n> > > to\r\n> > > test it. But give me some time until Monday, I can try to add all of\r\n> the\r\n> > > types I can easily find from IPFIX in this library for you. That\r\n> should\r\n> > be\r\n> > > something easy.\r\n> > >\r\n> > >\r\n> > > Delian\r\n> > >\r\n> > > On Thu, Jan 15, 2015 at 9:52 PM, Lucas Hamie <notifications@github.com>\r\n>\r\n> > > wrote:\r\n> > >\r\n> > > > Same problem here, i keep getting:\r\n> > > >\r\n> > > > NetFlowV9 Undecoded flows +0ms { header:\r\n> > > > { version: 9,\r\n> > > > count: 67,\r\n> > > > uptime: 775141043,\r\n> > > > seconds: 1400237403,\r\n> > > > sequence: 2421693,\r\n> > > > sourceId: 1677787446 },\r\n> > > > flows: [] }\r\n> > > > NetFlowV9 compile template 256 +5ms\r\n> > > >\r\n> > > > Untill i get:\r\n> > > >\r\n> > > > NetFlowV9 Unknown NF type 234 +0ms\r\n> > > > /netflowv9.js:185\r\n> > > > throw new Error('Unknown NF Type');\r\n> > > >\r\n> > > > And that happens when I get the first template definition.\r\n> > > >\r\n> > > > Thanks for the help!\r\n> > > >\r\n> > > > —\r\n> > > > Reply to this email directly or view it on GitHub\r\n> > > > <\r\n> > https://github.com/delian/node-netflowv9/issues/4#issuecomment-70169122>.\r\n>\r\n> > >\r\n> > > >\r\n> > >\r\n> > > —\r\n> > > Reply to this email directly or view it on GitHub\r\n> > > <\r\n> https://github.com/delian/node-netflowv9/issues/4#issuecomment-70178570>.\r\n> >\r\n> > >\r\n> >\r\n> > —\r\n> > Reply to this email directly or view it on GitHub\r\n> > <https://github.com/delian/node-netflowv9/issues/4#issuecomment-70180420>.\r\n>\r\n> >\r\n>\r\n> —\r\n> Reply to this email directly or view it on GitHub\r\n> <https://github.com/delian/node-netflowv9/issues/4#issuecomment-70180963>.\r\n>"}}