A lightweight ICMP ping implementation in C with DNS resolution support.
- Linux
- gcc compiler
- Root privileges (for raw sockets)
make
sudo make installsudo make uninstallvping [options] <hostname_or_ip>vping google.com
vping 8.8.8.8ping sending to google.com (142.251.38.110)
Ping to google.com: RTT = 47 ms
- Requires root/sudo privileges to create raw socket
- Some network may block ICMP packets