@fresla wrote:
Hi, I am trying to get @halfdanj 's ofxSniffer working on OSX. I want to use it to detect arp requests- I think it is the right library for the job.
I managed to get everything compiling but with a few difficulties. I had to change this line
newRawPacketEvent.notifyAsync(this, packet);
to
newRawPacketEvent.notify(this, packet);
I am using 64 bit libs from ofxLibTins as I could not get the apothecary script to run. I managed to get the libs linking properly but only by making a new project. I gave the library the correct permissions and my wifi goes into monitor mode as expected.
However as soon as I get a packet the program crashes- I have attached a screen shot of xcode of the crash.
I found this issue - https://github.com/openframeworks/openFrameworks/issues/4192 where the notifyAsync has been replaced by using ofThreadChannel, but the ofxSniffer code has both methods in place still. Does anyone have a functioning version of ofxSniffer? Or maybe a clue as to how to get this (or at least libtins) running?
Cheers
Fred
Posts: 1
Participants: 1