- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
(wireshark)dumpcapandmergecp详细介绍剖析
Wireshark自带小工具dumpcap And mergecap功能及使用方法介绍;Dumpcap介绍;简单介绍dumpcap的使用方法:;示例1:利用dumpcap抓取网卡Intel(R) 82567LM-3 Gigabit Network Connection 上的封包并保存到E:\test目录下 包名称为1.cap;示例1里面的关于网卡接口的问题,还有更方便的方法,如下图:
-D 打印目前机器上的网卡信息的每块网卡会打印出序号和接口名,抓包的时候直接输入网卡的序号就可以了,这样就不用输入 一长串接口名。
;示例2:利用dumpcap抓取网卡Intel(R) 82567LM-3 Gigabit Network Connection 上的封包并保存到E:\test目录下 包名称为2.cap ,每隔100M切档;示例3:利用dumpcap抓取网卡Intel(R) 82567LM-3 Gigabit Network Connection 上网段的封包并保存到E:\test目录下命名为sef.cap;Dumpcap参数列表;抓包过滤规则简单介绍此工具抓包的过滤规则跟wireshrak是相同的,下面列举一些规则,可以自己搭配dumpcap练习操作;Dumpcap更多知识参考连接:
/docs/mans/dumpcap.html
/docs/wsug_html_chunked/AppToolsdumpcap.html
/blog/2011/mar/9/long-term-traffic-capture-wireshark/
/KnownBugs/OutOfMemory;Mergecap介绍;合并封包工具mergecap的使用方法;示例1:将文件存在于E:\test目录下的sop009.cap 跟sop010合并成一个文件并命名为2.cap;The following is an example of using mergecap to merge four capture files (capture1, capture2,capture3, and capture4) into a single output file called merge_file regardless of packet timestamp,it will write all of the packets of capture1, followed by capture 2, and so on:;
-a Causes the frame timestamps to be ignored, writing all packets from the first input file followed by all packets from the second input file. By default, when -a is not specified, the contents of the input files are merged in chronological order based on each frames timestamp.Note: when merging, mergecap assumes that packets within a capture file are already in chronological order.
-F file format Sets the file format of the output capture file. Mergecap can write the file in several formats; mergecap -F provides a list of the available output formats. The default is to use the file format of the first input file.
-h Prints the version and options and exits.
-v Causes mergecap to print a number of messages while its working.
-w outfile|- Sets the output filename. If the name is -, stdout will be used. This setting is mandatory.
;参考连接:
/wireshark/1.0.0/user-guide/AppToolsmergecap.html
/book/networking/network-monitoring/1932
文档评论(0)