Sunday, April 19, 2009

Traceroute - How it works?

Traceroute is a Linux/Unix utility that is used to find all the routers along the destination host. It works by sending 3 UDP datagrams with destination ports numbers from 33434 to 33534 at a time
with TTL value starting with 1 till the destination is reached. Each router along the way send back ICMP message when it sees TTL value = 1.
A similar utility used in Windows, tracert does not use UDP packets but ICMP echo request (type 8) instead as in the case of ping.

No comments:

Post a Comment