Open ekfoury opened 3 years ago
Hello, Do you have a packet capture? There might be an issue if it's using Enterprise format (listed in #31).
Hello lspgn,
Attached is a pcap sample. I can see the IPFIX flows in wireshark, but nothing is appearing in goflow.
Thanks for your help.
Could you give me the CLI arguments you are passing?
I am starting goflow like this: sudo docker run --net=host -ti cloudflare/goflow:latest -kafka=false
And configuring the exporter on ovs like this: sudo ovs-vsctl -- set Bridge s1 ipfix=@if -- --id=@if create IPFIX targets=\"127.0.0.1:2055\" sampling=64
After looking at the pcap, I noticed there are custom Enterprise fields in the templates. Unfortunately, this is issue #31 and the templates aren't properly decoded. If you can change the template that OVS is sending or change to NetFlow v9, it should collect without issues.
I am currently working on a fix and hope to have something in the coming days (after some freeze).
Gotcha! thanks for the help. I will just use NetFlow v9 for now. I will keep an eye on issue #31 for the future. Thanks.
FWIW here's a descriptive XML from ovs: https://github.com/openvswitch/ovs/blob/master/ofproto/ipfix.xml I'm trying to understand, for this issue with ovs to be fixed (ie. Enterprise format not being supported with goflow and breaking the decoder), am I right to assume that the work could be split in two parts:
1.
can be done and would fix goflow when receiving the common IPFIX fields, though ignoring the custom ones. Am I understanding correctly?
I could make it work "partially" with ovs, standard fields are now recognized and collected ; there's not only the enterprise number parsing missing, but also variable length fields [1] such as string that are not supported currently in goflow. I can submit a fix after cleaning my work.
[1] cf https://datatracker.ietf.org/doc/html/rfc7011#section-7
Hello everyone,
I would like to ask if anyone was able to use the openvswitch IPFIX with goflow. I tried openvswitch/goflow with sFlow and NetFlow, and both work great. With IPFIX, nothing is shown on the collector.
Has anyone experienced the same issue?
Thanks.