NetView is a small network packet parser similar to Wireshark or tcpdump (with fewer features).
- Get a better understand of common networking protocols
- Explore the nom parsing library
- Use a minimal set of dependencies (currently just nom for parsing and hex for displaying data)
- Explore building a basic TUI without dependencies
- Secondary: Show what is happening on the network in a compact but readable way.
- Common network protocols: ARP, DNS, Ethernet, IPv4, IPv6, TCP, UDP
- Parse the unencrypted parts of TLS
- Promisceus mode (always enabled)
- Protocol detection
- Port to process name mapping
This project has been developed and tested on Linux, it may not work on other operating systems.
It requires permissions to open raw sockets and enable promisceus mode. Either run it as root or add the relevant permissions:
cargo build
sudo setcap 'cap_net_raw=+ep' target/debug/netview
./target/debug/netview
# Or
cargo build
sudo ./target/debug/netview