News for hackers. Stuff that matters.
Re:A tcpdump tutorial and primer by jweir on Friday February 28, 2014 @03:05PM (#7321106)
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.

Re:A tcpdump tutorial and primer by hoggle on Friday February 28, 2014 @05:05PM (#7321867)
Also for node programmers there is https://github.com/mranney/node_pcap I remember doing some pcap C programming some years ago but node with its streaming nature and powerful js derived abstractions is just so much more satisfying to me, simply less boilerplate and tons of fun - don't fall too far down the well.. then again it's Saturday tomorrow! ;)
Re:A tcpdump tutorial and primer by codygman on Saturday March 01, 2014 @01:30AM (#7323383)
For those who want a functional(ish?) and strongly typed interface to tcpdump, hackage has the answer:

http://hackage.haskell.org/package/pcap-0.2/docs/Network-Pca...

Re:A tcpdump tutorial and primer by lightblade on Sunday March 02, 2014 @01:27PM (#7330112)
Which one came first? Tcpdump or pcap?