Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/estebanborai/netutil
Network Management Utility
https://github.com/estebanborai/netutil
cli network port sniffer
Last synced: 9 days ago
JSON representation
Network Management Utility
- Host: GitHub
- URL: https://github.com/estebanborai/netutil
- Owner: EstebanBorai
- Created: 2020-05-28T22:20:30.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-14T14:10:33.000Z (over 3 years ago)
- Last Synced: 2024-10-17T02:27:58.042Z (about 1 month ago)
- Topics: cli, network, port, sniffer
- Language: Rust
- Homepage: https://crates.io/crates/netutil
- Size: 28.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
netutil
> This crate relies on Netinet libraries available in most Linux distributions.
## Requirements
- Make sure Netinet libraries are available in your system
- Clang as `bindgen` leverages `libclang` to preprocess, parse, and type check C and C++ header files. [Rust Bindgen Requirements](https://rust-lang.github.io/rust-bindgen/requirements.html#clang)## Running Examples
You must build the binary first and the execute it with `sudo` in order
to allow the socket connection implementation```bash
cargo build && sudo ./target/debug/packet_sniffer
```## References
- [The Single UNIX ® Specification, Version 2](https://pubs.opengroup.org/onlinepubs/7908799/xns/netinetin.h.html)