› tracert 152.53.236.228 Tracing route to theserver.life [152.53.236.228]
over a maximum of 30 hops: 1 3 ms 1 ms 1 ms 192.168.1.1 2 20 ms 18 ms 11 ms 77-56-216-1.dclient.hispeed.ch [77.56.216.1] 3 15 ms 14 ms 13 ms 217-168-61-145.static.cablecom.ch [217.168.61.145] 4 48 ms 41 ms 27 ms carbsm101-be-2.aorta.net [84.116.211.21] 5 15 ms 15 ms 13 ms ch-otf01b-rc2-ae-54-0.aorta.net [84.116.202.225] 6 25 ms 13 ms 18 ms zur01lsr01.ae1.bb.sunrise.net [212.161.150.164] 7 * * * Request timed out. 8 39 ms 54 ms 14 ms 213.46.171.182 9 23 ms 20 ms 20 ms ae2-2015.nbg60.core-backbone.com [80.255.15.250] 10 23 ms 22 ms 24 ms ae12-500.nbg40.core-backbone.com [80.255.9.21] 11 36 ms 24 ms 45 ms theserver.life [152.53.236.228] Trace complete.
› tracert 152.53.236.228 Tracing route to theserver.life [152.53.236.228]
over a maximum of 30 hops: 1 3 ms 1 ms 1 ms 192.168.1.1 2 20 ms 18 ms 11 ms 77-56-216-1.dclient.hispeed.ch [77.56.216.1] 3 15 ms 14 ms 13 ms 217-168-61-145.static.cablecom.ch [217.168.61.145] 4 48 ms 41 ms 27 ms carbsm101-be-2.aorta.net [84.116.211.21] 5 15 ms 15 ms 13 ms ch-otf01b-rc2-ae-54-0.aorta.net [84.116.202.225] 6 25 ms 13 ms 18 ms zur01lsr01.ae1.bb.sunrise.net [212.161.150.164] 7 * * * Request timed out. 8 39 ms 54 ms 14 ms 213.46.171.182 9 23 ms 20 ms 20 ms ae2-2015.nbg60.core-backbone.com [80.255.15.250] 10 23 ms 22 ms 24 ms ae12-500.nbg40.core-backbone.com [80.255.9.21] 11 36 ms 24 ms 45 ms theserver.life [152.53.236.228] Trace complete.
› tracert 152.53.236.228 Tracing route to theserver.life [152.53.236.228]
over a maximum of 30 hops: 1 3 ms 1 ms 1 ms 192.168.1.1 2 20 ms 18 ms 11 ms 77-56-216-1.dclient.hispeed.ch [77.56.216.1] 3 15 ms 14 ms 13 ms 217-168-61-145.static.cablecom.ch [217.168.61.145] 4 48 ms 41 ms 27 ms carbsm101-be-2.aorta.net [84.116.211.21] 5 15 ms 15 ms 13 ms ch-otf01b-rc2-ae-54-0.aorta.net [84.116.202.225] 6 25 ms 13 ms 18 ms zur01lsr01.ae1.bb.sunrise.net [212.161.150.164] 7 * * * Request timed out. 8 39 ms 54 ms 14 ms 213.46.171.182 9 23 ms 20 ms 20 ms ae2-2015.nbg60.core-backbone.com [80.255.15.250] 10 23 ms 22 ms 24 ms ae12-500.nbg40.core-backbone.com [80.255.9.21] 11 36 ms 24 ms 45 ms theserver.life [152.53.236.228] Trace complete.
192.168.1.1
cablecom.ch
sunrise.net
core-backbone.com
core-backbone.com
ICMP_ECHOREPLY
ICMP_DEST_UNREACH
for (int ttl = 1; ttl <= MAX_HOPS; ttl++) { // Set the TTL to the current iter ttl setsockopt(send_sock, IPPROTO_IP, IP_TTL, &ttl, sizeof(ttl)); char buf[BUF_SIZE]; struct sockaddr_in from; socklen_t from_len = sizeof(from); // Ping the target router 3 times to get the 3 delays for (int i = 0; i < PROBE_COUNT; i++) ms[i] = ping(send_sock, recv_sock, buf, &dest, &from, &from_len); /* print stats Skipped it for this example */ if (icmp_hdr->type == ICMP_ECHOREPLY && from.sin_addr.s_addr == dest.sin_addr.s_addr) break; }
for (int ttl = 1; ttl <= MAX_HOPS; ttl++) { // Set the TTL to the current iter ttl setsockopt(send_sock, IPPROTO_IP, IP_TTL, &ttl, sizeof(ttl)); char buf[BUF_SIZE]; struct sockaddr_in from; socklen_t from_len = sizeof(from); // Ping the target router 3 times to get the 3 delays for (int i = 0; i < PROBE_COUNT; i++) ms[i] = ping(send_sock, recv_sock, buf, &dest, &from, &from_len); /* print stats Skipped it for this example */ if (icmp_hdr->type == ICMP_ECHOREPLY && from.sin_addr.s_addr == dest.sin_addr.s_addr) break; }
for (int ttl = 1; ttl <= MAX_HOPS; ttl++) { // Set the TTL to the current iter ttl setsockopt(send_sock, IPPROTO_IP, IP_TTL, &ttl, sizeof(ttl)); char buf[BUF_SIZE]; struct sockaddr_in from; socklen_t from_len = sizeof(from); // Ping the target router 3 times to get the 3 delays for (int i = 0; i < PROBE_COUNT; i++) ms[i] = ping(send_sock, recv_sock, buf, &dest, &from, &from_len); /* print stats Skipped it for this example */ if (icmp_hdr->type == ICMP_ECHOREPLY && from.sin_addr.s_addr == dest.sin_addr.s_addr) break; } - The first one, 192.168.1.1, is my own router, still in my living room. The first stranger is actually myself.
- Hops 2 and 3 are my ISP: the entrance to the highway. You can even see it in the hostnames: cablecom.ch, a Swiss internet provider, handing my data off to the wider world.
- Hops 4 through 6 are that highway. aorta.net, sunrise.net are transit backbones you've probably never heard of, but your data uses constantly, every single day.
- Hop 7 is a ghost. Three * instead of a response. Looks like someone doesn't want to be seen. We'll come back to that.
- Hop 8 is another silent one, no hostname, just a raw IP. Not hiding, but not introducing itself either.
- And then 9 and 10 are another backbone, core-backbone.com, and if you squint at the hostname you can see nbg: Nuremberg, Germany. My data just crossed a border.
- 11 is home, well, my home. The server.