dumpcap
A network traffic dump tool. tldr-pages
On several platforms
Several platforms
Display available interfaces
dumpcap --list-interfacesIdentifyCapture packets on a specific interface
dumpcap --interface 1IdentifyCapture packets to a specific location
dumpcap --interface 1 -w path/to/output_file.pcapngIdentifyWrite 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:10Identify