Skip to content

AviatrixDev/manflow

This branch is 2 commits ahead of nerdalert/nflow-generator:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1f77822 · Jul 31, 2023

History

30 Commits
Aug 31, 2021
Jul 30, 2023
Jul 30, 2023
Mar 3, 2015
Jul 30, 2023
Jul 31, 2023
Jul 30, 2023
Jul 30, 2023
Jul 31, 2023
Jul 31, 2023
Jul 31, 2023
Jul 30, 2023
Jul 30, 2023
Jul 31, 2023
Feb 20, 2022
Jul 30, 2023
Jul 30, 2023
Jul 30, 2023
Jul 30, 2023
Jul 30, 2023
Jul 30, 2023

Repository files navigation

manflow

Netflow generator

Documentation: https://aviatrix.atlassian.net/wiki/spaces/copconf/pages/1913815177/manflow+netflow+generator

Usage

Using following flowConfig.json file:

{
  "seed": 1,
  "flow_timeout": 10,
  "collector_ip": "10.0.0.11",
  "collector_port": 31283,
  "hosts": [
    {
      "ip": "10.0.0.103",
      "name": "gw1"
    }
  ],
  "flows": [
    {
      "src_addr": "10.14.0.0",
      "dst_addr": "10.0.1.0",
      "dst_port": "80",
      "hops": ["gw1"],
      "count": 1
    }
  ]
}

Run following commands

go build # one time
./manflow -i gw1

Command-line arguments:

  • -i - host name of one of the hosts in flowConfig.json file
  • -l - disable flow-level logging

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.4%
  • Dockerfile 0.6%