存档

文章标签 ‘IP’

显示Gmail发信人时区

2009年4月9日

Gmail Labs新推出了一项功能Sender time zone ,可以方便地查看发信人所在时区时间,在Gmail Labs中打开它,然后在邮件中点击show details就可以看见发信人所在时区时间了。绿色电话表示方便沟通,显示红色电话时表示发信人应该在睡觉或者离开。猜想应该通过邮件头中的Date域来判别的。

然而,我们在Googel Reader(等等)里用email分享文章时候,在邮件头中显示的并不是发信人的时区,而是Googel Reader外发邮件服务器的,这就产生了误判,你可以在Google reader里给自己发封邮件重现之。看下上面这份帖子的邮件头:

Received: by 10.100.108.16 with SMTP id g16cs62702anc;
Wed, 8 Apr 2009 20:55:35 -0700 (PDT)

Received: from mr.google.com ([10.229.105.20])
by 10.229.105.20 with SMTP id r20mr1763231qco.8.1239249335573 (num_hops = 1);
Wed, 08 Apr 2009 20:55:35 -0700 (PDT)

Received: by 10.229.105.20 with SMTP id r20mr255572qco.8.1239249327216;
Wed, 08 Apr 2009 20:55:27 -0700 (PDT)

Received: by 10.177.2.5 with SMTP id e5gr101415yqi.0;
Wed, 08 Apr 2009 20:55:26 -0700 (PDT)

X-Sender: 3rXHdSQsJBEYuqiw.ozipiuouiqt.kwuniv0owwotmozw2×0.kwu@feedreader.bounces.google.com

X-Apparently-To: fans@googlegroups.com

Received: by 10.90.95.18 with SMTP id s18mr1256989agb.28.1239249325843; Wed, 08 Apr 2009 20:55:25 -0700 (PDT)

Return-Path: <3rXHdSQsJBEYuqiw.ozipiuouiqt.kwuniv0owwotmozw2×0.kwu@feedreader.bounces.google.com>

Received: from mail-gx0-f229.google.com (mail-gx0-f229.google.com [209.85.217.229]) by gmr-mx.google.com with ESMTP id 39si525226yxd.9.2009.04.08.20.55.25; Wed, 08 Apr 2009 20:55:25 -0700 (PDT)

Received: by gxk13e070377e with SMTP id 13so1330943gxk.2 for <fans@googlegroups.com>; Wed, 08 Apr 2009 20:55:25 -0700 (PDT)

Received: by 10.150.49.15 with SMTP id w15mr1283942ybw.22.1239249325751; Wed, 08 Apr 2009 20:55:25 -0700 (PDT)

Date: Thu, 09 Apr 2009 03:55:25 +0000

可以看到邮件是从209.85.217.229发出的,用ip工具可以看到该ip确实是在-0700,而不是+0000。但是奇怪Date域为什么不设置为-0700 (PDT),而是+0000。

建议:如果Google Reader能根据我的ip在发信时候自动将Date域转换成我的时区就NB了。

标签: , ,

Blogspot和Google的ip地址

2007年4月10日

在前面文章《如何绕过GFW访问blogspot》、《GFW、TOR、自动代理配置脚本》里都介绍了如何运用自动代理配置脚本。下面这段代码在网上也广为流传:

function FindProxyForURL(url,host){
if(dnsDomainIs(host, ".blogspot.com"))
{return "PROXY 72.14.219.190:80";}
}

呵呵,用的人多了,难免引起GFW的注意。
其实不仅仅72.14.219.190这个ip适用上面的代码,经测试其他未被gfwed的google ip地址都可以代替使用。为防患于未然,附录列出了一部分google服务器的ip地址,此ip地址段来自月光博客,在此谢过。点击下面的ip,只要可以打开Google主页的,都可以代入上面代码使用。

btw:自动代理配置脚本一般在firefox下地址应写成 file:///C:/proxy.pac ,而在ie下应写为file://C:proxy.pac 。网上其他文章介绍时一般都只说明了firefox下如何设置,只字不提ie,你可不要弄错了哦。

附录:Google的IP地址一览表:

http://216.239.37.103 http://216.239.57.99 http://64.233.187.107
http://216.239.37.105 http://216.239.59.103 http://64.233.187.89
http://216.239.37.106 http://216.239.59.104 http://64.233.187.99
http://216.239.37.107 http://216.239.59.105 http://66.102.11.104
http://216.239.39.100 http://216.239.59.106 http://66.102.11.105
http://216.239.39.102 http://216.239.59.107 http://66.102.11.106
http://216.239.39.103 http://216.239.59.147 http://66.102.11.107
http://216.239.39.106 http://216.239.59.98 http://66.102.11.99
http://216.239.39.107 http://216.239.59.99 http://66.102.7.104
http://216.239.51.100 http://216.239.63.104 http://66.102.7.105
http://216.239.51.103 http://216.239.63.91 http://66.102.7.106
http://216.239.53.102 http://216.239.63.93 http://66.102.7.107
http://216.239.53.103 http://216.239.63.99 http://66.102.7.147
http://216.239.53.104 http://64.233.161.104 http://66.102.7.18
http://216.239.53.106 http://64.233.161.105 http://66.102.7.19
http://216.239.53.107 http://64.233.161.106 http://66.102.7.89
http://216.239.53.99 http://64.233.161.107 http://66.102.7.91
http://216.239.55.102 http://64.233.161.89 http://66.102.7.95
http://216.239.57.103 http://64.233.163.104 http://66.102.7.99
http://216.239.57.104 http://64.233.163.106 http://66.102.9.104
http://216.239.57.105 http://64.233.163.99 http://66.102.9.105
http://216.239.57.106 http://64.233.183.91 http://66.102.9.106
http://216.239.57.107 http://64.233.183.93 http://66.102.9.107
http://216.239.57.147 http://64.233.183.99 http://66.102.9.147
http://216.239.57.98 http://64.233.187.104 http://66.102.9.99
标签: