A terminal network diagnostics tool in Rust that shows live traffic, connections, packets and diagnoses with one command.
Chleba/netscanner
Terminal network scanner and diagnostic tool written in Rust, with a TUI for scanning hosts, WiFi networks and packets.
- Stars
- 1,886
- Forks
- 61
- Open issues
- 6
- Last commit
- 3 months ago
What is it?
netscanner is a terminal-based network scanner and diagnostic tool built in Rust with a text user interface. It lets you list hardware network interfaces, switch the active interface used for scanning and packet capture, and view nearby WiFi networks with signal strength charts.
For IPv4 networks, it pings a CIDR range and reports hostname, OUI vendor and MAC address for each host, scans TCP ports, and captures packets for TCP, UDP, ICMP and ARP, with start/pause control and log filtering. IPv6 packet dumping covers ICMPv6 only, and IPv6 scanning is listed as a pending TODO.
Scanned IPs, ports and packets can be exported to CSV, and the tool also counts traffic and looks up DNS records. It needs root privileges to run, and on Windows it requires Npcap.
Key features
- 01Lists hardware network interfaces and switches the active one for scanning
- 02Scans WiFi networks and charts signal strength
- 03Pings IPv4 CIDR ranges and shows hostname, OUI and MAC address
- 04Captures TCP, UDP, ICMP and ARP packets with pause and log filtering
- 05Scans TCP ports and exports results to CSV
Use cases
- Checking which devices are on a local subnet and identifying their vendors
- Inspecting WiFi signal strength when choosing a location or channel
- Debugging traffic on a host by capturing and filtering packets in a terminal
- Scanning open TCP ports on machines you manage
Topics
FAQ
- What is netscanner?
- Terminal network scanner and diagnostic tool written in Rust, with a TUI for scanning hosts, WiFi networks and packets. netscanner is a terminal-based network scanner and diagnostic tool built in Rust with a text user interface. It lets you list hardware network interfaces, switch the active interface used for scanning and packet capture, and view nearby WiFi networks with signal strength charts.
- Is netscanner free to use? What license does it have?
- netscanner is open source under the MIT license. Check the license terms before using it in commercial products.
- Is netscanner still maintained?
- Updated within 6 months. The last commit to netscanner was on Jul 6, 2026.
- What can I use netscanner for?
- Checking which devices are on a local subnet and identifying their vendors Inspecting WiFi signal strength when choosing a location or channel Debugging traffic on a host by capturing and filtering packets in a terminal Scanning open TCP ports on machines you manage
- Where can I get netscanner?
- The source code and installation instructions are on GitHub: https://github.com/Chleba/netscanner
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A minimal Rust CLI that exposes a local TCP port to a remote server, so localhost services can be reached from the public internet.
A terminal tool that replays Git commits as animated typing sessions with syntax highlighting and file tree transitions.
A terminal user interface for Git, inspired by Magit, for staging, committing, branching, rebasing and more from the keyboard.
A terminal UI tool written in Go that discovers and explores devices on your local network without elevated privileges.
A terminal UI that renders a git commit graph as images, similar to git log --graph --all, for browsing repository history.