Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lanmap

A live LAN scanner with a terminal dashboard. Shows all devices on your network with real-time ping, MAC addresses, and vendor identification.

Rust Platform

Features

  • 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

Usage

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

Keybindings

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

Build

cargo build --release
./target/release/lanmap

Stack

About

Live LAN scanner with terminal dashboard — Rust, ratatui, MAC/vendor lookup

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages