如何安装rpm软件包
rpm软件包的安装可以使用程序rpm来完成。执行下面的命令:
下载地址:
tcpdump-3.8.2-1tr.i586.rpm-网络攻防其他资源-优快云下载
rpm -ivh tcpdump-3.8.2-1tr.i586.rpm
抓包命令
tcpdump -s 0 -i eth0 -w a.pcap
抓包命令
tcpdump -s 0 -i eth0 -w a.pcap
抓取指定网卡指定IP地址的包
抓取网卡eth1 发送端IP为100.66.18.253的包
tcpdump -i eth1 host 100.66.18.253
yum源安装tcpdump包
yum install tcpdump
查看region的安全组问题
service iptables status
不指定网卡方式抓包
tcpdump -s 0 -i any host 192.168.29.111 -w 111.pcap
指定超时模式抓包
timeout 60 tcpdump -s 0 -i any host oapi.dingtalk.com -w ff.pcap
这个方法解决
wireshark报错:
The capture file appears to have been cut short in the middle of a packet.