tcpcopy介绍:http://www.searchtb.com/2012/05/using-tcpcopy-to-simulate-traffic.html
软件下载地址:https://github.com/wangbin579/tcpcopy/downloads
安装:
tar
-zxvf tcpcopy-0.6.5 .
tar
.gz
cd
tcpcopy-0.6.5
.
/configure --prefix=/home/test
make
make
install
#modprobe
ip_queue
#iptables -I
OUTPUT -p tcp --sport <port> -j QUEUE
#intercept
&
原文:http://www.cnblogs.com/hgxing/p/3567470.html