Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)