You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Am i missing something?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: