A network traffic dump tool.
# To display available interfaces:
dumpcap --list-interfaces
# To capture packets on a specific interface:
dumpcap --interface <1>
# To capture packets to a specific location:
dumpcap --interface <1> -w <path/to/output_file.pcapng>
# To write to a ring buffer with a specific max file limit of a specific size:
dumpcap --interface <1> -w <path/to/output_file.pcapng> --ring-buffer filesize:<500000> --ring-buffer files:<10>