官术网_书友最值得收藏!

Capturing traffic with Tshark

Tshark can be used to capture network packets and/or display data from the capture or a previously saved packet trace file; packets can be displayed on the screen or saved to a new trace file.

The same syntax used to perform a basic capture using Dumpcap will work with Tshark as well, so we won't repeat that here. However, Tshark offers a very wide range of additional features, with a corresponding large number of command-line options that can, as in all Wireshark utilities, be viewed by typing tshark –h in the command prompt.

A number of Tshark options are to view statistics; an example of the command syntax and statistical results from a capture (after pressing Ctrl + C to end the capture) is illustrated in the following screenshot:

You will find an extensive number of details and examples on using statistics and other Tshark options at https://www.wireshark.org/docs/man-pages/tshark.html.

主站蜘蛛池模板: 墨竹工卡县| 隆安县| 阿拉尔市| 乌兰察布市| 杨浦区| 庐江县| 酒泉市| 老河口市| 长顺县| 镇平县| 双桥区| 江门市| 丰宁| 汤原县| 瑞丽市| 济阳县| 永济市| 合阳县| 富阳市| 禄丰县| 包头市| 故城县| 饶阳县| 同心县| 宜兴市| 天祝| 鹿泉市| 镶黄旗| 吉水县| 革吉县| 永顺县| 武宁县| 民权县| 婺源县| 建水县| 韶关市| 丽江市| 泗水县| 天全县| 凤城市| 黄梅县|