Re: strange ping and traceroute results

2016-11-19 Thread Shlomo Solomon
On Sun, 20 Nov 2016 08:25:18 +0200
shimi  wrote:

> I believe it's called a CDN and/or local compute clusters and the
> purpose of it is to give you a better user experience, which is a
> Good Thing (TM).
> 
snip ... snip ... snip
> 
> Why do you think it's a problem and are trying to avoid it?
> 

Thanks. I agree that this is "normally" a Good Thing (TM). So I guess I
have to explain my problem. For a course I'm doing, I had to write
traceroute in Python   -   re-invent the wheel :-) 

My program works, but I noticed it never reaches www.google.com so I
checked the "real" traceroute and found the same behaviour. 

It seems that neither my program nor the real traceroute handle this
properly - i.e. they never report that they've reached the final hop.
I've included traceroute www.godaddy.com and traceroute www.google.com
for comparison. You can see that traceroute www.google.com never
reaches the address it's trying to reach - 213.57.24.49




[solomon@shlomo1 ~]$ sudo traceroute www.godaddy.com
traceroute to www.godaddy.com (23.44.253.116), 30 hops max, 60 byte
packets 
1  router-1.solomon (10.0.0.138)  0.610 ms  0.979 ms  0.977 ms
2  core-213-57-3-7.ptr.hotnet.net.il (213.57.3.7)  15.370 ms  15.753
ms  16.148 ms 
3  ae7.101.hfa.mx-lns.con.hotnet.net.il (213.57.3.221) 16.544 ms
16.543 ms  16.553 ms 
4  core-213-57-3-217.ptr.hotnet.net.il (213.57.3.217)  17.345 ms
18.132 ms  18.524 ms 
5  207.232.21.146 (207.232.21.146)  20.941 ms  20.948 ms  20.944 ms 
6 core1-TenGigE0-4-0-1.hfa.nv.net.il (212.143.8.226)  21.311 ms
core1-0-5-0-21-edge1.hfa.nv.net.il (212.143.7.173)  22.651 ms  22.379 ms 
7  cdn-sw1-1-35-core1-2-5-hfa.hfa.nv.net.il (212.143.7.252)  21.129 ms
cdn-sw1-1-45-core1.hfa.nv.net.il (212.143.7.209)  18.333 ms 
cdn-sw1-1-43-core1.hfa.nv.net.il (212.143.7.201)  19.097 ms 
8 a23-44-253-116.deploy.static.akamaitechnologies.com (23.44.253.116)
18.299 ms  18.290 ms  18.703 ms



[solomon@shlomo1 ~]$ sudo traceroute www.google.com
traceroute to www.google.com (213.57.24.49), 30 hops max, 60 byte
packets 
1 router-1.solomon (10.0.0.138)  0.943 ms  0.937 ms  0.934 ms 
2 core-213-57-3-7.ptr.hotnet.net.il (213.57.3.7)  15.313 ms  15.720 ms
16.114 ms 
3  ae7.101.hfa.mx-lns.con.hotnet.net.il (213.57.3.221) 16.128 ms
16.526 ms  16.526 ms 
4  core-213-57-3-217.ptr.hotnet.net.il (213.57.3.217)  21.311 ms
21.692 ms  21.675 ms 
5  * * * 
6  * * * 
7  * * * 
8  * * * 
9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *
[solomon@shlomo1 ~]$ 



-- 
Shlomo Solomon
http://the-solomons.net
Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: strange ping and traceroute results

2016-11-19 Thread shimi
On 20 Nov 2016 07:02, "Shlomo Solomon"  wrote:
>
> When I try ping or traceroute to www.google.com, I get strange results.
> Both utilities "think" that www.google.com is at 213.57.*.*, but those
> addresses belong to my Internet provider - Hotnet.
>
> What am I missing?
>
> [solomon@shlomo1]$ ping www.google.com
> PING www.google.com (213.57.23.29) 56(84) bytes of data.
> 64 bytes from 213.57.23.29: icmp_seq=1 ttl=59 time=17.1 ms
> 64 bytes from 213.57.23.29: icmp_seq=2 ttl=59 time=16.8 ms
> 64 bytes from 213.57.23.29: icmp_seq=3 ttl=59 time=17.1 ms
>
> [solomon@shlomo1]$ sudo traceroute www.google.com
> traceroute to www.google.com (213.57.24.55), 30 hops max, 60 byte packets
> 1  router-1.solomon (10.0.0.138)  1.010 ms  1.007 ms  1.006 ms
> 2  core-213-57-3-7.ptr.hotnet.net.il (213.57.3.7)  15.379 ms  15.741 ms
16.551 ms
> 3  ae7.101.hfa.mx-lns.con.hotnet.net.il (213.57.3.221) 36.177 ms  36.182
ms  36.178 ms
> 4  core-213-57-3-217.ptr.hotnet.net.il (213.57.3.217)  17.736 ms  17.736
ms  17.733 ms
> 5  * * *
> 6  * * *
> 7  * * *
> 8  * * *

I believe it's called a CDN and/or local compute clusters and the purpose
of it is to give you a better user experience, which is a Good Thing (TM).

There are other similar POPs I saw at least in BezeqInt.

The question really is:

Why do you think it's a problem and are trying to avoid it?

If your reply includes the letters M-I-T-M, please consider that without
installing a fake CA cert on your host, MITMing an SSL/TLS connection WILL
cause a connection set up error from your browser.

HTH,

-- Shimi
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: strange ping and traceroute results

2016-11-19 Thread Shlomo Solomon
Thanks. Any way to get around this? 
I just tried pinging Google-UK (www.google.co.uk) and Google-Canada
(www.google.ca) and I see the same behaviour.



On Sun, 20 Nov 2016 05:13:29 +
Geoffrey Mendelson  wrote:

> Google.com resolves to addresses routed to Google.co.il and 8.8.4.4
> and 8.8.8.8 are routed to a local nameserver.
> 
> It is all part of a local cache system.
> 
> Geoff.
> 
> On Sun, Nov 20, 2016, 07:02 Shlomo Solomon 
> wrote:
> 
> > When I try ping or traceroute to www.google.com, I get strange
> > results. Both utilities "think" that www.google.com is at
> > 213.57.*.*, but those addresses belong to my Internet provider -
> > Hotnet.
> >
> > What am I missing?
> >
> > [solomon@shlomo1]$ ping www.google.com
> > PING www.google.com (213.57.23.29) 56(84) bytes of data.
> > 64 bytes from 213.57.23.29: icmp_seq=1 ttl=59 time=17.1 ms
> > 64 bytes from 213.57.23.29: icmp_seq=2 ttl=59 time=16.8 ms
> > 64 bytes from 213.57.23.29: icmp_seq=3 ttl=59 time=17.1 ms
> >
> > [solomon@shlomo1]$ sudo traceroute www.google.com
> > traceroute to www.google.com (213.57.24.55), 30 hops max, 60 byte
> > packets 1  router-1.solomon (10.0.0.138)  1.010 ms  1.007 ms  1.006
> > ms 2  core-213-57-3-7.ptr.hotnet.net.il (213.57.3.7)  15.379 ms
> > 15.741 ms 16.551 ms
> > 3  ae7.101.hfa.mx-lns.con.hotnet.net.il (213.57.3.221) 36.177 ms
> > 36.182 ms  36.178 ms
> > 4  core-213-57-3-217.ptr.hotnet.net.il (213.57.3.217)  17.736 ms
> > 17.736 ms  17.733 ms
> > 5  * * *
> > 6  * * *
> > 7  * * *
> > 8  * * *
> >
> >
> > --
> > Shlomo Solomon
> > http://the-solomons.net
> > Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5
> >
> >
> > ___
> > Linux-il mailing list
> > Linux-il@cs.huji.ac.il
> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
> >



-- 
Shlomo Solomon
http://the-solomons.net
Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: strange ping and traceroute results

2016-11-19 Thread Shlomo Solomon
This seems to be specific to www.google.com. Other addresses work as
expected.

Trailing dot does not change anything.

On Sun, 20 Nov 2016 05:15:04 +
Daniel Shahaf  wrote:

> Shlomo Solomon wrote on Sun, Nov 20, 2016 at 07:01:10 +0200:
> > When I try ping or traceroute to www.google.com, I get strange
> > results. Both utilities "think" that www.google.com is at
> > 213.57.*.*, but those addresses belong to my Internet provider -
> > Hotnet.
> > 
> > What am I missing?
> > 
> 
> Try with a trailing dot?
> 
> % ping www.google.com.
> 
> 
> Try other domains?
> 
> % ping www.$(pwgen).com



-- 
Shlomo Solomon
http://the-solomons.net
Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: strange ping and traceroute results

2016-11-19 Thread Daniel Shahaf
Shlomo Solomon wrote on Sun, Nov 20, 2016 at 07:01:10 +0200:
> When I try ping or traceroute to www.google.com, I get strange results.
> Both utilities "think" that www.google.com is at 213.57.*.*, but those
> addresses belong to my Internet provider - Hotnet.
> 
> What am I missing?
> 

Try with a trailing dot?

% ping www.google.com.


Try other domains?

% ping www.$(pwgen).com

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


strange ping and traceroute results

2016-11-19 Thread Shlomo Solomon
When I try ping or traceroute to www.google.com, I get strange results.
Both utilities "think" that www.google.com is at 213.57.*.*, but those
addresses belong to my Internet provider - Hotnet.

What am I missing?

[solomon@shlomo1]$ ping www.google.com
PING www.google.com (213.57.23.29) 56(84) bytes of data.
64 bytes from 213.57.23.29: icmp_seq=1 ttl=59 time=17.1 ms
64 bytes from 213.57.23.29: icmp_seq=2 ttl=59 time=16.8 ms
64 bytes from 213.57.23.29: icmp_seq=3 ttl=59 time=17.1 ms

[solomon@shlomo1]$ sudo traceroute www.google.com
traceroute to www.google.com (213.57.24.55), 30 hops max, 60 byte packets 
1  router-1.solomon (10.0.0.138)  1.010 ms  1.007 ms  1.006 ms
2  core-213-57-3-7.ptr.hotnet.net.il (213.57.3.7)  15.379 ms  15.741 ms  16.551 
ms 
3  ae7.101.hfa.mx-lns.con.hotnet.net.il (213.57.3.221) 36.177 ms  36.182 ms  
36.178 ms 
4  core-213-57-3-217.ptr.hotnet.net.il (213.57.3.217)  17.736 ms  17.736 ms  
17.733 ms 
5  * * *
6  * * *
7  * * *
8  * * *


-- 
Shlomo Solomon
http://the-solomons.net
Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il