A tcpdump tutorial and primer
If you want to program with tcpdump check out its libary, pcap.<p><a href="http://www.tcpdump.org/pcap.html" rel="nofollow">http://www.tcpdump.org/pcap.html</a><p>Lately I have been playing with a Go interface to it, <a href="https://github.com/miekg/pcap" rel="nofollow">https://github.com/miekg/pcap</a><p>Great tool, and lots of fun.