1 unstable release
new 0.1.0 | Mar 28, 2025 |
---|
#291 in Network programming
57KB
1.5K
SLoC
NetUI
Overview
NetUI is a Rust-based interactive terminal user interface designed to monitor network interfaces. It allows you to send ARP messages through specified interfaces and listen for packets to calculate bandwidth.
Installation
To install and run NetUI, ensure that you have Rust and Cargo installed on your system. Follow these steps:
-
Clone the repository:
git clone https://github.com/yousfiSaad/netui.git cd netui
-
Build the project using Cargo:
cargo build --release
-
Run the compiled binary:
sudo ./target/release/netui
Use the App
./target/release/netui --name eth0
This will start the program and watch for ARP packets on the eth0
interface.
Send ARP Messages
To send ARP messages and discover hosts on a specific interface, press s
key:
Listen to Packets
The program also listens to packets on the specified interface and calculates the bandwidth of the sent and received packets per host.
Features
- Interactive Terminal UI: Provides an interactive way to manage network interfaces.
- ARP Message Sending: Send ARP messages to discover hosts in the network.
- Packet Listening: Listen to packets on the specified interface.
- Bandwidth Calculation: Calculate the bandwidth of sent and received packets.
Contributing and Code of Conduct
We welcome contributions from the community! To contribute, follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix:
git checkout -b feature/your-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin feature/your-feature
- Open a pull request detailing your changes.
Please ensure that your contributions follow our code of conduct, which encourages respect and collaboration within our community.
Dependencies
~20–33MB
~500K SLoC