Tcpdump is a very useful Linux/Unix command-line packet analyzer. Here’s an example of the tcpdump command that writes the output to a file.
tcpdump -s 0 -vv -w /var/log/log_file.pcap
The tcpdump man page is available at the tcpdump official web site.
Recent Comments