<?php xml version="1.0" encoding="UTF-8"?> 
<feed xmlns="http://www.w3.org/2005/Atom">
<title type="html"><![CDATA[一又@CROSS [ SSORC.tw ]]]></title>
<subtitle type="html"><![CDATA[Just Blogging]]></subtitle>
<id>http://ssorc.tw</id> 
<link rel="alternate" type="text/html" href="http://ssorc.tw" /> 
<link rel="self" type="application/atom+xml" href="http://ssorc.twatom.php" /> 
<generator uri="http://www.f2blog.com/" version="1.2 build 03.01">F2Blog</generator> 
<updated>2010-08-26 10:23:24</updated> 
<entry>
  <title type="html"><![CDATA[阻擋ssh 一直被try -- knockd]]></title>
  <author>
	 <name>cross</name>
	 <uri>http://ssorc.twrewrite.php/read-1114.html</uri>
	 <email>cross@ssorc.tw</email>
  </author>
  <category term="" scheme="http://ssorc.twrewrite.php/category-34.html" label="Secutiry" /> 
  <updated>2010-08-26 10:23:24</updated>
  <published>2010-08-26 10:23:24</published>
  <content type='text'><![CDATA[<p>knock 顧明思義就是要先敲門才能進房間，<br /> <br /> knock 的作法是先定義出 12345 及 12346 等一個以上的port number，<br /> <br /> 並在限定的時間內完成依序對這些port 連線後，才去連ssh，即可以成功的登入<br /> <br /> *還沒研究</p>]]></content>
  <link rel="alternate" type="text/html" href="http://ssorc.twrewrite.php/read-1114.html" /> 
  <id>http://ssorc.twrewrite.php/read-1114.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[監控--nagiosQL]]></title>
  <author>
	 <name>cross</name>
	 <uri>http://ssorc.twrewrite.php/read-1113.html</uri>
	 <email>cross@ssorc.tw</email>
  </author>
  <category term="" scheme="http://ssorc.twrewrite.php/category-78.html" label="Network" /> 
  <updated>2010-08-26 08:52:24</updated>
  <published>2010-08-26 08:52:24</published>
  <content type='text'><![CDATA[<p><a href="http://www.nagiosql.org/">http://www.nagiosql.org/</a></p> <blockquote><div style="text-align: left; background-color: #f9fbfc; margin: 0px 0px 5px; width: auto; height: auto; overflow: auto; border: #c3ced9 1px solid"> <table border="0" class="contentpaneopen"> 	<tr> 		<td class="contentheading" width="100%">Features</td> 		<td class="buttonheading" width="100%" align="right"><a rel="nofollow" href="http://www.nagiosql.org/features.pdf" title="PDF" onclick="window.open(this.href,&#39;win2&#39;,&#39;status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=480,directories=no,location=no&#39;); return false;"></a>&nbsp;</td> 		<td class="buttonheading" width="100%" align="right"><a rel="nofollow" href="http://www.nagiosql.org/features.html?tmpl=component&amp;print=1&amp;page=" title="Print" onclick="window.open(this.href,&#39;win2&#39;,&#39;status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=480,directories=no,location=no&#39;); return false;"></a>&nbsp;</td> 		<td class="buttonheading" width="100%" align="right">&nbsp;</td> 	</tr> </table> <table border="0" class="contentpaneopen"> 	<tr> 		<td valign="top"><span class="small">Written by Rouven Homann </span>&nbsp;&nbsp;</td> 	</tr> 	<tr> 		<td class="createdate" valign="top">Friday, 14 March 2008 00:00</td> 	</tr> 	<tr> 		<td valign="top"> <p>NagiosQL is a web based administration tool for Nagios 2 and Nagios 3. It helps you to easily build a complex configuration with all options, manage and use them. NagiosQL is based on a webserver with PHP, MySQL and local file or remote access to the Nagios configuration files.</p> <p>The main features are:</p> <ul><li>create, delete, modify and copy settings </li><li>create and export configuration files </li><li>create and download configuration files </li><li>easy configuration import </li><li>auto backup configuration files </li><li>consistency checks </li><li>syntax verification </li><li>user management </li><li>instant activation of new configs </li><li>many translations</li><li>easy Installation Wizard</li><li>MySQL database platform </li></ul> </td> 	</tr> </table> </div></blockquote> <p>現在我只知道它是一個透過web介面來新增主機監控的管理工具，至於跟原nagios新增後的差別在那裡及怎麼將自已現有的nagios整合可能再要研究一下</p>]]></content>
  <link rel="alternate" type="text/html" href="http://ssorc.twrewrite.php/read-1113.html" /> 
  <id>http://ssorc.twrewrite.php/read-1113.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[我把f2blog新增留言或評論時預設是隱藏的]]></title>
  <author>
	 <name>cross</name>
	 <uri>http://ssorc.twrewrite.php/read-1112.html</uri>
	 <email>cross@ssorc.tw</email>
  </author>
  <category term="" scheme="http://ssorc.twrewrite.php/category-72.html" label="WWW" /> 
  <updated>2010-08-20 00:21:15</updated>
  <published>2010-08-20 00:21:15</published>
  <content type='text'><![CDATA[<p>修改 include 目錄裡的 guestbook.inc.php 及 replylogs.inc.php 檔</p> <p>尋找 insert字串，將 &quot;.encode($_POST[&#39;isSecret&#39;]).&quot; 改成 1</p> <p>這樣子就會顯示 &quot;該內容只有管理員可見 &quot;</p>]]></content>
  <link rel="alternate" type="text/html" href="http://ssorc.twrewrite.php/read-1112.html" /> 
  <id>http://ssorc.twrewrite.php/read-1112.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[入侵檢測自由軟件項目Snort停止開發 ???]]></title>
  <author>
	 <name>cross</name>
	 <uri>http://ssorc.twrewrite.php/read-1111.html</uri>
	 <email>cross@ssorc.tw</email>
  </author>
  <category term="" scheme="http://ssorc.twrewrite.php/category-34.html" label="Secutiry" /> 
  <updated>2010-07-22 15:33:26</updated>
  <published>2010-07-22 15:33:26</published>
  <content type='text'><![CDATA[ref:&nbsp;<a href="http://opensource.solidot.org/article.pl?sid=10/07/22/068207&amp;from=rss">http://opensource.solidot.org/article.pl?sid=10/07/22/068207&amp;from=rss</a><br /> <br /> <blockquote><div style="margin: 0px 0px 5px; overflow: auto; width: auto; height: auto; background-color: #f9fbfc; text-align: left; border: #c3ced9 1px solid">入侵檢測自由軟件項目Snort停止開發<br /> matrix發表於2010年7月22日14時12分星期四 matrix發表於2010年7月22日14時12分星期四&nbsp;&nbsp;<br /> 來自分叉叉叉叉叉部門 來自分叉叉叉叉叉部門<br /> &nbsp;Shawn the R0ck 寫道<br /> &quot;已有12年曆史的入侵檢測自由開源軟件項目Snort停止了開發了。由美國國土安全局建立的非盈利組織OISF(開發信息安全基金會)認為snort是進入&quot;老年&quot;，他們將開始開發新一代的IDS/IPS(入侵檢測/防禦系統)。但Snort的創建者Martin Roech 否認了這一說法 ，他稱這個禮拜OISF發布的第一個開放源代碼IDS/IPS項目Suricata 1.0簡直就是在做Snort曾經的工作，也就是說在浪費納稅人的錢。OISF成立不到2年，據主席Matt Jonkman得知，他們在國土安全局電子空間研究計劃(cybersecurity research program)中得到100萬美元的投入。Matt說OSIF的目的就是開發出Snort的替代品，Snort 3.0作為下一代Snort的計劃已經被推遲了。<br /> &nbsp;btw:Snort仍然非常強大，目前很多綜合安全平台都會多多少少使用Snort，只是不遵循GPL也很普遍，廠商的不道德行為由此體現。&quot; Shawn the R0ck寫道<br /> &quot;已有12年曆史的入侵檢測自由開源軟件項目Snort停止了開發了。由美國國土安全局建立的非盈利組織OISF(開發信息安全基金會)認為snort是進入&quot;老年&quot; ，他們將開始開發新一代的IDS/IPS(入侵檢測/防禦系統)。但Snort的創建者Martin Roech 否認了這一說法 ，他稱這個禮拜OISF發布的第一個開放源代碼IDS/IPS項目Suricata 1.0簡直就是在做Snort曾經的工作，也就是說在浪費納稅人的錢。OISF成立不到2年，據主席Matt Jonkman得知，他們在國土安全局電子空間研究計劃(cybersecurity research program)中得到100萬美元的投入。Matt說OSIF的目的就是開發出Snort的替代品，Snort 3.0作為下一代Snort的計劃已經被推遲了。<br /> &nbsp;btw:Snort仍然非常強大，目前很多綜合安全平台都會多多少少使用Snort，只是不遵循GPL也很普遍，廠商的不道德行為由此體現。&quot; </div></blockquote>]]></content>
  <link rel="alternate" type="text/html" href="http://ssorc.twrewrite.php/read-1111.html" /> 
  <id>http://ssorc.twrewrite.php/read-1111.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[網站流量統計 awstats 的外掛 jawstats，有圓形餅圖喔]]></title>
  <author>
	 <name>cross</name>
	 <uri>http://ssorc.twrewrite.php/read-1110.html</uri>
	 <email>cross@ssorc.tw</email>
  </author>
  <category term="" scheme="http://ssorc.twrewrite.php/category-72.html" label="WWW" /> 
  <updated>2010-07-22 12:25:28</updated>
  <published>2010-07-22 12:25:28</published>
  <content type='text'><![CDATA[<p>說明<br /> <br /> 。jawstats 是依靠著 awstats 的，所以必需先安裝awstats 才行<br /> <br /> 。jawstats 算是強化了原本 awstats 不足的地方，像是餅圖等<br /> <br /> 。可以先看官網的demo : <a href="http://demo.jawstats.com/">http://demo.jawstats.com/</a><br /> <br /> 安裝</p> <p><br /> 。下載: <a href="http://www.jawstats.com/download" target="_blank">http://www.jawstats.com/download</a><br /> <br /> 。將下載下來的檔案解開放到 /var/www/html/jawstats 或其它</p> <p><br /> 。複制 config.dist.php 為 config.php (在 jawstats目錄裡面)</p> <p><br /> 。編輯 config.php<!--more--></p> <blockquote><div style="margin: 0pt 0pt 5px; overflow: auto; width: auto; height: auto; background-color: #f9fbfc; text-align: left; border: #c3ced9 1px solid">&lt;?php<br /> <br /> &nbsp; // core config parameters<br /> &nbsp; $sDefaultLanguage&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &quot;zh-tw&quot;;<br /> &nbsp; $sConfigDefaultView&nbsp;&nbsp;&nbsp; = &quot;thismonth.all&quot;;<br /> &nbsp; $bConfigChangeSites&nbsp;&nbsp;&nbsp; = true;<br /> &nbsp; $bConfigUpdateSites&nbsp;&nbsp;&nbsp; = true;<br /> &nbsp; $sUpdateSiteFilename&nbsp;&nbsp; = &quot;xml_update.php&quot;;<br /> <br /> &nbsp; // individual site configuration<br /> &nbsp; $aConfig[&quot;ssorc.tw&quot;] = array(&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 將 site1 改為 ssorc.tw<br /> &nbsp;&nbsp;&nbsp; &quot;statspath&quot;&nbsp;&nbsp; =&gt; &quot;/var/lib/awstats/&quot;,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 根據 /etc/awstats/awstats.ssorc.tw.conf 內的 DirData 所定義的路徑<br /> &nbsp;&nbsp;&nbsp; &quot;updatepath&quot;&nbsp; =&gt; &quot;/path/awstats.pl&quot;,&nbsp;&nbsp;&nbsp; # 這個應該是用來線上更新統計的，再搭配 password&nbsp;的吧，不過我沒用它<br /> &nbsp;&nbsp;&nbsp; &quot;siteurl&quot;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; <a href="http://ssorc.tw/">http://ssorc.tw</a>,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# 給 <a href="http://ssorc.tw/">http://ssorc.tw</a><br /> &nbsp;&nbsp;&nbsp; &quot;sitename&quot;&nbsp;&nbsp;&nbsp; =&gt; &quot;ssorc.tw&quot;,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# 給 ssorc.tw<br /> &nbsp;&nbsp;&nbsp; &quot;theme&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; &quot;default&quot;,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 不動<br /> &nbsp;&nbsp;&nbsp; &quot;fadespeed&quot;&nbsp;&nbsp; =&gt; 250,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# 不動<br /> &nbsp;&nbsp;&nbsp; &quot;password&quot;&nbsp;&nbsp;&nbsp; =&gt; &quot;my-1st-password&quot;,&nbsp;&nbsp;&nbsp;&nbsp;# 不動<br /> &nbsp;&nbsp;&nbsp; &quot;includes&quot;&nbsp;&nbsp;&nbsp; =&gt; &quot;&quot;,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# 不動<br /> &nbsp;&nbsp;&nbsp; &quot;language&quot;&nbsp;&nbsp;&nbsp; =&gt; &quot;zh-tw&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 因為官網對於繁中翻譯只完成8%(暈倒)，所以可以從這<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# 裡<a href="http://blog.dgps.kh.edu.tw/blog/u882061/cce-linux/2009/12/27/1509">&nbsp;ttp://blog.dgps.kh.edu.tw/blog/u882061/cce-linux/2009/12/27/1509</a>&nbsp;下<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #&nbsp;載，解開後將 translations.php、zh-tw.js 放到 jawstats/languages 目錄裡<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #&nbsp;再將最上面的 $sDefaultLanguage&nbsp;&nbsp;及 這裡改成 zh-tw<br /> &nbsp; );<br /> <br /> /*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;如果還有其它的話底下有範例可以再新增<br /> &nbsp; $aConfig[&quot;site2&quot;] = array(<br /> &nbsp;&nbsp;&nbsp; &quot;statspath&quot;&nbsp;&nbsp; =&gt; &quot;/path/to/data/&quot;,<br /> &nbsp;&nbsp;&nbsp; &quot;updatepath&quot;&nbsp; =&gt; &quot;/path/to/awstats.pl/&quot;,<br /> &nbsp;&nbsp;&nbsp; &quot;siteurl&quot;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; &quot;http://www.my-2nd-domain.com&quot;,<br /> &nbsp;&nbsp;&nbsp; &quot;sitename&quot;&nbsp;&nbsp;&nbsp; =&gt; &quot;&quot;,<br /> &nbsp;&nbsp;&nbsp; &quot;theme&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; &quot;default&quot;,<br /> &nbsp;&nbsp;&nbsp; &quot;fadespeed&quot;&nbsp;&nbsp; =&gt; 250,<br /> &nbsp;&nbsp;&nbsp; &quot;password&quot;&nbsp;&nbsp;&nbsp; =&gt; &quot;my-2nd-password&quot;,<br /> &nbsp;&nbsp;&nbsp; &quot;includes&quot;&nbsp;&nbsp;&nbsp; =&gt; &quot;&quot;,<br /> &nbsp;&nbsp;&nbsp; &quot;language&quot;&nbsp;&nbsp;&nbsp; =&gt; &quot;en-gb&quot;<br /> &nbsp; );<br /> */<br /> <br /> ?&gt;</div></blockquote> <p>大功告成，可以瀏覽 <a href="http://ssorc.tw/jawstats">http://ssorc.tw/jawstats</a> 即可</p>]]></content>
  <link rel="alternate" type="text/html" href="http://ssorc.twrewrite.php/read-1110.html" /> 
  <id>http://ssorc.twrewrite.php/read-1110.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[Maia Mailguard - 防毒防垃圾信的郵件管理系統]]></title>
  <author>
	 <name>cross</name>
	 <uri>http://ssorc.twrewrite.php/read-1109.html</uri>
	 <email>cross@ssorc.tw</email>
  </author>
  <category term="" scheme="http://ssorc.twrewrite.php/category-65.html" label="Mail" /> 
  <updated>2010-07-22 11:08:15</updated>
  <published>2010-07-22 11:08:15</published>
  <content type='text'><![CDATA[<p>。網頁介面</p> <p>。搭配 amavisd-new、spamassassin</p> <p>。病毒信掃描、過濾垃圾信件</p> <p>更多細節: <a href="http://www.maiamailguard.com/maia/wiki/AboutMaia" target="_blank">http://www.maiamailguard.com/maia/wiki/AboutMaia</a></p>]]></content>
  <link rel="alternate" type="text/html" href="http://ssorc.twrewrite.php/read-1109.html" /> 
  <id>http://ssorc.twrewrite.php/read-1109.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[使用 WinAudit 抓出系統資訊]]></title>
  <author>
	 <name>cross</name>
	 <uri>http://ssorc.twrewrite.php/read-1107.html</uri>
	 <email>cross@ssorc.tw</email>
  </author>
  <category term="" scheme="http://ssorc.twrewrite.php/category-6.html" label="Windows" /> 
  <updated>2010-07-14 10:21:27</updated>
  <published>2010-07-14 10:21:27</published>
  <content type='text'><![CDATA[官網 <a href="http://www.pxserver.com/WinAudit.htm">http://www.pxserver.com/WinAudit.htm</a><br /> <br /> 下載&nbsp; WinAudit [Unicode]* <a href="http://winaudit.zymichost.com/winauditu.zip">http://winaudit.zymichost.com/winauditu.zip</a><br /> <br /> 。有繁中<br /> <br /> 。類似 Everest<br /> <br /> 。能列出系統中安裝的軟體，及其版本、路徑<br /> <br /> 。其它...<br /> <br /> 。我只能說它的報表真強啊]]></content>
  <link rel="alternate" type="text/html" href="http://ssorc.twrewrite.php/read-1107.html" /> 
  <id>http://ssorc.twrewrite.php/read-1107.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[IMSpector 側錄 MSN]]></title>
  <author>
	 <name>cross</name>
	 <uri>http://ssorc.twrewrite.php/read-1106.html</uri>
	 <email>cross@ssorc.tw</email>
  </author>
  <category term="" scheme="http://ssorc.twrewrite.php/category-34.html" label="Secutiry" /> 
  <updated>2010-07-12 23:37:48</updated>
  <published>2010-07-12 23:37:48</published>
  <content type='text'><![CDATA[<p>http://www.imspector.org/wordpress/</p> <p>。利用 proxy + router 的機制來側錄 MSN 內容</p> <p>。可以監控、擋掉、過濾 MSN 等即時通軟體的內容</p> <p>。現在支援 MSN, Jabber/XMPP, AIM, ICQ, Yahoo, IRC and Gadu-Gadu</p> <p>。 只支援 Linux 平台</p> <p>。可以記錄在 MySQL, SQLite and PostreSQL</p>]]></content>
  <link rel="alternate" type="text/html" href="http://ssorc.twrewrite.php/read-1106.html" /> 
  <id>http://ssorc.twrewrite.php/read-1106.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[[轉] exim 郵件伺服器--工作原理]]></title>
  <author>
	 <name>cross</name>
	 <uri>http://ssorc.twrewrite.php/read-1105.html</uri>
	 <email>cross@ssorc.tw</email>
  </author>
  <category term="" scheme="http://ssorc.twrewrite.php/category-65.html" label="Mail" /> 
  <updated>2010-07-07 10:43:19</updated>
  <published>2010-07-07 10:43:19</published>
  <content type='text'><![CDATA[<p>Quote:<a href="http://hilinux.com/man/debian/ch10s04.html" target="_blank">http://hilinux.com/man/debian/ch10s04.html</a></p> <blockquote><div style="margin: 0px 0px 5px; overflow: auto; width: auto; height: auto; background-color: #f9fbfc; text-align: left; border: #c3ced9 1px solid"> <p>Exim4被設計成能高效地、不間斷地在Internet上運行，而且能處理各種混合郵件。Exim4是如何投遞郵件和接收郵件的呢？有何安全机制能确保郵件的安全呢？這節將簡單介紹Exim4的工作原理。</p> <p>Exim4 處理的每封郵件都以一個16位字符的名稱標識，該標識由三部份組成，以&quot;-&quot;號分隔，如：1GS3YU-0000zG-Nd。這些字符是經過base編碼 的，第一部份的原始信息是接收郵件的時間，第二部份的原始信息是接收郵件的進程id，第三部份的信息與配置文件中localhost_number的設置 相關。標識名與時間和進程相關，有效保証了標識名的唯一性。</p> <p>Exim4通過基于TCP/IP的SMTP協議從其它主机收取郵件。 Exim4接收郵件后，會把郵件分成兩個文件保存在spool目錄，在我的机器上就是/var/spool/exim4/input/目錄。這兩個文件的 命名規則是郵件標識后加-D和-H。以-D結尾的文件保存著郵件正文的信息，以-H結尾的文件保存郵件的頭信息。在一些操作系統上，同一目錄下包含太多的 文件會造成性能問題，所以Exim4也可通過設置split_spool_directory選項，在input目錄下再創建62個子目錄來保存郵件信 息。這62個子目錄以單個字母和數字命名（26個小寫字母+26個大寫字母+10個數字共62個數字和字母）。這樣的設置，使郵件的排隊只在子目錄下進 行，而不是一個目錄所有郵件。所以即使在郵件量不大的情況下也能效提升郵件系統的性能。</p> <p>接收的郵件會停留在spool目錄直到郵件被傳遞到接收者或被管理員刪除。如果郵件不能被傳遞，則郵件會被打上&quot;frozen&quot;標記，並且不會再嘗試投遞 該郵件。但管理員可以設置 ignore_bounce_errors_after和timeout_frozen_after選項，指定一定時間后解除郵件的&quot;frozen&quot;狀 態。</p> <p>當Exim4處理郵件時會把處理過程的日志信息保存在/var/log/exim4目錄下。其中mainlog日志記錄了大量的信息，從中我們可以跟蹤 Exim4處理郵件的過程。在一個大負載的服務器上，生成大量的日志信息會影響服務器的性能，所以我們也可以用 no_message_logs參數禁止日志功能。</p> <p>router和transport是Exim4傳遞郵件過程中兩個重要的環節， router負責處理郵件地址，並把郵件傳遞給不同的transport作進一步處理，transport負責把spool中的郵件傳遞到目的地，完成投 遞過程。有兩種的transport，一種是本地transport，它的目的地是文件或者本机管道（pipe）；另一種transport是遠程 transport，它的目的地是遠程主机。如果一封郵件有多個接收者，則它可能會通過多個transport進行投遞。</p> <p>router和transport都有不同的driver，實現不同的功能。<!--more--></p> <p>router drivers：</p> <p>&nbsp;&nbsp;&nbsp; *</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; accept，<br /> &nbsp;&nbsp;&nbsp; *</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dnslookup，<br /> &nbsp;&nbsp;&nbsp; *</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ipliteral，<br /> &nbsp;&nbsp;&nbsp; *</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; iplookup，<br /> &nbsp;&nbsp;&nbsp; *</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; manualroute，<br /> &nbsp;&nbsp;&nbsp; *</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; queryprogram，<br /> &nbsp;&nbsp;&nbsp; *</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; redirect，</p> <p>transport drivers:</p> <p>&nbsp;&nbsp;&nbsp; *</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; appendfile，<br /> &nbsp;&nbsp;&nbsp; *</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; autoreply，<br /> &nbsp;&nbsp;&nbsp; *</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lmtp，<br /> &nbsp;&nbsp;&nbsp; *</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pipe<br /> &nbsp;&nbsp;&nbsp; *</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; smtp</p> <p>安裝與配置</p> <p>用以下命令安裝exim4郵件系統：</p> <p>debian:#~ apt-get install exim4 exim4-config exim4-daemon-light</p> <p>下載完成后會自動運行配置向導，我們也可運行dpkg-reconfigure exim4-confg命令配置Exim4服務器。exim4的配置文件位于/etc/exim4目錄下，update-exim4.conf.conf 文件的配置內容由上面的命令產生，經常改變的命令都集中在這里，而exim4.conf.template文件是Exim4的主配置文件，里面通過 DEBCONFsomethingDEBCONF的方式引用update-exim4.conf.conf文檔的something內容。</p> <p>exim4.conf.template是Exim4的配置文件，它以分段的格式組織各配置參數。一般的配置參數放在配置文件的最開頭，其它所有的可選配置參數都以&quot;beging+段名&quot;的形式作為段的開始標識。下面是一些可選段：</p> <p>&nbsp;&nbsp;&nbsp; *</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ACL，設置SMTP郵件的ACL（訪問控制列表）。<br /> &nbsp;&nbsp;&nbsp; *</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; authenticators，設置驗証模式。<br /> &nbsp;&nbsp;&nbsp; *</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; routers，設置不同的router，處理不同類型的郵件地址，並确定如何發送郵件。<br /> &nbsp;&nbsp;&nbsp; *</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; transports，設置不同的transport，把信息傳遞到不同的目的地。<br /> &nbsp;&nbsp;&nbsp; *</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; retry，設置重試的規則，當郵件不能馬上投遞時，我們可設置一些重試規則進行再次投遞。<br /> &nbsp;&nbsp;&nbsp; *</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rewrite，定義郵件地址的重寫規則。<br /> &nbsp;&nbsp;&nbsp; *</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; local_scan，使用local_scan()函數的功能。要用LOCAL_SCAN_HAS_OPTIONS=yes選項開啟。</p> <p>exim4的配置文件有兩種方式，一種是集中式的，所有的配置都集中在exim4.conf.template文件中，一種是分散式的，配置文件按功能不同分散成很多個文件存放在conf.d目錄下。一般建議新手使用集中式。</p> <p>下面是一個update-exim4.conf.conf的示例，它可通過debconf程序自動生成，生成后我們可用文本編輯器來修改它。這個示例把exim4配置成通過網上的smarthost來發送Internet郵件。</p> <p># /etc/exim4/update-exim4.conf.conf<br /> #<br /> # Edit this file and /etc/mailname by hand and execute update-exim4.conf<br /> # yourself or use &#39;dpkg-reconfigure exim4-config&#39;<br /> #<br /> # Please note that this is _not_ a dpkg-conffile and that automatic changes<br /> # to this file might happen. The code handling this will honor your local<br /> # changes, so this is usually fine, but will break local schemes that mess<br /> # around with multiple versions of the file.<br /> #<br /> # update-exim4.conf uses this file to determine variable values to replace<br /> # the DEBCONFsomethingDEBCONF strings in the configuration template files.<br /> #<br /> # Most settings found in here do have corresponding questions in the<br /> # Debconf configuration, but not all of them.<br /> #<br /> # This is a Debian specific file</p> <p>dc_eximconfig_configtype=&#39;smarthost&#39;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #用smarthost發信；通過SMTP或fetchmail接收信件<br /> dc_other_hostnames=&#39;&#39;<br /> dc_local_interfaces=&#39;127.0.0.1&#39;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #只接收本机的SMTP請求，只在本机使用Exim4<br /> dc_readhost=&#39;&#39;<br /> dc_relay_domains=&#39;&#39;<br /> dc_minimaldns=&#39;false&#39;<br /> dc_relay_nets=&#39;&#39;<br /> dc_smarthost=&#39;smtp.21cn.com&#39;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #遠程的SMTP主机，我們通過它來發送郵件<br /> CFILEMODE=&#39;644&#39;<br /> dc_use_split_config=&#39;false&#39;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #不使用分散方式的配置文件<br /> dc_hide_mailname=&#39;false&#39;<br /> dc_mailname_in_oh=&#39;true&#39;</p> <p>編輯/etc/mailname文檔，該文檔記錄你所發郵件的域名后綴。我的mailname只有一條記錄，內容如下：</p> <p>debian</p> <p>運行update-exim4.conf命令可以測試/etc/exim4下的配置文件有沒有語法錯誤，如果正常則會生成一個有效簡洁的配置文件備份，保存在/var/lib/exim4/config.autogenerated文件中，方便我們查看。</p> <p>用以下命令還可測試Exim4的配置有否出錯：</p> <p>debian:#~ exim4 -bV<br /> Exim version 4.63 #1 built 23-Aug-2006 17:21:47<br /> Copyright (c) University of Cambridge 2006<br /> Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (September 6, 2005)<br /> Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages<br /> Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch nis nis0 passwd<br /> Authenticators: cram_md5 plaintext<br /> Routers: accept dnslookup ipliteral manualroute queryprogram redirect<br /> Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp<br /> Fixed never_users: 0<br /> Size of off_t: 8<br /> Configuration file is /var/lib/exim4/config.autogenerated</p> <p>啟動exim4</p> <p>ebian:/etc/init.d# ./exim4 restart<br /> Stopping MTA for restart: exim4_listener.<br /> Restarting MTA: exim4.</p> <p>本地郵件發送測試：</p> <p>debian:~# exim4 -bt fax<br /> R: system_aliases for <a href="mailto:fax@debian">fax@debian</a><br /> R: userforward for <a href="mailto:fax@debian">fax@debian</a><br /> R: procmail for <a href="mailto:fax@debian">fax@debian</a><br /> R: maildrop for <a href="mailto:fax@debian">fax@debian</a><br /> R: local_user for <a href="mailto:fax@debian">fax@debian</a><br /> <a href="mailto:fax@debian">fax@debian</a><br /> router = local_user, transport = maildir_home</p> <p>外部郵件發送測試：</p> <p>debian:#~ exim4 -bt <a href="mailto:jims.yang@gmail.com">jims.yang@gmail.com</a><br /> R: smarthost for <a href="mailto:jims.yang@gmail.com">jims.yang@gmail.com</a><br /> <a href="mailto:jims.yang@gmail.com">jims.yang@gmail.com</a><br /> router = smarthost, transport = remote_smtp_smarthost<br /> host smtp.cdn.21cn.com [202.104.32.230]</p> <p>測試通過后，我們就可正式發送郵件啦。為了清楚顯示郵件的傳送過程，我們使用了-v參數。fax是我系統上的一個用戶，主机名為debian，所以fax用戶的本机郵件地址就是<a href="mailto:fax@debian">fax@debian</a>。</p> <p>debian:~# exim4 -v <a href="mailto:fax@debian">fax@debian</a><br /> from:root<br /> to:fax@debian<br /> subject:local mail test<br /> test will be ok.<br /> .<br /> LOG: MAIN<br /> &lt;= <a href="mailto:yjnet@21cn.com">yjnet@21cn.com</a> U=root P=local S=318<br /> debian:~# delivering 1GQemL-0001eD-Pq<br /> R: system_aliases for <a href="mailto:fax@debian">fax@debian</a><br /> R: userforward for <a href="mailto:fax@debian">fax@debian</a><br /> R: procmail for <a href="mailto:fax@debian">fax@debian</a><br /> R: maildrop for <a href="mailto:fax@debian">fax@debian</a><br /> R: local_user for <a href="mailto:fax@debian">fax@debian</a><br /> T: maildir_home for <a href="mailto:fax@debian">fax@debian</a><br /> LOG: MAIN<br /> =&gt; fax &lt;<a href="mailto:fax@debian">fax@debian</a>&gt; R=local_user T=maildir_home<br /> LOG: MAIN<br /> Completed</p> <p>出現Completed說明郵件已發送成功，切換到fax用戶我們就可以收到新的郵件啦。下面我們來試試發送Internet。在正式測試之前，我們還要做一些配置。因為通過smtp.21cn.com發送郵件是要經過用戶驗証的。</p> <p>&nbsp;&nbsp;&nbsp; *</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 把登錄smtp.21cn.com的用戶名和密碼寫入/etc/exim4/passwd.client文檔。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # password file used when the local exim is authenticating to a remote<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # host as a client.<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # see passwd_client(5) for more documentation<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Example:<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ### target.mail.server.example:login:password<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; smtp.cdn.21cn.com:yjnet:1234</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; smtp.cdn.21cn.com是真正的stmp服務器名，而smtp.21cn.com是別名。在這里一定要用真正的smtp服務器名，否則驗証不通過。如何知道真正的smtp服務器名呢？很簡單，用我們最常用的ping命令即可。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; debian:~# ping smtp.21cn.com<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PING smtp.cdn.21cn.com (202.104.32.230): 56 data bytes</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; yjnet是登錄用戶名，1234是登錄密碼。<br /> &nbsp;&nbsp;&nbsp; *</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 把系統用戶對應的外部郵件地址寫入/etc/exim4/email-addresses文件。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # This is /etc/email-addresses. It is part of the exim package<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # This file contains email addresses to use for outgoing mail. Any local<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # part not in here will be qualified by the system domain as normal.<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # It should contain lines of the form:<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #user: <a href="mailto:someone@isp.com">someone@isp.com</a><br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #otheruser: <a href="mailto:someoneelse@anotherisp.com">someoneelse@anotherisp.com</a><br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; root:yjnet@21cn.com</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 這里的外網郵件用戶名yjnet要與passwd.client中的登錄用戶名yjnet一致。如果不一致，會造成個別mail client不能正常發送郵件。<br /> &nbsp;&nbsp;&nbsp; *</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exim4 默認是不使用明文的驗証方式的，因為明文的密碼很容易在網上被截取。但smtp.cdn.21cn.com是使用明文驗証的，所以我們要打開exim4的 明文驗証模式。修改/etc/exim4/exim4.conf.template，加入 AUTH_CLIENT_ALLOW_NOTLS_PASSWORDS = 1配置參數。添加參數時要注意，一定要把該參數放到本配置小節的最開頭，這樣在后面才能有效引用該參數。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ######################################################################<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AUTHENTICATION CONFIGURATION&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ######################################################################</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; begin authenticators</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ....</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Because AUTH PLAIN and AUTH LOGIN send the password in clear, we<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # only allow these mechanisms over encrypted connections by default.<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # You can set AUTH_CLIENT_ALLOW_NOTLS_PASSWORDS to allow unencrypted<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # clear text password authentication on all connections.</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AUTH_CLIENT_ALLOW_NOTLS_PASSWORDS = 1</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ....</p> <p>配置完成要重啟exim4服務器使配置生效。下面我們就可測試用smtp.21cn.com服務器發郵件啦。</p> <p>debian:~# exim4 -v <a href="mailto:jims.yang@gmail.com">jims.yang@gmail.com</a><br /> from:yjnet@21cn.com<br /> to:jims.yang@gmail.com<br /> subject:test from exim4<br /> 測試郵件正文。<br /> .<br /> LOG: MAIN<br /> &lt;= <a href="mailto:yjnet@21cn.com">yjnet@21cn.com</a> U=root P=local S=327<br /> debian:~# delivering 1GQfnH-0001hE-PY<br /> R: smarthost for <a href="mailto:jims.yang@gmail.com">jims.yang@gmail.com</a><br /> T: remote_smtp_smarthost for <a href="mailto:jims.yang@gmail.com">jims.yang@gmail.com</a><br /> Connecting to smtp.cdn.21cn.com [202.104.32.230]:25 ... connected<br /> SMTP&lt;&lt; 220 21cn.com SMTP Server 5 of AIMC 2.9.5.2 (DELAYED).<br /> SMTP&gt;&gt; EHLO debian<br /> SMTP&lt;&lt; 250-21cn.com, helo (DELAYED)<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 250-EXPN<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 250-HELP<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 250-8BITMIME<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 250-AUTH=LOGIN PLAIN<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 250-AUTH LOGIN PLAIN<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 250 XTMD<br /> SMTP&gt;&gt; AUTH PLAIN ****************<br /> SMTP&lt;&lt; 504 Unknown authentication mechanism<br /> LOG: MAIN<br /> plain authenticator failed H=smtp.cdn.21cn.com [202.104.32.230] 504 Unknown authentication mechanism<br /> SMTP&gt;&gt; AUTH LOGIN<br /> SMTP&lt;&lt; 334 VXNlcm5hbWU6<br /> SMTP&gt;&gt; ********<br /> SMTP&lt;&lt; 334 UGFzc3dvcmQ6<br /> SMTP&gt;&gt; ********<br /> SMTP&lt;&lt; 235 OK Authenticated<br /> SMTP&gt;&gt; MAIL FROM:&lt;<a href="mailto:yjnet@21cn.com">yjnet@21cn.com</a>&gt; <a href="mailto:AUTH=root@debian">AUTH=root@debian</a><br /> SMTP&lt;&lt; 250 Ok<br /> SMTP&gt;&gt; RCPT TO:&lt;<a href="mailto:jims.yang@gmail.com">jims.yang@gmail.com</a>&gt;<br /> SMTP&lt;&lt; 250 User &lt;<a href="mailto:jims.yang@gmail.com">jims.yang@gmail.com</a>&gt; is not local, will forward to &lt;64.233.167.114:25&gt;.<br /> SMTP&gt;&gt; DATA<br /> SMTP&lt;&lt; 354 Start mail input; end with &lt;CRLF&gt;.&lt;CRLF&gt;<br /> SMTP&gt;&gt; writing message and terminating &quot;.&quot;<br /> SMTP&lt;&lt; 250 Requested mail action okay, completed. Message-ID=&lt;<a href="mailto:E1GQfnH-0001hE-PY@debian">E1GQfnH-0001hE-PY@debian</a>&gt;<br /> SMTP&gt;&gt; QUIT<br /> LOG: MAIN<br /> =&gt; <a href="mailto:jims.yang@gmail.com">jims.yang@gmail.com</a> R=smarthost T=remote_smtp_smarthost H=smtp.cdn.21cn.com [202.104.32.230]<br /> LOG: MAIN<br /> Completed</p> <p>成功發送。</p> </div></blockquote>]]></content>
  <link rel="alternate" type="text/html" href="http://ssorc.twrewrite.php/read-1105.html" /> 
  <id>http://ssorc.twrewrite.php/read-1105.html</id> 
</entry>	
<entry>
  <title type="html"><![CDATA[google搜尋是如何運作的]]></title>
  <author>
	 <name>cross</name>
	 <uri>http://ssorc.twrewrite.php/read-1104.html</uri>
	 <email>cross@ssorc.tw</email>
  </author>
  <category term="" scheme="http://ssorc.twrewrite.php/category-72.html" label="WWW" /> 
  <updated>2010-07-06 17:37:55</updated>
  <published>2010-07-06 17:37:55</published>
  <content type='text'><![CDATA[參考 <a href="http://ppcblog.com/how-google-works/">http://ppcblog.com/how-google-works/</a><br /> <br /> 。從我們開始key in 搜尋字串至顯示結果，這中間 google 作了那些事情<br /> <br /> 。英文圖片]]></content>
  <link rel="alternate" type="text/html" href="http://ssorc.twrewrite.php/read-1104.html" /> 
  <id>http://ssorc.twrewrite.php/read-1104.html</id> 
</entry>	
</feed>