pingall
Utility to quickly and efficiently discover available ip addresses and their hostnames on your network. This program will always finish within 2 seconds, much faster than nmap 196.168.1.*.
Details
By simultaneously pinging all of the addresses with a 1 second timeout we can guage who is responsive on the network. tokio is used to make it all asynchronous (only 1 thread is used).
Installation
Dependencies
- cargo
- ping
- avahi-resolve (needed to resolve hostnames)
Usage
Ping all available ip addresses:
Ping only Wi-Fi addresses on wlan0, don't resolve hostnames: