Makes it easier to put the interface in monitor mode without needing to shell out to another tool. Obviously only works with NICs that support entering monitor mode using libpcap.
Tested on macOS 10.15.3 (19D76).
Let me know if you want any changes since it digs pretty deep into your abstractions.
Also probably needs a wiki update for the wifi example.
Add monitor support using
pcap_set_rfmon()
.Makes it easier to put the interface in monitor mode without needing to shell out to another tool. Obviously only works with NICs that support entering monitor mode using libpcap.
Tested on macOS 10.15.3 (19D76).
Let me know if you want any changes since it digs pretty deep into your abstractions.
Also probably needs a wiki update for the wifi example.