美文网首页
centos7 网络调试

centos7 网络调试

作者: 苍老师的眼泪 | 来源:发表于2022-04-23 06:02 被阅读0次
// 安装 tcpdump 调试工具
yum install tcpdump

// 安装 net-tools 调试工具 
yum install net-tools

有了这个 tcpdump 后我们可以在服务器端抓包了:

tcpdump -i ens33 -S port 80 -c 10000
-i  : 网卡名称,可以通过 ifconfig 命令找到对应的网卡名称
-S: 使用绝对序列号
port: 监听的端口号
-c : 抓取数据包的数量  

相关文章

网友评论

      本文标题:centos7 网络调试

      本文链接:https://www.haomeiwen.com/subject/bowoertx.html