V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
qceytzn
V2EX  ›  Google

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

  •  
  •   qceytzn · 2016-10-15 07:15:17 +08:00 · 4896 次点击
    这是一个创建于 2751 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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

    5 条回复    2016-10-15 13:58:20 +08:00
    xiaoz
        1
    xiaoz  
       2016-10-15 07:53:24 +08:00 via iPhone
    楼主不知道 dns 污染?
    qceytzn
        2
    qceytzn  
    OP
       2016-10-15 07:56:39 +08:00
    @xiaoz 听说过, google 不能访问就是因为这个?
    lslqtz
        3
    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
        4
    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
        5
    LGA1150  
       2016-10-15 13:58:20 +08:00
    强制 https
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   885 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 20:36 · PVG 04:36 · LAX 13:36 · JFK 16:36
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.