var pcap = require('pcap')
var pcapSession = pcap.createSession('en1', 'tcp port 2201 or 2202')
pcapSession.on('packet', function (rawPacket) {
var packet = pcap.decode.packet(rawPacket)
console.log(packet)
})
Each packet from filter (tcp port 2201 or 2202) is captured, but packet.payload.payload.payload.data is null
Even runing with no filter (all tcp packets) results the same.
Hi,
Each packet from filter (tcp port 2201 or 2202) is captured, but
packet.payload.payload.payload.data
is nullEven runing with no filter (all tcp packets) results the same.
Am i missing something?