2012-08-17

tcpdump: output to pcap file and display on console

Many thanks for this blog entry where it explained on how to use tcpdump to write to a file and simultanously print on the console.

tcpdump -U -w - host 1.2.3.4 | tee file.pcap | tcpdump -r -

http://jbits.se/blog/2010/02/19/tcpdump-output-to-file-and-console/

No comments: