This crate relies on Netinet libraries available in most Linux distributions.
- Make sure Netinet libraries are available in your system
- Clang as
bindgen
leverageslibclang
to preprocess, parse, and type check C and C++ header files. Rust Bindgen Requirements
You must build the binary first and the execute it with sudo
in order
to allow the socket connection implementation
cargo build && sudo ./target/debug/packet_sniffer