This module will open a bunch of connections to a given multiaddr, and hang them. It is meant to stress test your network listeners.
go get github.com/jbenet/hang-fds
# open 2048 connections to /ip4/127.0.0.1/tcp/8080
hang-fds 2048 /ip4/127.0.0.1/tcp/8080
There is a test listener in the test_server directory.
# accept any connections and hang them
> test-server /ip4/0.0.0.0/tcp/1234
MIT