testing

command
v0.9.3-0...-e3c37e7 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2019 License: BSD-3-Clause Imports: 12 Imported by: 0

README

Packet generation, sending and receiving

What it is

Parses config files, generates output and sends to file or port and counts them. Receives packets back and counts.

Command-line options:
  • --number sets the number of packets to get back and stop, default value is 10000000
  • --speed sets the speed of generator
  • --cycle sets cycle execution to generate infinite number of packets
  • --outConfig specifies config per port portNum or file: 'path', 'path3': 'path2'. For example: 1: 'ip4.json', 'mix.pcap': 'mix.json'
  • --inConfig specifies input ports and files: 'path', 'portNum2', 'path2'. For example: 1, 'ip4.pcap', 0, 'mix.pcap'
Example of usage:

To run generation from "mix.json" config to port number 1 and from "../../ip4tcp.json" to file "ip4tcp.pcap" and receive packets from port 0 and file "../../ip4tcp.pcap" run:

    ./sendGetBack --outConfig "1: 'mix.json', ip4tcp.pcap: '../../ip4tcp.json'" --inConfig "0, '../../ip4tcp.json'"

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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