Tag: google

可恨的chrome!

chrome 其实是一个挺好的浏览器来的,在 windows 上我经常使用它(但本人不是经常使用 windows )。但这两天它带给我很大的困扰,恨死它了!!!

chrome 有 linux 版,已经是很久以前的事了,我就 download 来玩玩,平时也很少用,恰好昨天有个东西要测试,要访问杭州的节点,于是我就拿它出来,并设了一下代理服务器,在杭州搭了个 squid ,就把代理服务器设到杭州了。

印象中,以前所谓的 linux 下的 chrome 是 chromium ,这个是无法配置代理服务器的,而 官方一点的 chrome ,已经具有这个功能了,options -> under the hood -> change proxy settings ,就可以设置代理服务器了。杯具就是这样产生的了!!

我用完代理后,就顺手把 chrome 给关了,proxy setting 当然是没有改回来。

然后,从昨天一直到现在,我使用起网络来,都是怪怪的!!如:

$ curl -I lady.163.com

HTTP/1.1 200 OK
Date: Thu, 15 Apr 2010 14:44:38 GMT
Server: Apache/2.2.11 (Unix) PHP/5.3.0
Last-Modified: Sat, 20 Nov 2004 20:16:24 GMT
ETag: “2006c2a0-2c-3e9564c23b600″
Accept-Ranges: bytes
Content-Length: 44
Content-Type: text/html

oh , my god !!

再来!

$ sudo apt-get update ;

Ign http://mirrors.163.com karmic Release.gpg
Ign http://mirrors.163.com karmic/main Translation-en_US
Ign http://mirrors.163.com karmic/restricted Translation-en_US
Ign http://mirrors.163.com karmic/multiverse Translation-en_US
Ign http://mirrors.163.com karmic/universe Translation-en_US
Ign http://mirrors.163.com karmic Release
Ign http://mirrors.163.com karmic/main Packages
Ign http://mirrors.163.com karmic/restricted Packages
Ign http://mirrors.163.com karmic/multiverse Packages
Ign http://mirrors.163.com karmic/universe Packages
Ign http://mirrors.163.com karmic/main Packages
Ign http://mirrors.163.com karmic/restricted Packages
Ign http://mirrors.163.com karmic/multiverse Packages
Ign http://mirrors.163.com karmic/universe Packages
Err http://mirrors.163.com karmic/main Packages
404  Not Found
Err http://mirrors.163.com karmic/restricted Packages
404  Not Found
Err http://mirrors.163.com karmic/multiverse Packages
404  Not Found
Err http://mirrors.163.com karmic/universe Packages
404  Not Found
W: Failed to fetch http://mirrors.163.com/ubuntu/dists/karmic/main/binary-i386/Packages.gz  404  Not Found

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/karmic/restricted/binary-i386/Packages.gz  404  Not Found

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/karmic/multiverse/binary-i386/Packages.gz  404  Not Found

W: Failed to fetch http://mirrors.163.com/ubuntu/dists/karmic/universe/binary-i386/Packages.gz  404  Not Found

E: Some index files failed to download, they have been ignored, or old ones used instead.

oh!! no !!!!
我一直百思不得其解!!但又太忙,就不管它了,不能curl ,就ssh 上随便一台服务器 curl 呗。而且,只要我 su 到 root ,就可以正常使用了!!我曾经怀疑,是有人黑了我的 curl 。。。还重装了 curl 呢。。。但还是出错,真是神奇了。。。

直到刚才,实在忍无可忍了!我决定彻查原因!!终于被我通过下面这条命令知道原因了!!

$ wget -S –spider lady.163.com
Spider mode enabled. Check if remote file exists.
–2010-04-15 22:48:01–  http://lady.163.com/
Connecting to 60.12.80.115:3128… connected.
Proxy request sent, awaiting response…
HTTP/1.1 200 OK
Date: Thu, 15 Apr 2010 14:48:01 GMT
Server: Apache/2.2.11 (Unix) PHP/5.3.0
Last-Modified: Sat, 20 Nov 2004 20:16:24 GMT
ETag: “2006c2a0-2c-3e9564c23b600″
Accept-Ranges: bytes
Content-Length: 44
Connection: close
Content-Type: text/html
Length: 44 [text/html]
Remote file exists and could contain further links,
but recursion is disabled — not retrieving.

fuck !! 60.12.80.115:3128 是我在杭州的代理!!原来修改 chrome 的 network 配置,还影响了我平时的网络使用!!fuck !!!

Jan 13,2010.

g.cn , 好样的!!