Skip to content

v9 collector #5

@somecallmemike

Description

@somecallmemike

Hi, when I collect v9 flows I am seeing duplicate v9Flowsets flowdata when the count is larger than 1:

{ header:
{ version: 9,
count: 2,
sys_uptime: 4076090536,
unix_secs: 1371840979,
package_seqence: 66436,
source_id: 0 },
v9Flowsets:
[ { flowset_id: 256,
length: 100,
flowdata: <Buffer f2 f3 ce 20 f2 f3 ce 20 00 00 00 2a 00 00 00 01 00 03 00 00 40 21 81 ba 40 21 82 6a 06 00 e5 e9 00 17 00 00 00 00 00 00 00 00 18 00 00 00 00 00 f2 f3 ed ...> },
{ flowset_id: 256,
length: 100,
flowdata: <Buffer f2 f3 ce 20 f2 f3 ce 20 00 00 00 2a 00 00 00 01 00 03 00 00 40 21 81 ba 40 21 82 6a 06 00 e5 e9 00 17 00 00 00 00 00 00 00 00 18 00 00 00 00 00 f2 f3 ed ...> } ] }

I am not really sure, but the two flowdata values should be different no?

I also noticed on line 75 of NetFlowPacket.js 'sequence' is misspelled:

this.header['package_seqence']=msgBuffer.readUInt32BE(12);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions