Traffic Simulator

HTTP and DNS traffic generator

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 .