2 releases
0.1.1 | Mar 29, 2025 |
---|---|
0.1.0 | Mar 28, 2025 |
#172 in Command-line interface
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:
-
Install from crates.io:
cargo install netui
-
or Clone the repository and build from source:
git clone https://github.com/yousfiSaad/netui.git cd netui cargo build --release
Use the App
sudo ./target/release/netui --name eth0
# or
sudo netui --name eth0
# or
sudo `which netui` --name eth0
This will start the program and watch for 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