A live LAN scanner with a terminal dashboard. Shows all devices on your network with real-time ping, MAC addresses, and vendor identification.
- Auto-detects your local subnet (
/24) - Parallel ICMP ping sweep — all 254 hosts concurrently
- Finds hosts that block ping but answer ARP (e.g. Windows firewalls)
- MAC address lookup via ARP cache (Windows and Linux)
- Vendor identification from OUI (Apple, Samsung, ASUS, TP-Link, and more)
- Detects MAC randomization (iOS / Android privacy MACs)
- Reverse DNS hostname resolution
- "★ new" badge for devices that join while lanmap is running
- Offline hosts show when they were last seen
- Sort by IP, latency, hostname, or last seen; filter to online-only
- Export the current scan to JSON
- Live ratatui TUI with animated scanning indicator
- Auto-rescan every 30 seconds
Requires Administrator / root for raw ICMP sockets.
lanmap
Override subnet manually (useful when on VPN; /16 is the maximum sweep size):
lanmap --subnet 192.168.1.0/24
| Key | Action |
|---|---|
r |
Force rescan |
e |
Export scan to lanmap-<unixtime>.json |
s |
Cycle sort (IP → latency → hostname → last seen) |
f |
Toggle online-only filter |
↑ / k |
Navigate up |
↓ / j |
Navigate down |
q / Esc |
Quit |
cargo build --release
./target/release/lanmapsurge-ping— async ICMPratatui+crossterm— TUInetwork-interface— interface detectiondns-lookup— reverse DNStokio— async runtime