kanishkarj / snoopy

A highly configurable multi-threaded packet sniffer and parser build in rust-lang.
MIT License
177 stars 16 forks source link

Compile errors #12

Open MGlolenstine opened 4 years ago

MGlolenstine commented 4 years ago

When cloning the repo or doing the cargo install snoopy, I'm getting some errors about a compilation that happens on the following lines.

https://github.com/kanishkarj/snoopy/blob/master/src/args/capture.rs#L122-L124 https://github.com/kanishkarj/snoopy/blob/master/src/args/capture.rs#L128-L139

It's complaining about Capture<Inactive> not having those methods.

EDIT: The program is unable to compile on Windows due to missing wpcap.lib. wpcap has been deprecated and has been replaced with npcap. A nice library that selects the best library for the packet sniffing, that you could use, is this one: rawsock.

kanishkarj commented 3 years ago

Hi @MGlolenstine , thanks for the suggestion. I shall fix that up right away!