A simple tool for putting realistic Layer 4/7 load on your own infrastructure to see how it (and any DDoS mitigation in front of it) holds up. HTTP, TCP, UDP, packet-rate, and Minecraft Java protocol workloads, driven from a CLI or a local web GUI.
Two guardrails:
allowlist.txtandport-allowlist.txt. Every module checks its target IP and destination port against plain-text allowlists before sending anything; an unlisted destination or port is refused. There is no IP spoofing, reflection, amplification, or arbitrary-destination path — the modules use connected sockets and send direct, non-spoofed traffic only. Seedocs/safety.md.
go build -o bin/gui.exe ./apps/gui
bin\gui.exe # loads both allowlist files, serves http://localhost:8090Open http://localhost:8090 , pick a module and rate, press Start. Or use the CLI:
go build -o bin/worker.exe ./apps/worker
bin\worker.exe -scenario scenarios/edge-capacity-test.yaml -host 127.0.0.1 -port 8088 -module httpEdit allowlist.txt to list the targets you're allowed to hit and
port-allowlist.txt to list their permitted ports. Port entries may
be a single port (443) or an inclusive range (8000-8100). If you omit -port, the
worker runs the bounded scenario once for every allowed port, expanding ranges inclusively.
- Confirm the target is a host you own or have explicit permission to test, and use a
fixed IP or narrow CIDR in
allowlist.txt(not a broad public range) plus only the needed ports or narrow port ranges inport-allowlist.txt. - Start with
scenarios/smoke.yamland observe application, network, and OVH mitigation telemetry before raising the load. Run one workload at a time. - Keep an out-of-band management path available and verify the GUI KILL button or Ctrl-C stops the run before proceeding.
- This runner enforces conservative per-run caps: 100 Mbps, 10,000 PPS, 2,000 concurrent connections, 1,000 RPS, and five minutes. Its packet module also requires an active egress firewall and an explicit confirmation flag.
- For Minecraft, select the journey (
status,login, orplay), set pass/fail criteria, and compare each bounded window with VPS, TPS/GC, proxy, database, and log telemetry. Seedocs/minecraft-capacity-testing.md. - For Layer 3, use an authorized UDP echo responder to measure loss, and compare each
bounded window against NIC, softirq, conntrack, and edge telemetry. See
docs/layer3-capacity-testing.md.
allowlist.txt destination IP/CIDR guardrail
port-allowlist.txt destination port/range guardrail
apps/
gui/ local web UI (single self-contained Go binary)
worker/ CLI load runner
controller/ optional metrics + kill-switch endpoint
dashboard/ React + Vite dashboard (scaffold)
internal/
allowlist/ the CIDR allowlist check
portlist/ the destination port/range allowlist check
workloads/ traffic modules: http, tcp, udp, packet, minecraft
scenarios/ declarative scenario format + phase/intensity engine
ratelimit/ token-bucket pacing
safety/ runaway guard (max lifetime) + kill switch
scheduler/ regional weighting (for multi-runner use)
reports/ failure-threshold analysis (Max Sustainable Load, etc.)
probe/ baseline "legitimate user" probe
telemetry/ Prometheus metrics
monitoring/ prometheus + grafana config (optional stack)
scenarios/ example scenarios
deployments/ Dockerfiles + optional compose stack
docs/ architecture, safety, development
- Traffic modules: HTTP, TCP, UDP, packet-rate, Minecraft Java (bounded, connected-socket, no spoofing)
- IP and port allowlist guardrails (
internal/allowlist,internal/portlist) - Scenario engine, rate pacing, runaway guard + kill switch
- Local GUI + CLI runner
- Failure-threshold analysis, baseline probe, regional scheduler (library code)
- Prometheus/Grafana wiring (optional)
- Remaining modules: WebSocket, iperf3/k6 drivers
- React dashboard (scaffold only)
Requires Go 1.25+.
make build # gui, worker, controller
make test # unit + integration tests
make up # optional: grafana/prometheus stackSee docs/development.md.