浏览器是无法直接打开 google.com 的,但是 ping google.com 的结果却显示为网络好好的,还不慢,请问是怎么回事?

2016-10-15 07:15:17 +08:00
 qceytzn

ping google.com

PING google.com (172.217.26.110) 56(84) bytes of data.

64 bytes from kix05s01-in-f14.1e100.net (172.217.26.110): icmp_seq=1 ttl=49 time=127 ms

64 bytes from kix05s01-in-f14.1e100.net (172.217.26.110): icmp_seq=2 ttl=49 time=118 ms

64 bytes from kix05s01-in-f14.1e100.net (172.217.26.110): icmp_seq=3 ttl=49 time=120 ms

64 bytes from kix05s01-in-f14.1e100.net (172.217.26.110): icmp_seq=4 ttl=49 time=126 ms

64 bytes from kix05s01-in-f14.1e100.net (172.217.26.110): icmp_seq=5 ttl=49 time=127 ms

64 bytes from kix05s01-in-f14.1e100.net (172.217.26.110): icmp_seq=6 ttl=49 time=131 ms

^C

--- google.com ping statistics ---

6 packets transmitted, 6 received, 0% packet loss, time 5005ms

rtt min/avg/max/mdev = 118.941/125.382/131.505/4.290 ms

4964 次点击
所在节点    Google
5 条回复
xiaoz
2016-10-15 07:53:24 +08:00
楼主不知道 dns 污染?
qceytzn
2016-10-15 07:56:39 +08:00
@xiaoz 听说过, google 不能访问就是因为这个?
lslqtz
2016-10-15 08:10:45 +08:00
@xiaoz 我得说一下,这不是 DNS 污染。
DNS 污染后,解析到的 IP 是错误的,并且无法 ping 通,而这个域名我实测可以打开。
@qceytzn 我想应该是 http 劫持,可以试试看用 https 连接。运气爆棚?
C:\Users\lslqtz>curl -I -H "Host:www.google.com.hk" https://kix05s01-in-f14.1e100.net --insecure
HTTP/1.1 200 OK
Date: Sat, 15 Oct 2016 00:10:36 GMT
Expires: -1
Cache-Control: private, max-age=0
Content-Type: text/html; charset=Big5
P3P: CP="This is not a P3P policy! See https://www.google.com/support/accounts/answer/151657?hl=en for more info."
Server: gws
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN
Set-Cookie: NID=88=goyag4RIHuQipVzlUUB5IvPJzBl_rDv4wPTyUHdZPE9t_8LSFGwGqAlidEaa2qXmnKUELKLz9DKOL3lwBf-uDh-td17CiduqvzDCPDHxz_vQXULiPiA342REvpZLXBXV; expires=Sun, 16-Apr-2017 00:10:36 GMT; path=/; domain=.google.com.hk; HttpOnly
Alt-Svc: quic=":443"; ma=2592000; v="36,35,34,33,32"
Transfer-Encoding: chunked
Accept-Ranges: none
Vary: Accept-Encoding


C:\Users\lslqtz>
lslqtz
2016-10-15 08:11:35 +08:00
C:\Users\lslqtz>curl -I -H "Host:www.google.com.hk" kix05s01-in-f14.1e100.net
curl: (56) Recv failure: Connection was reset

C:\Users\lslqtz>
问题我想很明显了
LGA1150
2016-10-15 13:58:20 +08:00
强制 https

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/312932

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX