/gostresser

Easy and Fast TCP/UDP connection stresser using Goroutine workers

Primary LanguageGoGNU General Public License v3.0GPL-3.0

gostresser

Easy and Fast TCP/UDP connection stresser using Goroutines workers

Usage:

Usage example:

./gostresser <hostname> <port> <protocol> <seconds> <num_workers>
./gostresser example.com 80 tcp 120 15


Quickstart:

git clone https://github.com/fnzv/gostresser && cd gostresser && go build gostresser.go

asciicast



TODO/Wish list:

  • Support different protocols (L1 to L7) - Partially Done with ports/proto
  • Use all CPU with workers - Need to stress test more goroutines
  • Proxy connections thru SOCKS proxies (TOR,system proxy ecc.. or pass external proxy list) - use golang.org/x/net/proxy?
  • Custom/Autogenerated UserAgents
  • Simulate User Activity on HTTP stress tests (Crawl pages and open links..)
  • Distributed Stresser on multiple instances or devices

Tested on:

  • Ubuntu 14/16 - go1.8.3 linux/amd64 (to avoid OS limits --> ulimit -n 1000000)