nflow-generator

command module
v0.0.0-...-0469202 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2015 License: Apache-2.0 Imports: 9 Imported by: 0

README

Usage

Docker Image Run (Easiest)

Simply run in a container and pass any arguments at runtime. Below is an example passing the --help flag:

docker run -it --rm networkstatic/nflow-generator --help

To generate mock flow data simply add the target IP and port:

docker run -it --rm networkstatic/nflow-generator -t <ip> -p <port>

Build

Install Go

git clone https://github.com/nerdalert/nflow-generator.git
cd <dir>
go build

Go build will leave a binary in the root directory that can be run.

RUN

Feed it the target collector and port:

./nflow-generator -t <ip> -p <port>

Or:

go run nflow-generator.go nflow_logger.go nflow_data.go  -t 172.16.86.138 -p 9995

Documentation

Overview

Run using: go run nflow-generator.go nflow_logging.go nflow_payload.go -t 172.16.86.138 -p 9995 Or: go build ./nflow-generator -t <ip> -p <port>

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL