


So, if you need to do it from the command line, use tshark.exe, as follows.
The output looks like: 9:22:33.664874 IP 192.168.4 > : For example, when viewing in a web browser, a pcap would show as the server name for this traffic when viewed in a customized Wireshark column display. Ask Question Asked 10 years, 4 months ago Modified 3 years ago Viewed 17k times 3 I am capturing traffic using: tcpdump -iIn addition, you will have to terminate the capture with C when you believe you have captured. You will have to specify the correct interface and the name of a file to save into.
If this is the case, use -s to capture full-sized packets: tcpdump -i
The -A option of tcpdump prints each packet in human readable ASCII and happily deals with wireshark files and you can do it all from the command line: tcpdump -A -r stackoverflow.cap > stackoverflow.txt Older versions of tcpdump truncate packets to 68 or 96 bytes.
