pingall-0.3.3 is not a library.
Visit the last successful build:
pingall-0.2.1
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.*.
- Quickly find all ip addresses and hostnames on your network.
- Populate DNS/mDNS tables automatically.
Usage
Ping all available ip addresses:
Ping only Wi-Fi addresses on wlan0, don't resolve hostnames:
Installation
Details
Simultaneously ping all of the addresses on your subnets with a 1 second timeout, so we can gauge who is responsive on the network. tokio is used to make it all asynchronous (only 1 thread is used).
Raw Ping
The system ping command is used by default, as opening raw sockets in unix requires root permissions. To avoid using the ping command, you can use the --raw-socket flag, but this will require either sudo, or running
setcap cap_net_raw+ep $(which pingall)
to give this program permission.
Dependencies
- cargo
- ping
- avahi-resolve (needed to resolve hostnames)