RS

Rshark

RustCLINetworking

A network packet monitoring tool that runs from your terminal, written in Rust.

ContributeGitHub →
41
Stars
7
Forks
5
Open Issues
8
Contributors

About Rshark

Rshark is a network packet monitoring tool written in Rust. Contributing touches Rust’s ownership and borrowing model, its concurrency features, and core computer networking concepts.


Features

1
Live packet capture
Monitors network packets in real time straight from the terminal.
2
Protocol breakdown
Understands IPv4, IPv6, ARP, TCP, UDP and more, built on libpnet.

Learning path

  • Rust's ownership, borrowing and lifetimes
  • Structs, enums and pattern matching
  • Concurrency: threads, locks, smart pointers, atomic reference counters
  • Networking protocols: IPv4, IPv6, ARP, TCP, UDP and their packet formats
  • The libraries used: tui-rs and libpnet
  • Ask in #rshark-help

Quick Install

# Clone and build
$ git clone https://github.com/pesos/rshark
$ cd rshark && cargo build --release
Screenshots and a full README live on GitHub →