Elastiflow Showing Incorrect Sources?
I am seeing flows from source IPs of 0.0.2.55, 0.0.0.0, etc and so on.
What is causing these flows? These are invalid addresses.
https://imgur.com/a/9cLnw4F
I've exported to other NetFlow collectors, and never seen these issues.
I am using ElastiFlow verison 3.5.3, Dockerized version.
Thanks

Hi @bdpost,
Would you be able to provide a PCAP file from when these ip addresses show up? I'd be happy to take a look and see if I can find the issue. You can send the PCAP directly to [email protected] if you'd prefer not to post here.
Regards,
I work for VyoPath a provider of services for ElastiFlow™
@bdpost please review the first item discussed in KNOWN_ISSUES.md
PRs have been submitted for the Logstash UDP input and Netflow codec, but they are waiting on Elastic to merge into shipping code.
@robcowart Thanks for the info. I saw the workaround. But, it didn't make sense what it was trying to do. Would you be able to shed any light on this?
VyoPath
@natemccallum Hey, so these IPs don't actually exist. These are invalid addresses in the 0.0.0.0/8 space.
Basically you need multiple listener instances so that you can send flows from conflicting devices to different listeners. Sticking Redis in there (you could also use something like Kafka), let's you keep the listeners lightweight while sharing the rest of the processing chain.
BTW, the VyoPath guys are pretty good if you need an help with this.
Can this be added easily to a docker?
@natemccallum Hey, so these IPs don't actually exist. These are invalid addresses in the 0.0.0.0/8 space.
My apologies if I wasn't clear. My request was for a PCAP during the time when these invalid ip addresses show up in the system. I realize they are invalid addresses and they themselves will not be in the PCAP however the data that created them within ElastiFlow should be. As Rob mentioned there is likely an issue with overlapping templates and the wrong template being used when decoding these flow records. Therefore with a PCAP that contains the overlapping templates and data records we should be able to reproduce the behavior and identify both/all devices with overlapping template records.
For docker: you should be able to create another instance of the logstash container in the docker-compose file with a different name and container name. Use different port numbers in the config. You may notice port already in use messages due to some environment variables not being included in the default docker-compose. i.e. add and entry for ELASTIFLOW_IPFIX_UDP_IPV4_PORT as two listeners (UDP and TCP) get spun up for IPFIX. Then point the flow data from the exporter that the invalid ip addresses are associated with to the new port number. You should be able to filter the UI for one of the invalid ip addresses and then see which exporter ElastiFlow thinks sent that ip. This will be one of the exporters that is affected by the overlapping templates and therefore should be pointed to a different elastiflow.
Breaking the pipeline apart to include redis or kafka is also doable but more involved than creating multiple instances.
Hope this helps.
Is this still an issue with the release of 4.x? I did not see mention of it in the change-log
Yes. This is still an issue. Unfortunately Elastic decided against the fixes that were submitted. The solution will be the all new collector which is nearing completion, and which will completely remove Logstash from the solution.
@bdpost and @Hank45 The all-new ElastiFlow Unified Flow Collector properly handles templates from separate devices and observation domains. As Elastic have indicated that this will not be fixed in Logstash, it is recommended that you try out the beta of this new collector. Besides addressing this issue, you will get much better performance and many new features. For more information and as well as a link to join the ElastiFlow Community Slack please go... HERE