Skip to content

NetView is a small network packet parser similar to Wireshark or tcpdump (with fewer features).

License

Notifications You must be signed in to change notification settings

DragonDev1906/netview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NetView

NetView is a small network packet parser similar to Wireshark or tcpdump (with fewer features).

Project Goals

  • 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.

Features

  • 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

Usage

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

About

NetView is a small network packet parser similar to Wireshark or tcpdump (with fewer features).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages