Skip to content

NetFlow Generator for Testing Flow Collection Apps

License

Notifications You must be signed in to change notification settings

netobserv/nflow-generator

 
 

Repository files navigation

Usage - nflow-generator

This program generates mock netflow (v5/v10) data that can be used to test netflow collectors. This is a fork from nflow-generator with implementation of ipfix from ipfix-gen and vflow

Build

Install Go, then:

git clone https://github.com/netobserv/nflow-generator
cd nflow-generator
go build

Run

Feed it the target collector and port, and optional "false-index" flag:

./nflow-generator -t <ip> -p <port> [ -f | --false-index ]

Help

Use -h option to get all applications options and usage examples:

./nflow-generator -h

Deploy on Kubernetes

Edit file netflow_generator.yaml <collector_ip> and <collector_port>. Add extra parameters if needed (ips for example)

Then run:

kubectl apply -f examples/netflow_generator.yaml

About

NetFlow Generator for Testing Flow Collection Apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.7%
  • Dockerfile 0.3%