tcpreplay发包

双机要用交叉线连接
攻击机:
查看发包网卡名称。
tcpreplay -i eth2 -x 500 -l0 -K /root/50.cap
收包机器
进入/root/check
查看收包网卡
执行./check eth0
gxb:~/check # ./check eth0
DEV = eth0
hPcap = 134648320Cur
flux 1560 Kbps,     Max flux 1560 Kbps       2461 Packets/s ,       2461 MaxPackets/s
MAC: Bytes IP(99%) OTHER(0%)
IP:  Bytes TCP(96%) UDP(3%) OTHER(0%)
APPS: Bytes HTTP(69%) SMTP(0%) POP3(0%) FTP(0%) TELNET(0%) HTTPS(5%) MSN(3%) QQ(0%) OTHER(20%)
Capture 2461 packets. Drop 0 packets.

本文出自 “胖哥学习博客” 博客,转载请与作者联系!

你可能感兴趣的:(职场,休闲,tcpreplay)