Always Geeky

Knowledge base for various geeky topics
 

+menu-

TCP dump without truncating

If you receive the following error while performing a packet capture with tcpdump, there is a solution.

    Packet size limited during capture

Simply run tcpdump with the “-s 0” flag, and this will capture the entire packet. For example:

    sudo tcpdump -i any -w capture.pcap -s 0
This entry was posted in Linux and tagged , , , . Bookmark the permalink.

 

Leave a Reply