Skip to main content

Advanced ping utility which supports protocols such TCP, UDP, and raw IP. Best run with elevated priviledges.

# To ping a destination with 4 ICMP ping requests:
hping3 --icmp --count <4> <ip_or_hostname>

# To scan TCP port 80, scanning from the specific local source port 5090:
hping3 --verbose --syn --destport <80> --baseport <5090> <ip_or_hostname>

# To traceroute using a TCP scan to a specific destination port:
hping3 --traceroute --verbose --syn --destport <80> <ip_or_hostname>

# To perform a TCP ACK scan to check if a given host is alive:
hping3 --count <2> --verbose --destport <80> -A <ip_or_hostname>