4 ms·
If you want to program with tcpdump check out its libary, pcap. http://www.tcpdump.org/pcap.html http://www.tcpdump.org/pcap.html Lately I have been playing w
by jweir 13y ago
If you want to program with tcpdump check out its libary, pcap.
http://www.tcpdump.org/pcap.html http://www.tcpdump.org/pcap.html
Lately I have been playing with a Go interface to it, https://github.com/miekg/pcap https://github.com/miekg/pcap
Great tool, and lots of fun.
- deleted 13y ago[deleted]
- deleted 13y ago[deleted]
- hoggle 13y agoAlso for node programmers there is https://github.com/mranney/node_pcap 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! ;)
- codygman 13y agoFor 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-Pcap.html http://hackage.haskell.org/package/pcap-0.2/docs/Network-Pca...
- lightblade 13y agoWhich one came first? Tcpdump or pcap?