First page Back Continue Last page Overview Graphics
traceroute <hostname> | <ip-address>
- Uses a low Time To Live, TTL, value on packets to prevent making it to the next hop. The routers will return an ICMP message saying the time was exceeded. Then the next message is sent with a TTL to allow it to get through the router, etc. until we ultimately reach the destination host.
Requires root privileges
Traceroute has to create a raw socket for receipt of ICMP packets. This is why traceroute runs as root or has its setuid bit set.