项目作者: opennms-forge

项目描述 :
Experimental netflow v5 generator for testing flow analysis engines
高级语言: Java
项目地址: git://github.com/opennms-forge/opennms-riptide.git
创建时间: 2018-10-31T15:02:43Z
项目社区:https://github.com/opennms-forge/opennms-riptide

开源协议:GNU General Public License v3.0

下载


Riptide - Netflow v5 generator

Riptide generates Netflow v5 packets for simulated TCP sessions.

Compile and Install

Run the following command to build the tool:

  1. mvn package

Usage

To start, the following command can be used:

  1. java -Dorg.slf4j.simpleLogger.defaultLogLevel=debug \
  2. -jar target/org.opennms.riptide-1.0-SNAPSHOT-jar-with-dependencies.jar \
  3. test.yaml \
  4. 1.2.3.4:1234

The following options and arguments are allowed:

FILE
: The file containing the TCP session definition

HOST:PORT
: Host and port of the Netflow receiver - can be specified multiple times

-flush-interval SECS
: The interval used to flush out Netflow packets

-dry-run
: Do not send Packets

-source HOST:PORT
: Spoofs the source address of the Netflow packets

Source address spoofing

To spoof the source address of outgoing Netflow packets, RockSaw must be installed.
After building RockSaw from source, the following Parameter must be added to the java call:

  1. -Djava.library.path=/path/to/resulting/library

In addition, the tool must be run as root user.

TCP Session Definition

The simulated TCP session is described by a yaml file.
See test.yaml for an example.