Capturing packets with nodejs on windows

atian25 picture atian25 · Jun 30, 2012 · Viewed 8.8k times · Source

node.js v0.8.0 , XP / WIN7 (not Cygwin)

google and found node_pcap ( https://github.com/mranney/node_pcap )

but it only support osx and linux.

is there any module for windows?

thanks.

.

Answer

mscdex picture mscdex · Aug 11, 2013

If you want something that's more cross-platform (e.g. compatible with Windows via WinPcap), I wrote cap awhile back: https://github.com/mscdex/cap