- Wireshark Revealed:Essential Skills for IT Professionals
- James H Baxter Yoram Orzach Charit Mishra
- 197字
- 2021-07-02 21:22:37
Capturing traffic with Dumpcap
The dumpcap.exe
file is the executable that Wireshark actually runs under the covers to capture packets and save them to a trace file in libpcap format. You can run Dumpcap on the command line to circumvent using the Wireshark GUI and use fewer resources. A list of command-line options is available by typing dumpcap.exe -h
.
Some of the most useful options are as follows:
-D
: This prints a list of available interfaces and exits-i <interface>
: This specifies a name or index number of an interface to capture on-f <capture filter>
: This applies a capture filter in the Berkeley Packet Filter (BPF) syntax-b filesize
: This is the file size-w <outfile>
: This is the name of the file where the files will be saved
An example of viewing a list of interfaces and then running Dumpcap to capture a specific interface with an IP address capture filter (note the use of quotes around the filter syntax) configured to use a three-file ring buffer with file sizes of 100 MB and an output filename derived from capture.pcap
is illustrated in the following screenshot:

You can get more information on Dumpcap options at https://www.wireshark.org/docs/man-pages/dumpcap.html.
- 電氣自動化專業英語(第3版)
- Microsoft Dynamics CRM Customization Essentials
- 反饋系統:多學科視角(原書第2版)
- 小型電動機實用設計手冊
- 數據挖掘方法及天體光譜挖掘技術
- TensorFlow Reinforcement Learning Quick Start Guide
- Unity Multiplayer Games
- Linux Shell Scripting Cookbook(Third Edition)
- Serverless Design Patterns and Best Practices
- WPF專業編程指南
- 基于元胞自動機的人群疏散系統建模與分析
- Eclipse RCP應用系統開發方法與實戰
- 軟測之魂
- Practical Network Automation
- Flash CS3動畫制作