用正确的工具,做正确的事情
第一个当然是官网www.tcpdump.org/ 的document:《Programming with pcap 》. 《Programming with Libpcap - Sniffing the network from our own application》非常精美的PDF文档。 第二个是个非常好的libpcap编程入门教程。通俗易懂:《The Sniffer’s Guide to Raw Traffic》
玩得开心!!!