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
Install Go, then:
git clone https://github.com/netobserv/nflow-generator
cd nflow-generator
go build
Feed it the target collector and port, and optional "false-index" flag:
./nflow-generator -t <ip> -p <port> [ -f | --false-index ]
Use -h
option to get all applications options and usage examples:
./nflow-generator -h
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