Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 1017 Bytes

README.md

File metadata and controls

34 lines (27 loc) · 1017 Bytes

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