njh / node-red-contrib-pcap

Network packet capture for Node-RED
http://flows.nodered.org/node/node-red-contrib-pcap
Apache License 2.0
8 stars 7 forks source link

[nfr] Support for pcap@3 #4

Open ruudboon opened 4 years ago

ruudboon commented 4 years ago

Currently the default install fails since pcap 3 is been used. Could you add support for this?

njh commented 4 years ago

Ooh, I kind of gave up on this because I was finding pcap so unstable and new versions / fixes weren't getting released.

Fingers crossed v3 makes everything better 🤞

ruudboon commented 4 years ago

@njh Trying to get it working now. Want me to drop a pull on this? Looks like it's broken in the first place since it's trying to include pcap2 instead of pcap

njh commented 4 years ago

Yeah, it was loading pcap2 (https://github.com/andygreenegrass/node-pcap) because of the lack of releases of the official version.

A Pull Request would be very welcome.