traffic-simulator

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

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

Go to latest
Published: Jun 4, 2026 License: MIT Imports: 27 Imported by: 0

README

Traffic Simulator

Build Status Go Report Card

HTTP and DNS traffic generator

w000t!

Usage

# Default: TUI mode with 10 clients, 10 requests each
./traffic-simulator

# Custom configuration
./traffic-simulator -clients 5 -requests 20 -wait 500

# DNS mode
./traffic-simulator -type dns

# Plain text output
./traffic-simulator -plain
Flags
  -clients int
      number of clients making requests (default 10)
  -requests int
      number of requests to be made by each clients (default 10)
  -seed int
      seed for the random (default: current timestamp)
  -timeout int
      HTTP timeout in seconds (default 3)
  -followRedirect
      follow http redirects or not (default true)
  -type string
      type of requests http/dns (default "http")
  -urlSource string
      optional filepath where to find the URLs
  -wait int
      milliseconds to wait between each requests (default 1000)
  -plain
      use a simplified output (default false)

Building

go build -o traffic-simulator .

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