On Wed, Jan 02, 2008 at 04:01:18PM +0100, Rogier Wolff wrote: > How traceroute decides that it reaches the destination I don't > remember. Traceroute however takes ages: It sends out one packet, > waits for the result or times out, and then tries the next hop. > (after trying the same hop 3 times).
Dunno about all versions of traceroute, but at least a couple of them send out packets to the first hop to a high UDP port number, then the next hop to that port number + 1, then the third hop to port number + 2, etc. ICMP doesn't have port numbers, but you can tuck freeform data into the echo request packet, which in theory makes it back in the reply. For most routers. I think. -- Robert Woodcock - [EMAIL PROTECTED] "We would like to return to work with our writers. If we cannot, we would like to express our ambivalence, but without our writers we are unable to express something as nuanced as ambivalence." -- Jon Stewart and Stephen Colbert -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]