Last active
December 3, 2016 18:11
-
-
Save ytakano/ab921bd1443d25a15abb303bebb21e3d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!#/bin/sh | |
for i in `seq 0 15` | |
do | |
PORT=`expr $i + 10000` | |
echo socat TCP-LISTEN:$PORT,reuseaddr,fork UNIX-CLIENT:/tmp/sf-tap/tcp/http$i | |
socat TCP-LISTEN:$PORT,reuseaddr,fork UNIX-CLIENT:/tmp/sf-tap/tcp/http$i | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment