commands.sh

dumpcap

all

A network traffic dump tool.

More info →

Options (3)

-D, --list-interfacesboolean

Display available interfaces

Example: dumpcap {{[-D|--list-interfaces]}}
-i, --interfaceboolean

Capture packets on a specific interface

Example: dumpcap {{[-i|--interface]}} {{1}}
-b, --ring-bufferboolean

Write 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] 1

Capture packets to a specific location

dumpcap [-i|--interface] 1 -w path/to/output_file.pcapng

Write 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:10
made by @shridhargupta | data from tldr-pages