python-netflow-v9-softflowd icon indicating copy to clipboard operation
python-netflow-v9-softflowd copied to clipboard

IPFIX: implement support for variable length fields

Open mrx3000 opened this issue 4 years ago • 2 comments

Are there any plans to support IPFIX variable length field encoding?

mrx3000 avatar Apr 29 '21 19:04 mrx3000

Hi! The plan is to be as compliant to the spec as possible, so generally that's a yes. Due to time constraints, a focus is set on stability of the core functionality first, so there are features which have not yet been implemented.

If I understand correctly, we'd have to add the special value 65535 to the template fields length parser, and then add an additional routine for these variable length fields in the data records, examining their length carried in the Information Element content itself.

bitkeks avatar Jun 19 '21 06:06 bitkeks

Hey! This issue was occuring to me too so I typed up a speedy PR to add this feature to this implementation: https://github.com/bitkeks/python-netflow-v9-softflowd/pull/41 Feel free to review it

Problembeloeser avatar Sep 02 '22 09:09 Problembeloeser