例如tcpdump -X -s1600  -i eth1 dst port 20072 -wdump.dat
特别注意-s的使用,不使用该参数,则只会接收默认大小的一个数据包,我机器上是42b

得到的数据包可以通过Ethereal软件查看详细包结构和内容。

很好用!

相关文章:

猜你喜欢
  • 2021-07-17
  • 2021-07-19
  • 2021-12-04
  • 2022-12-23
  • 2021-12-21
相关资源
相似解决方案