HoneyBadger icon indicating copy to clipboard operation
HoneyBadger copied to clipboard

test BPF sniffer on MacOSX

Open david415 opened this issue 10 years ago • 2 comments

This ticket is to test that the BPF ethernet sniffer works in MacOSX.

I've got this here dev branch that I would like for someone to test:

https://github.com/david415/HoneyBadger/tree/71.add-bsd-sniffer.1

david415 avatar Jun 11 '15 23:06 david415

it doesn't work on OSX ;-p ... but i think this can easily be fixed. We get the default BPF buffer length... and on OSX it is set to 4096 bytes... so perhaps if we increase it to 32767 it will work fine. Anyway that is the default bufLen on OpenBSD and NetBSD.

david415 avatar Jun 16 '15 07:06 david415

We are using my new BSD BPF sniffer now... and it's been merged upstream into gopacket. It will most likely work on OSX... but we won't know until we try.

david415 avatar Jul 11 '15 04:07 david415