Rotate capture files Rotate capture files To rotate capture files, “-C file_size “ (the unit is MB , i.e., 1,000,000 Bytes) option can be used to set the size of rotation file...
Save packets into file Save packets into file “-w file “ option is used to save capture packets into a file instead of printing them in standard output: # tcpdump -w enp0s3....
Print link level header Print link level header “-e “ option can be used to print link level header, e.g., MAC address. Compare the output without & with “-e “: # tcpdump ...
Specify network interfaces Specify network interfaces “-D/--list-interfaces “ option is used to show available network interfaces: # tcpdump -D 1.enp0s3 [ Up , Running...
Print less protocol information Print less protocol information “-q “ option makes tcpdump output quickly, i.e., print less protocol information: # tcpdump -q tcpdump : ...
Don’t put the interface into promiscuous mode Don’t put the interface into promiscuous mode “-p/--no-promiscuous-mode “ option tells tcpdump not put the interface into promisc...