码迷,mamicode.com
首页 > 其他好文 > 详细

tcpdump

时间:2016-10-27 23:12:11      阅读:196      评论:0      收藏:0      [点我收藏+]

标签:span   data   his   this   min   protoc   when   its   ges   

 $tcpdump -i eth0 -s 0 -c 100

-s表示每个包特定长度, -s 0表示整个包(65535B)

-c表示多少个包

-A Print each packet (minus its link level header) in ASCII. Handy
for capturing web pages.

-X When parsing and printing, in addition to printing the headers
of each packet, print the data of each packet (minus its link
level header) in hex and ASCII. This is very handy for
analysing new protocols.

tcpdump

标签:span   data   his   this   min   protoc   when   its   ges   

原文地址:http://www.cnblogs.com/guxuanqing/p/6005690.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!