cloudflare / goflow

The high-scalability sFlow/NetFlow/IPFIX collector used internally at Cloudflare.
BSD 3-Clause "New" or "Revised" License
859 stars 172 forks source link

Empty data with IPFIX #74

Closed sjbarrio closed 4 years ago

sjbarrio commented 4 years ago

When I receive Data Template, goflow seems to decode messages, but if I print the record I get a empty array of bytes [].

sjbarrio commented 4 years ago

I discovered that it happens when you have a Data Template with variable length fields, Goflow doesn't contemplate that case (if length is #FF the length field is variable).

sjbarrio commented 4 years ago

Close that and reopen a new issue.