zanarkand icon indicating copy to clipboard operation
zanarkand copied to clipboard

Device options for packet source

Open ayyaruq opened this issue 5 years ago • 0 comments

Currently only pcap for files and interfaces is supported. The ability to select different capture sources should be added for flexibility and performance on different platforms.

This requires a device struct and a way to set it when a sniffer is initialised. Device options should cover as much as gopacket supports, currently as follows:

  • [x] AF_Packet
  • [x] PCAP
  • [ ] PF_Ring
  • [ ] winsock

ayyaruq avatar Jan 27 '20 14:01 ayyaruq