CentOS 安裝tcpreplay
yum install epel-release
yum install tcpreplay
tcpprep -a client -i a.pcap -o a.cache
回放報文a.pcap
tcpreplay -p 2 -l 600 -c a.cache -i eth7 -I eth7 a.pcap
-p 每秒發送包數
-l 要發送的總包數
a.cache 是存放緩存的么?
-i 指定Client to server/RX/primary traffic output interface
-I 指定Server to client/TX/secondary traffic output interface
a.pcap文件是要回放的報文
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。