Options (3)
-D, --list-interfacesbooleanDisplay available interfaces
Example:
dumpcap {{[-D|--list-interfaces]}}-i, --interfacebooleanCapture packets on a specific interface
Example:
dumpcap {{[-i|--interface]}} {{1}}-b, --ring-bufferbooleanWrite to a ring buffer with a specific max file limit of a specific size
Example:
dumpcap {{[-i|--interface]}} {{1}} -w {{path/to/output_file.pcapng}} {{[-b|--ring-buffer]}} filesize:{{500000}} {{[-b|--ring-buffer]}} files:{{10}}Examples (4)
Display available interfaces
dumpcap [-D|--list-interfaces]Capture packets on a specific interface
dumpcap [-i|--interface] 1Capture packets to a specific location
dumpcap [-i|--interface] 1 -w path/to/output_file.pcapngWrite to a ring buffer with a specific max file limit of a specific size
dumpcap [-i|--interface] 1 -w path/to/output_file.pcapng [-b|--ring-buffer] filesize:500000 [-b|--ring-buffer] files:10made by @shridhargupta | data from tldr-pages