If you want to program with tcpdump check out its libary, pcap.
http://www.tcpdump.org/pcap.html
Lately I have been playing with a Go interface to it, https://github.com/miekg/pcap
Great tool, and lots of fun.
http://www.tcpdump.org/pcap.html
Lately I have been playing with a Go interface to it, https://github.com/miekg/pcap
Great tool, and lots of fun.
http://hackage.haskell.org/package/pcap-0.2/docs/Network-Pca...