<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ftofficer&#124;张聪的blog &#187; mail</title>
	<atom:link href="http://blog.ftofficer.com/tag/mail/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ftofficer.com</link>
	<description>A Newbie on the Way</description>
	<lastBuildDate>Sun, 12 Dec 2010 14:35:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<cloud domain='blog.ftofficer.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>如果SMTP支持发送邮件的断点续传……</title>
		<link>http://blog.ftofficer.com/2007/12/%e5%a6%82%e6%9e%9csmtp%e6%94%af%e6%8c%81%e5%8f%91%e9%80%81%e9%82%ae%e4%bb%b6%e7%9a%84%e6%96%ad%e7%82%b9%e7%bb%ad%e4%bc%a0%e2%80%a6%e2%80%a6/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://blog.ftofficer.com/2007/12/%e5%a6%82%e6%9e%9csmtp%e6%94%af%e6%8c%81%e5%8f%91%e9%80%81%e9%82%ae%e4%bb%b6%e7%9a%84%e6%96%ad%e7%82%b9%e7%bb%ad%e4%bc%a0%e2%80%a6%e2%80%a6/#comments</comments>
		<pubDate>Fri, 07 Dec 2007 18:17:00 +0000</pubDate>
		<dc:creator>Zhang Cong</dc:creator>
				<category><![CDATA[杂感]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[thinking]]></category>

		<guid isPermaLink="false">http://blog.ftofficer.com/?p=9914</guid>
		<description><![CDATA[上周末同学来南京考试，顺便就在南京玩了两天，照了一些照片，今天打算打包传过去。结果如何通过我的64Kb(b哦，不是B)上传带宽的ADSL传这么个70M的东西还真让我头疼了一阵子。 先是尝试QQ的传送文件，但是因为她在教育网，我在公网，速度慢的一塌糊涂，估计需要2小时+才可以传过去。自然我是没有耐心等的。然后尝试使用邮件，发现GMail支持27MB的邮件大小，换算起来应该是20M不到一点的附件大小（考虑base64编码带来的开销是4/3），所以把照片分卷打包，然后尝试用GMail的在线邮件撰写，插入附件，点击发送，然后浏览器不出所料地超时了。既然Web不行，那么就走SMTP协议吧。偏偏要通过GMail的邮件服务器的话需要让这些字节绕半个地球，还必须要走SSL加密的链路，安全是安全，但是慢啊，而且加密这种东西，完全就是CPU密集的操作，结果就是导致邮件一发送就占用100% CPU。这样也就算了，大不了我放一边让它传去。结果进度条缓慢推进到80%左右(40分钟+之后)，弹出对话框“无法连接服务器，服务器超时”。当时晕掉。 怎么办呢？找一个近一点的SMTP服务器吧。VPN到公司？说不定还不如GMail。这时候想起来当时在学校的时候还有校友信箱。南京和合肥也不算远，而且校友信箱的SMTP也是电信出口，禁用掉SSL应该会快一点。 但是这个服务器只支持10000000字节的邮件大小，换算一下就是7M不到的附件，最后只能打成6M的分卷包，发了11封邮件。估计同学也会郁闷死。 折腾半天还终于算是把它们发出去了。等下回头看看有没有退信通知。:) 回头想想，如果SMTP有断点续传多好。至少这样我前面的40分钟+的时间就不至于浪费了。按理说这种东西应该有人想到过了，搜索了一下果然有一个SMTP扩展是做这个事情的： RFC 1845 SMTP Service Extension for Checkpoint/Restart 不过看了看状态，还是Experimental（实验）。说是实验性质的，那就是没几个MTA实现了的。事实上也是，搜索了一下，似乎不是“没几个”，而是看起来根本没有。 记忆当中还有一个RFC是关于邮件切分的，一时找不到了。回头再找找。 但是关键还是：有多少人实现了呢？至少我看到GMail的邮件服务器没有实现之。 sigh&#8230;为什么SMTP就没有断点续传。 你也许会喜欢： CALL指令有多少种写法 最近的生活 你有几个名字 &#8211; 谈谈圈子问题 最近的生活 诺顿误杀事件的一点想法]]></description>
			<content:encoded><![CDATA[<p>上周末同学来南京考试，顺便就在南京玩了两天，照了一些照片，今天打算打包传过去。结果如何通过我的64Kb(b哦，不是B)上传带宽的ADSL传这么个70M的东西还真让我头疼了一阵子。</p>
<p>先是尝试QQ的传送文件，但是因为她在教育网，我在公网，速度慢的一塌糊涂，估计需要2小时+才可以传过去。自然我是没有耐心等的。然后尝试使用邮件，发现GMail支持27MB的邮件大小，换算起来应该是20M不到一点的附件大小（考虑base64编码带来的开销是4/3），所以把照片分卷打包，然后尝试用GMail的在线邮件撰写，插入附件，点击发送，然后浏览器不出所料地超时了。既然Web不行，那么就走SMTP协议吧。偏偏要通过GMail的邮件服务器的话需要让这些字节绕半个地球，还必须要走SSL加密的链路，安全是安全，但是慢啊，而且加密这种东西，完全就是CPU密集的操作，结果就是导致邮件一发送就占用100% CPU。这样也就算了，大不了我放一边让它传去。结果进度条缓慢推进到80%左右(40分钟+之后)，弹出对话框“无法连接服务器，服务器超时”。当时晕掉。</p>
<p>怎么办呢？找一个近一点的SMTP服务器吧。VPN到公司？说不定还不如GMail。这时候想起来当时在学校的时候还有校友信箱。南京和合肥也不算远，而且校友信箱的SMTP也是电信出口，禁用掉SSL应该会快一点。</p>
<p>但是这个服务器只支持10000000字节的邮件大小，换算一下就是7M不到的附件，最后只能打成6M的分卷包，发了11封邮件。估计同学也会郁闷死。</p>
<p>折腾半天还终于算是把它们发出去了。等下回头看看有没有退信通知。:)</p>
<p>回头想想，如果SMTP有断点续传多好。至少这样我前面的40分钟+的时间就不至于浪费了。按理说这种东西应该有人想到过了，搜索了一下果然有一个SMTP扩展是做这个事情的：</p>
<p><a target="_blank" href="ftp://ftp.rfc-editor.org/in-notes/rfc1845.txt">RFC 1845 SMTP Service Extension for Checkpoint/Restart</a></p>
<p>不过看了看状态，还是Experimental（实验）。说是实验性质的，那就是没几个MTA实现了的。事实上也是，搜索了一下，似乎不是“没几个”，而是看起来根本没有。</p>
<p>记忆当中还有一个RFC是关于邮件切分的，一时找不到了。回头再找找。</p>
<p>但是关键还是：有多少人实现了呢？至少我看到GMail的邮件服务器没有实现之。</p>
<p>sigh&#8230;为什么SMTP就没有断点续传。</p>
<p><strong>你也许会喜欢：</strong>
<ul class="similar-posts">
<li><a href="http://blog.ftofficer.com/2010/04/n-forms-of-call-instructions/" rel="bookmark" title="2010年04月4日">CALL指令有多少种写法</a></li>
<li><a href="http://blog.ftofficer.com/2007/12/%e6%9c%80%e8%bf%91%e7%9a%84%e7%94%9f%e6%b4%bb-2/" rel="bookmark" title="2007年12月15日">最近的生活</a></li>
<li><a href="http://blog.ftofficer.com/2007/12/%e4%bd%a0%e6%9c%89%e5%87%a0%e4%b8%aa%e5%90%8d%e5%ad%97-%e8%b0%88%e8%b0%88%e5%9c%88%e5%ad%90%e9%97%ae%e9%a2%98/" rel="bookmark" title="2007年12月30日">你有几个名字 &#8211; 谈谈圈子问题</a></li>
<li><a href="http://blog.ftofficer.com/2009/06/%e6%9c%80%e8%bf%91%e7%9a%84%e7%94%9f%e6%b4%bb/" rel="bookmark" title="2009年06月1日">最近的生活</a></li>
<li><a href="http://blog.ftofficer.com/2007/05/%e8%af%ba%e9%a1%bf%e8%af%af%e6%9d%80%e4%ba%8b%e4%bb%b6%e7%9a%84%e4%b8%80%e7%82%b9%e6%83%b3%e6%b3%95/" rel="bookmark" title="2007年05月20日">诺顿误杀事件的一点想法</a></li>
</ul>
<p><!-- Similar Posts took 20.478 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ftofficer.com/2007/12/%e5%a6%82%e6%9e%9csmtp%e6%94%af%e6%8c%81%e5%8f%91%e9%80%81%e9%82%ae%e4%bb%b6%e7%9a%84%e6%96%ad%e7%82%b9%e7%bb%ad%e4%bc%a0%e2%80%a6%e2%80%a6/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Google adds Postini security into hosted apps offering</title>
		<link>http://blog.ftofficer.com/2007/10/google-adds-postini-security-into-hosted-apps-offering/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://blog.ftofficer.com/2007/10/google-adds-postini-security-into-hosted-apps-offering/#comments</comments>
		<pubDate>Wed, 03 Oct 2007 08:24:00 +0000</pubDate>
		<dc:creator>Zhang Cong</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[industry]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://blog.ftofficer.com/?p=9895</guid>
		<description><![CDATA[http://www.news.com/8301-10784_3-9789901-7.html Google is beefing up its outsourced e-mail offering aimed at corporations and universities, adding security features that large companies demand. Three weeks after closing its acquisition of Postini, Google has integrated the company&#8217;s security and government regulation services into Google Apps Premier Edition. That suite includes hosted e-mail, calendar, instant messaging, Docs &#38; Spreadsheets [...]]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" href="http://www.news.com/8301-10784_3-9789901-7.html">http://www.news.com/8301-10784_3-9789901-7.html</a><a target="_blank" href="http://www.news.com/8301-10784_3-9789901-7.html"></a><br />
<blockquote>
<p>
Google is beefing up its outsourced e-mail offering aimed at<br />
corporations and universities, adding security features that large<br />
companies demand. </p>
<p>
Three weeks after closing its acquisition of Postini, Google has<br />
integrated the company&#8217;s security and government regulation services<br />
into Google Apps Premier Edition. That suite includes hosted e-mail,<br />
calendar, instant messaging, Docs &amp; Spreadsheets and Web page<br />
creation software. </p>
</blockquote>
<p>Google的hosted application suite的确是一个非常有意思的创意。而现在其中加上了Anti-Spam和Anti-Virus的自定义，是不是看起来Google应该成为比Microsoft更大的一个安全行业的竞争对手了呢？</p>
<p><strong>你也许会喜欢：</strong>
<ul class="similar-posts">
<li><a href="http://blog.ftofficer.com/2007/10/when-web-2-0-meets-computer-1-0/" rel="bookmark" title="2007年10月5日">When Web 2.0 Meets Computer 1.0</a></li>
<li><a href="http://blog.ftofficer.com/2010/01/google-to-shutdown-china-office/" rel="bookmark" title="2010年01月13日">Google可能要撤出中国市场</a></li>
<li><a href="http://blog.ftofficer.com/2007/12/2008%e5%b9%b4%e6%ac%a7%e6%b4%b2%e6%9d%af%e6%97%a5%e5%8e%86/" rel="bookmark" title="2007年12月3日">2008年欧洲杯日历</a></li>
<li><a href="http://blog.ftofficer.com/2007/09/gmail-cookie-vulnerability-exposes-users-privacy/" rel="bookmark" title="2007年09月28日">Gmail cookie vulnerability exposes user&#8217;s privacy</a></li>
<li><a href="http://blog.ftofficer.com/2007/10/%e9%83%bd%e6%98%afintel%e6%97%a0%e7%ba%bf%e7%bd%91%e5%8d%a1%e9%a9%b1%e5%8a%a8%e6%83%b9%e5%be%97%e7%a5%b8/" rel="bookmark" title="2007年10月27日">都是Intel无线网卡驱动惹得祸</a></li>
</ul>
<p><!-- Similar Posts took 8.244 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ftofficer.com/2007/10/google-adds-postini-security-into-hosted-apps-offering/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gmail cookie vulnerability exposes user&#8217;s privacy</title>
		<link>http://blog.ftofficer.com/2007/09/gmail-cookie-vulnerability-exposes-users-privacy/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://blog.ftofficer.com/2007/09/gmail-cookie-vulnerability-exposes-users-privacy/#comments</comments>
		<pubDate>Thu, 27 Sep 2007 16:25:00 +0000</pubDate>
		<dc:creator>Zhang Cong</dc:creator>
				<category><![CDATA[安全]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[vulnerability]]></category>

		<guid isPermaLink="false">http://blog.ftofficer.com/?p=9894</guid>
		<description><![CDATA[又一起Gmail的XSS问题。 http://www.news.com/Gmail-cookie-vulnerability-exposes-users-privacy/2100-1002_3-6210353.html?part=rss&#38;tag=2547-1_3-0-20&#38;subj=news Petko Petkov of &#34;ethical hacking&#34; group GNUCitizen has developed a proof-of-concept program to steal contacts and incoming e-mails from Google Gmail users. &#34;This can be used to forward all your incoming e-mail,&#34; Pure Hacking security researcher Chris Gatford said. &#34;It&#8217;s just a proof of concept at the moment, but what they&#8217;re demonstrating is [...]]]></description>
			<content:encoded><![CDATA[<p>又一起Gmail的XSS问题。</p>
<p><a target="_blank" href="http://www.news.com/Gmail-cookie-vulnerability-exposes-users-privacy/2100-1002_3-6210353.html?part=rss&amp;tag=2547-1_3-0-20&amp;subj=news">http://www.news.com/Gmail-cookie-vulnerability-exposes-users-privacy/2100-1002_3-6210353.html?part=rss&amp;tag=2547-1_3-0-20&amp;subj=news</a><br />
<blockquote><i>Petko Petkov of &quot;ethical hacking&quot; group GNUCitizen has developed a proof-of-concept program to steal contacts and incoming e-mails from Google Gmail users.</p>
<p>&quot;This can be used to forward all your incoming e-mail,&quot; Pure Hacking security researcher Chris Gatford said. &quot;It&#8217;s just a proof of concept at the moment, but what they&#8217;re demonstrating is the potential to use this vulnerability for malicious purposes.&quot;</p>
<p>According to Gatford, attackers could compromise a Gmail account&#8211;using a cross-site scripting vulnerability&#8211;if the victim is logged in and clicks on a malicious link. From that moment, the attacker can take over the session cookies for Gmail and subsequently forward all the account&#8217;s messages to a POP account. </p>
<p>[...]<br />
&quot;People do use private accounts to store work information,&quot; IBRS security analyst James Turner said.</p>
<p>[...]<br />&quot;When you have organizations like Google spending countless man-hours<br />
reducing security vulnerabilities&#8230;you can imagine how bad the actual<br />
situation is for other organizations,&quot; Gatford said.</i></p></blockquote>
<p>通过XSS注入到当前的Web应用程序当中，然后执行程序，窃取Cookie，进而窃取隐私。非常简单的经典的攻击方式。但是在Web的世界里，Cookie就是一切隐私，也是唯一的隐私。这是一个很大的问题。</p>
<p>这种问题很像传统安全问题里面的权限提升，本质是使用某种诸如手段让自己的代码可以运行在其他人的安全上下文当中。在Web世界里，这个问题更加严重：毕竟在桌面系统上面伪造安全令牌时非常复杂的，但是在浏览器尚上，一旦获取到Cookie，伪造会变得非常容易。</p>
<p>进而考虑一下，传统的安全问题当中，恶意代码提升权限的目的是为了能够做更多的事情，例如对用户计算机的完全的特权访问。在Web安全当中，这个问题有些类似，通过XSS的方式，代码可以以“当前用户”的身份做更多的事情，例如，去感染更多的用户。</p>
<p>随着Web应用程序越来越流行，这种安全问题最终会变得很严重：试想一下，有一天，你的计算机（如果还可以称为计算机的话）上面不需要有硬盘，不需要太多的内存，你需要的只是一个固化在ROM里面的浏览器——Web终端，通过高速的电缆或无线信号连接到互联网。你真正的数据都存储在网络上面的数据中心当中——在那里有无法计数的海量存储设备；你通过访问互联网上无处不在的Web应用程序来访问和处理这些数据。我可以用在线RSS阅读器读取网络上各种各样的blog文章；可以通过在线的视频点播或者电视系统观看电视节目；甚至你可以将自己的照片、视频、文档统统保存在互联网上，以便可以在各处查阅。</p>
<p>这时候的互联网就是一个操作系统，但是，你所有的隐私，都基于一些Cookie——存储在浏览器当中的一些短小的字符串。Cookie，就是你的一切隐私。</p>
<p>这是个很大的问题。</p>
<p><strong>你也许会喜欢：</strong>
<ul class="similar-posts">
<li><a href="http://blog.ftofficer.com/2007/05/%e5%ae%89%e5%85%a8%e4%ba%a7%e4%b8%9a%e6%9c%aa%e6%9d%a5%e7%9a%84%e4%bb%b7%e5%80%bc/" rel="bookmark" title="2007年05月9日">安全产业未来的价值</a></li>
<li><a href="http://blog.ftofficer.com/2010/01/google-to-shutdown-china-office/" rel="bookmark" title="2010年01月13日">Google可能要撤出中国市场</a></li>
<li><a href="http://blog.ftofficer.com/2007/06/google-safe-browsing-api-demo/" rel="bookmark" title="2007年06月24日">Google Safe Browsing API Demo</a></li>
<li><a href="http://blog.ftofficer.com/2007/12/%e5%a6%82%e6%9e%9csmtp%e6%94%af%e6%8c%81%e5%8f%91%e9%80%81%e9%82%ae%e4%bb%b6%e7%9a%84%e6%96%ad%e7%82%b9%e7%bb%ad%e4%bc%a0%e2%80%a6%e2%80%a6/" rel="bookmark" title="2007年12月8日">如果SMTP支持发送邮件的断点续传……</a></li>
<li><a href="http://blog.ftofficer.com/2007/06/%e6%b5%8f%e8%a7%88%e5%99%a8%e5%92%8cweb%e6%9d%82%e8%b0%88/" rel="bookmark" title="2007年06月26日">浏览器和Web杂谈</a></li>
</ul>
<p><!-- Similar Posts took 11.871 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ftofficer.com/2007/09/gmail-cookie-vulnerability-exposes-users-privacy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

