node-pcap-parser
node-pcap-parser copied to clipboard
Packet capture (pcap) file parser written in pure javascript for Node.js
if_tsresol = ord(option[4]) This line will cause an error because the option [4] = 6 instead of '\x06' in python2
Frame, IP, TCP To get the source/destination and ports. I guess I can write it if needed but thought it worth asking.
On Mac OS X at least, `tcpdump` uses `pcap-ng` format by default (unless you specify an interface). Are there plans or is there any interest in adding `pcap-ng` support to...
Currently the pcap-parser always starts on the next tick due to this code: ``` javascript process.nextTick(this.stream.resume.bind(this.stream)); ``` Even if you attempt to call `parser.stream.pause()` after creating the parser it will...