<?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>stephenyeong&#039;s blog &#187; 網絡</title>
	<atom:link href="http://www.stephenyeong.idv.hk/wp/category/network/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stephenyeong.idv.hk/wp</link>
	<description>Blog about my IT life</description>
	<lastBuildDate>Mon, 06 Feb 2012 13:41:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>TP-Link(s)</title>
		<link>http://www.stephenyeong.idv.hk/wp/2012/02/tp-link-s/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2012/02/tp-link-s/#comments</comments>
		<pubDate>Sun, 05 Feb 2012 04:36:59 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[網絡]]></category>
		<category><![CDATA[TP-Link]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=1041</guid>
		<description><![CDATA[今年買了很多TPLink 的產品 5Port Giga Hubs （因為裝了BB1000加了個BBTV 要在客廳加多一個Gigabit port&#8230;) 450Mbps Dual Band Wireless PCI-E Adapter （行OpenWrt用） 3支8DBi 天線（OpenWrt 用） 300Mbps WirelessN USB Adapter （為了試300Mbps 2T2R所以買了） 其實以網絡產品而言，TP-Link算做得唔錯了。]]></description>
			<content:encoded><![CDATA[<fb:like href='http://www.stephenyeong.idv.hk/wp/2012/02/tp-link-s/' send='false' layout='standard' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida+grande'></fb:like><p>今年買了很多TPLink 的產品</p>
<ol>
<li>5Port Giga Hubs （因為裝了BB1000加了個BBTV 要在客廳加多一個Gigabit port&#8230;)</li>
<li>450Mbps Dual Band Wireless PCI-E Adapter （行OpenWrt用）</li>
<li>3支8DBi 天線（OpenWrt 用）</li>
<li>300Mbps WirelessN USB Adapter （為了試300Mbps 2T2R所以買了）</li>
</ol>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/02/DSC02293.jpg" rel="lightbox[1041]" title="SONY DSC"><img class="alignnone  wp-image-1042" title="SONY DSC" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/02/DSC02293-1024x680.jpg" alt="" width="614" height="408" /></a></p>
<p>其實以網絡產品而言，TP-Link算做得唔錯了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2012/02/tp-link-s/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenWrt (2 SSID) + pfSense + ESXi</title>
		<link>http://www.stephenyeong.idv.hk/wp/2012/01/openwrt2ssid-pfsense-esxi/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2012/01/openwrt2ssid-pfsense-esxi/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 20:17:48 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[ESXi]]></category>
		<category><![CDATA[pfsense]]></category>
		<category><![CDATA[其他]]></category>
		<category><![CDATA[網絡]]></category>
		<category><![CDATA[OpenWrt]]></category>
		<category><![CDATA[Wireless Guest Zone]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=989</guid>
		<description><![CDATA[因為手上的Wireless LAN 卡可以開幾個SSID，所以決定玩多一樣  ﹣Guest Zone。 先在ESXi 內開多一個VMNetwork &#8211; Guest 並且設定好Security ﹣Promiscuous Mode＝Accept。 並且在現有的pfSense VM及OpenWrt VM各加多一個e1000 Network Interface 並連接到Guest Zone。 OpenWrt 設定好新增的e1000界面及開多一個Bridge Interface  br-Guest Wireless 加多一個SSID叫OpenWrtGuest，設定好一個易記的WPA Preshared Key 並開橋接到br-guest。 由於是Guest Zone，使用者不可以進入OpenWrt Web管理界面，所以Interface Protocol設定為Unmanaged pfSense方面，同樣設定好Interface。IP、DHCP Server、Proxy Server。 最後設定Firewall Rules ，Guest Network 除了不能進入LAN Network、Management界面外，其他Traffic 就Accept。 &#160; &#160; &#160;]]></description>
			<content:encoded><![CDATA[<fb:like href='http://www.stephenyeong.idv.hk/wp/2012/01/openwrt2ssid-pfsense-esxi/' send='false' layout='standard' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida+grande'></fb:like><p>因為手上的Wireless LAN 卡可以開幾個SSID，所以決定玩多一樣  ﹣Guest Zone。</p>
<p>先在ESXi 內開多一個VMNetwork &#8211; Guest 並且設定好Security ﹣Promiscuous Mode＝Accept。</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/vSwitch3-and-Guest-Zone.png" rel="lightbox[989]" title="vSwitch3 and Guest Zone"><img class="alignnone size-full wp-image-994" title="vSwitch3 and Guest Zone" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/vSwitch3-and-Guest-Zone.png" alt="" width="378" height="121" /></a></p>
<p>並且在現有的pfSense VM及OpenWrt VM各加多一個e1000 Network Interface 並連接到Guest Zone。</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/VM-pfSense.png" rel="lightbox[989]" title="VM pfSense"><img class="alignnone  wp-image-995" title="VM pfSense" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/VM-pfSense.png" alt="" width="452" height="241" /></a></p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/VM-OpenWrt.png" rel="lightbox[989]" title="VM OpenWrt"><img class="alignnone  wp-image-996" title="VM OpenWrt" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/VM-OpenWrt.png" alt="" width="456" height="222" /></a></p>
<p>OpenWrt 設定好新增的e1000界面及開多一個Bridge Interface  br-Guest</p>
<p><img class="alignnone  wp-image-992" title="OpenWrt LAN Interfaces" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/OpenWrt-LAN-Interfaces.png" alt="" width="594" height="444" /></p>
<p>Wireless 加多一個SSID叫OpenWrtGuest，設定好一個易記的WPA Preshared Key 並開橋接到br-guest。</p>
<p><img class="alignnone  wp-image-991" title="OpenWrt Wireless" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/OpenWrt-Wireless.png" alt="" width="594" height="444" /></p>
<p>由於是Guest Zone，使用者不可以進入OpenWrt Web管理界面，所以Interface Protocol設定為Unmanaged</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/OpenWrt-Interface-Guest.png" rel="lightbox[989]" title="OpenWrt Interface Guest"><img class="wp-image-997  alignnone" title="OpenWrt Interface Guest" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/OpenWrt-Interface-Guest.png" alt="" width="479" height="215" /></a></p>
<p>pfSense方面，同樣設定好Interface。IP、DHCP Server、Proxy Server。</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/pfSense-Interfaces.png" rel="lightbox[989]" title="pfSense Interfaces"><img class="alignnone  wp-image-993" title="pfSense Interfaces" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/pfSense-Interfaces.png" alt="" width="673" height="442" /></a></p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/Screen-Shot-2012-01-12-at-3.57.10-AM.png" rel="lightbox[989]" title="DHCP Server Settings"><img class="alignnone  wp-image-998" title="DHCP Server Settings" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/Screen-Shot-2012-01-12-at-3.57.10-AM.png" alt="" width="654" height="407" /></a></p>
<p>最後設定Firewall Rules ，Guest Network 除了不能進入LAN Network、Management界面外，其他Traffic 就Accept。</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/Screen-Shot-2012-01-12-at-4.13.03-AM.png" rel="lightbox[989]" title="pfSense Firewall"><img class="alignnone  wp-image-999" title="pfSense Firewall" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/Screen-Shot-2012-01-12-at-4.13.03-AM.png" alt="" width="571" height="261" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2012/01/openwrt2ssid-pfsense-esxi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ESXi 下的Open-Wrt Access Point</title>
		<link>http://www.stephenyeong.idv.hk/wp/2012/01/openwrt-ap/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2012/01/openwrt-ap/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 02:42:19 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[ESXi]]></category>
		<category><![CDATA[網絡]]></category>
		<category><![CDATA[OpenWrt]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=973</guid>
		<description><![CDATA[首先，由openwrt.org下載 virtual disk image http://downloads.openwrt.org/backfire/10.03.1/x86_generic/openwrt-x86-generic-combined-ext2.vmdk 盡量下載最新版本，因為module 是跟版本的。試過10.02 的ath9k driver 是不能驅動TP-LINK TL-WDN4800 (AR9380) 。 Virtual Machine 建立一部VM，Other 2.6.x Linux (32bit) RAM: 32MB HDD: 直接用剛下載的vmdk, LAN: Intel e1000 PCI Device: Wireless LAN card 啟動Virtual Machine 後，如網絡環境的IP不是192.168.1.1/24，可以在Console 輸入以下command修改IP ifconfig br-lan [ip] netmask [netmask] Configuration 用Browser 進入router IP，設定 LAN IP、Netmask以及root password 作為AP，LAN的DHCP應該停用。 Network-&#62;Interface-&#62;LAN-&#62;DHCP Server, Disable DHCP for this interface [...]]]></description>
			<content:encoded><![CDATA[<fb:like href='http://www.stephenyeong.idv.hk/wp/2012/01/openwrt-ap/' send='false' layout='standard' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida+grande'></fb:like><p><span style="font-family: 'ＭＳ 明朝';">首先，由openwrt.org下載 virtual disk image <a href="http://downloads.openwrt.org/backfire/10.03.1/x86_generic/openwrt-x86-generic-combined-ext2.vmdk">http://downloads.openwrt.org/backfire/10.03.1/x86_generic/openwrt-x86-generic-combined-ext2.vmdk</a></span></p>
<p>盡量下載最新版本，因為module 是跟版本的。試過10.02 的ath9k driver 是不能驅動TP-LINK TL-WDN4800 (AR9380) 。</p>
<p><strong>Virtual Machine</strong></p>
<p>建立一部VM，Other 2.6.x Linux (32bit)</p>
<ul>
<li>RAM: 32MB</li>
<li>HDD: 直接用剛下載的vmdk,</li>
<li>LAN: Intel e1000</li>
<li>PCI Device: Wireless LAN card</li>
</ul>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/Guest-Setting.png" rel="lightbox[973]" title="Guest Setting"><img class="alignnone  wp-image-974" style="border-style: initial; border-color: initial; border-width: 0px;" title="Guest Setting" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/Guest-Setting.png" alt="" width="490" height="433" /></a></p>
<p><strong><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/vmdirectpath.png" rel="lightbox[973]" title="vmdirectpath"><img class="alignnone  wp-image-975" title="vmdirectpath" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/vmdirectpath.png" alt="" width="351" height="420" /></a></strong></p>
<p>啟動Virtual Machine 後，如網絡環境的IP不是192.168.1.1/24，可以在Console 輸入以下command修改IP</p>
<blockquote><p>ifconfig br-lan [ip] netmask [netmask]</p></blockquote>
<p><strong>Configuration</strong></p>
<p>用Browser 進入router IP，設定 LAN IP、Netmask以及root password</p>
<p><img class="alignnone  wp-image-976" title="Login" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/Login.png" alt="" width="626" height="424" /></p>
<p>作為AP，LAN的DHCP應該停用。<br />
Network-&gt;Interface-&gt;LAN-&gt;DHCP Server, Disable DHCP for this interface</p>
<p><strong>Packages</strong><br />
可以REMOVE iptables 因為bridge 沒用</p>
<p>Install packages</p>
<ul>
<li>wpad-mini (WPA-PSK 必需)</li>
<li>kmod-ath9k (Wireless LAN driver，視乎用什麼卡)</li>
</ul>
<p>reboot  一次再設定Wireless Lan card</p>
<p><strong>Wireless Lan</strong></p>
<p>最基本只需要設定ESSID及Wireless Security。並且將Network 加入到 lan (bridge with LAN)</p>
<p><img class="alignnone  wp-image-977" title="Interface Config ESSID bridge LAN" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/Interface-Config-ESSID-bridge-LAN.png" alt="" width="589" height="187" /></p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/WPA.png" rel="lightbox[973]" title="WPA"><img class="alignnone  wp-image-978" title="WPA" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/WPA.png" alt="" width="589" height="105" /></a></p>
<p><strong>vSwitch Security</strong></p>
<p>最後一步，就是設定vmware 的vSwitch Security頁內的Promiscuous Mode 一定要設定為Accept，否則wireless client不能Bridge 到LAN zone，全部OpenWrt MAC以外的packet會被 drop.</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/VCENTER-Screen-Capture.png" rel="lightbox[973]" title="VCENTER Screen Capture"><img class="alignnone  wp-image-982" title="VCENTER Screen Capture" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/VCENTER-Screen-Capture.png" alt="" width="527" height="221" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2012/01/openwrt-ap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Home server Oct 2011</title>
		<link>http://www.stephenyeong.idv.hk/wp/2011/10/home-server-oct-2011/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2011/10/home-server-oct-2011/#comments</comments>
		<pubDate>Thu, 13 Oct 2011 02:00:16 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[ESXi]]></category>
		<category><![CDATA[i5/i7]]></category>
		<category><![CDATA[網絡]]></category>
		<category><![CDATA[Dell]]></category>
		<category><![CDATA[NAS]]></category>
		<category><![CDATA[Perc H700]]></category>
		<category><![CDATA[pfsense]]></category>
		<category><![CDATA[RAID]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=898</guid>
		<description><![CDATA[終於等到 H700 所需的Sff-8087 寫住Home server 的上半Part先 Hardware MB-  MSI Z68A-G45 B3 CPU &#8211; Intel i7-2600 Memory &#8211; 4GB DDR3 1333 x 4 HBA &#8211; Dell PERC H700 512MB with BBU Disk &#8211; 2TB SATA HDD x5 (3 Brand 4 Models, RAID 5, 2 Logical Disk) NIC &#8211; Broadcom NetXtreme II 5709 Dual Port GbE, onboard [...]]]></description>
			<content:encoded><![CDATA[<fb:like href='http://www.stephenyeong.idv.hk/wp/2011/10/home-server-oct-2011/' send='false' layout='standard' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida+grande'></fb:like><p>終於等到 H700 所需的Sff-8087<br />
寫住Home server 的上半Part先</p>
<p>Hardware</p>
<ul>
<li>MB-  MSI Z68A-G45 B3</li>
<li>CPU &#8211; Intel i7-2600</li>
<li>Memory &#8211; 4GB DDR3 1333 x 4</li>
<li>HBA &#8211; Dell PERC H700 512MB with BBU</li>
<li>Disk &#8211; 2TB SATA HDD x5 (3 Brand 4 Models, RAID 5, 2 Logical Disk)</li>
<li>NIC &#8211; Broadcom NetXtreme II 5709 Dual Port GbE, onboard Realtek 8111D</li>
<li>Power &#8211; Antek 380W Power Supply</li>
</ul>
<p>Software</p>
<ul>
<li>Host &#8211; vmware ESXi 5</li>
<li>guest &#8211; pfSense 2.0</li>
<li>guest &#8211; Server 2008R2 as NAS</li>
</ul>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/10/DSC2344-e1318473672989.jpg" rel="lightbox[898]" title="side chassis view"><img class="alignnone size-large wp-image-899" title="side chassis view" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/10/DSC2344-1024x680.jpg" alt="" width="598" height="396" /></a></p>
<p>Side view, overcrowded</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/10/DSC2349-e1318473635673.jpg" rel="lightbox[898]" title="MSI Z68A-G45, cheapest Z68 ATX board with VT-d BIOS option"><img class="alignnone size-large wp-image-901" title="MSI Z68A-G45, cheapest Z68 ATX board with VT-d BIOS option" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/10/DSC2349-1024x680.jpg" alt="" width="598" height="396" /></a></p>
<p>MSI Z680A-G45 (B3), HK$9xx have VT-d</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/10/DSC2352-e1318471855379.jpg" rel="lightbox[898]" title="Dell H700"><img class="alignnone size-large wp-image-902" title="Dell H700" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/10/DSC2352-1024x680.jpg" alt="" width="598" height="396" /></a></p>
<p>Dell PERC H700</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/10/DSC2348-e1318473652158.jpg" rel="lightbox[898]" title="ESXi 5 installed on 2GB USB"><img class="alignnone size-large wp-image-900" title="ESXi 5 installed on 2GB USB" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/10/DSC2348-1024x680.jpg" alt="" width="598" height="396" /></a></p>
<p>ESXi installed on 2GB USB Flash, in picture also have H700 battery backup unit.</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/10/DSC2354-e1318471828724.jpg" rel="lightbox[898]" title="Front View"><img class="alignnone size-large wp-image-903" title="Front View" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/10/DSC2354-680x1024.jpg" alt="" width="396" height="598" /></a></p>
<p>Front view &#8211; the FAN controller lower the HDD Case fan noise</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/10/LSI-offline-bundle.png" rel="lightbox[898]" title="LSI offline bundle"><img class="alignnone size-large wp-image-905" title="LSI offline bundle" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/10/LSI-offline-bundle-1024x768.png" alt="" width="598" height="396" /></a></p>
<p>Installed LSI CIM Provider, can view card status</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/10/can-run-vt-d.png" rel="lightbox[898]" title="can run vt-d"><img class="size-large wp-image-904 alignnone" title="can run vt-d" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/10/can-run-vt-d-1024x769.png" alt="" width="598" height="396" /></a></p>
<p>VT-d enabled in BIOS, can mark device for vmdirectpath I/O</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2011/10/home-server-oct-2011/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MD-MRTG</title>
		<link>http://www.stephenyeong.idv.hk/wp/2011/09/md-mrtg/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2011/09/md-mrtg/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 15:51:04 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[網絡]]></category>
		<category><![CDATA[mdaemon]]></category>
		<category><![CDATA[RRD]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=764</guid>
		<description><![CDATA[原本上星期已有構思，想寫一個插件加到MDaemon去將收到郵件的數量返影給MRTG/CACTI 等rrdgraph。 因為只有rrdgraph才可以有助分析Server 繁忙時間分佈。 找了一會, 想用MDaemon 的guicounts.dat 內數據用WebService Publish 出去. 再找了一會, 找到一個2006件的project MD-MRTG 雖然舊少少, 部份設定不是很好。但經一番修改後總算可以使用。 修改內容如下 index.html font size and graph size double (new target screen width &#62; 1280) Web Session folder path (non default location) Graph Max Value of (POP3 session, Mail In/Out, Spam, Network Bandwidth) Inbound count method support Hash directory (sub directory) 唔睇都唔知, [...]]]></description>
			<content:encoded><![CDATA[<fb:like href='http://www.stephenyeong.idv.hk/wp/2011/09/md-mrtg/' send='false' layout='standard' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida+grande'></fb:like><p>原本上星期已有構思，想寫一個插件加到MDaemon去將收到郵件的數量返影給MRTG/CACTI 等rrdgraph。<br />
因為只有rrdgraph才可以有助分析Server 繁忙時間分佈。</p>
<p>找了一會, 想用MDaemon 的guicounts.dat 內數據用WebService Publish 出去.<br />
再找了一會, 找到一個2006件的project <a title="MD-MRTG" href="http://www.everything-mdaemon.com/mdaemon/plugins/md-mrtg-version-110">MD-MRTG</a></p>
<p>雖然舊少少, 部份設定不是很好。但經一番修改後總算可以使用。<br />
修改內容如下</p>
<ol>
<li>index.html font size and graph size double (new target screen width &gt; 1280)</li>
<li>Web Session folder path (non default location)</li>
<li>Graph Max Value of (POP3 session, Mail In/Out, Spam, Network Bandwidth)</li>
<li>Inbound count method support Hash directory (sub directory)</li>
</ol>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/09/192.168.4.65-screen-capture-2011-9-22-23-27-53.png" rel="lightbox[764]" title="192.168.4.65 screen capture 2011-9-22-23-27-53"><img class="alignnone size-medium wp-image-765" title="192.168.4.65 screen capture 2011-9-22-23-27-53" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/09/192.168.4.65-screen-capture-2011-9-22-23-27-53-300x285.png" alt="" width="300" height="285" /></a></p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/09/Mail.png" rel="lightbox[764]" title="Mail"><br />
<img class="alignnone size-medium wp-image-766" title="Mail" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/09/Mail-300x247.png" alt="" width="300" height="247" /></a></p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/09/Spam.png" rel="lightbox[764]" title="Spam"><br />
<img class="alignnone size-medium wp-image-767" title="Spam" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/09/Spam-284x300.png" alt="" width="284" height="300" /></a></p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/09/Spam.png"><br />
</a></p>
<p>唔睇都唔知, POP3 Session / hour 可以上到28K、SMTP IN 也有近8.5K。<br />
晚上原來有近半的EMAIL是垃圾。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2011/09/md-mrtg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>世界盃2010, HKIX流量達122Gbps</title>
		<link>http://www.stephenyeong.idv.hk/wp/2010/06/worldcup2010-hkix/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2010/06/worldcup2010-hkix/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 08:37:58 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[網絡]]></category>
		<category><![CDATA[hkix]]></category>
		<category><![CDATA[RRD]]></category>
		<category><![CDATA[worldcup2010]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=629</guid>
		<description><![CDATA[今日因為小問題要CHECK一吓HKIX. 突然發覺個Switching Statistics個樣唔同左. http://www.hkix.net/hkix/stat/aggt/hkix-aggregate.html `Daily&#8217; Graph (5 Minute Average) 張5分鐘圖成張FLAT左. 之前個Y Axis 是30G &#8211; 120G, 今日個Graph 是30G &#8211; 220G. 再睇Monthly Graph，2小時平均個Peak比兩星期前多了20Gbps (大約多了 20%) `Monthly&#8217; Graph (2 Hour Average) 一年圖就更加明顯了. `Yearly&#8217; Graph (1 Day Average) 如果RRD Graph有移動平均線就好了. 可以見到個勢]]></description>
			<content:encoded><![CDATA[<fb:like href='http://www.stephenyeong.idv.hk/wp/2010/06/worldcup2010-hkix/' send='false' layout='standard' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida+grande'></fb:like><p>今日因為小問題要CHECK一吓HKIX. 突然發覺個Switching Statistics個樣唔同左.</p>
<p><a href="http://www.hkix.net/hkix/stat/aggt/hkix-aggregate.html">http://www.hkix.net/hkix/stat/aggt/hkix-aggregate.html</a></p>
<p><strong>`Daily&#8217; Graph (5 Minute Average)</strong><br />
張5分鐘圖成張FLAT左. 之前個Y Axis 是30G &#8211; 120G, 今日個Graph 是30G &#8211; 220G.</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/06/hkix-5min-avg.png" rel="lightbox[629]" title="hkix-5min-avg"><img class="alignnone size-full wp-image-632" title="hkix-5min-avg" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/06/hkix-5min-avg.png" alt="" width="697" height="288" /></a></p>
<p>再睇Monthly Graph，2小時平均個Peak比兩星期前多了20Gbps (大約多了 20%)<br />
<strong>`Monthly&#8217; Graph (2 Hour Average)</strong></p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/06/hkix-2hr-chart.png" rel="lightbox[629]" title="hkix-2hr-chart"><img class="alignnone size-full wp-image-631" title="hkix-2hr-chart" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/06/hkix-2hr-chart.png" alt="" width="697" height="316" /></a></p>
<p>一年圖就更加明顯了.<strong><br />
`Yearly&#8217; Graph (1 Day Average)</strong></p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/06/hkix-1dayAvg.png" rel="lightbox[629]" title="hkix-1dayAvg"><img class="alignnone size-full wp-image-630" title="hkix-1dayAvg" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/06/hkix-1dayAvg.png" alt="" width="697" height="316" /></a></p>
<p>如果RRD Graph有移動平均線就好了. 可以見到個勢</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2010/06/worldcup2010-hkix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NAS 2010 Final</title>
		<link>http://www.stephenyeong.idv.hk/wp/2010/03/nas-2010-final/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2010/03/nas-2010-final/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 14:17:16 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[網絡]]></category>
		<category><![CDATA[Openfiler]]></category>
		<category><![CDATA[RAID]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=567</guid>
		<description><![CDATA[等埋第二隻WINGSONIC MRA508同DELL SAS 6i 隻NAS終於可以UPGRADE了. 原本RAID5是4隻1TB (3TB 可用), 加多兩隻1.5TB (每隻只用1TB個RAID) 成為5TB儲存空間. Rebuild 做得多，EMC FC SAN grow 也試過，LINUX 實機RAID5 grow 就第一次。 每隻HDD 14MB/s 寫入, 1TB Disk就要 1,000,000MB / 14 / 3600 = 19hr 才完.]]></description>
			<content:encoded><![CDATA[<fb:like href='http://www.stephenyeong.idv.hk/wp/2010/03/nas-2010-final/' send='false' layout='standard' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida+grande'></fb:like><p>等埋第二隻WINGSONIC MRA508同DELL SAS 6i 隻NAS終於可以UPGRADE了.</p>
<p>原本RAID5是4隻1TB (3TB 可用), 加多兩隻1.5TB (每隻只用1TB個RAID) 成為5TB儲存空間.</p>
<p>Rebuild 做得多，EMC FC SAN grow 也試過，LINUX 實機RAID5 grow 就第一次。<br />
每隻HDD 14MB/s 寫入, 1TB Disk就要 1,000,000MB / 14 / 3600 = 19hr 才完.<br />

<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/expend-raid.png" title="由4碟RAID5轉換至6碟RAID5" rel="lightbox[singlepic383]" >
	<img class="ngg-singlepic" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/cache/383__320x240_expend-raid.png" alt="Expending RAID" title="Expending RAID" />
</a>
</p>

<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/expend-raid2.png" title="Expending RAID#2" rel="lightbox[singlepic384]" >
	<img class="ngg-singlepic" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/cache/384__320x240_expend-raid2.png" alt="Expending RAID#2" title="Expending RAID#2" />
</a>


<div class="ngg-galleryoverview" id="ngg-gallery-28-567">

	<!-- Slideshow link -->
	<div class="slideshowlink">
		<a class="slideshowlink" href="http://www.stephenyeong.idv.hk/wp/2010/03/nas-2010-final/?show=slide">
			[Show as slideshow]		</a>
	</div>

	<!-- Piclense link -->
	<div class="piclenselink">
		<a class="piclenselink" href="javascript:PicLensLite.start({feedUrl:'http://www.stephenyeong.idv.hk/wp/wp-content/plugins/nextgen-gallery/xml/media-rss.php?gid=28&amp;mode=gallery'});">
			[View with PicLens]		</a>
	</div>
	
	<!-- Thumbnails -->
		
	<div id="ngg-image-369" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/wingsonic-mra508/dsc9146.jpg" title="MSR508" rel="lightbox[set_28]" >
								<img title="dsc9146" alt="dsc9146" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/wingsonic-mra508/thumbs/thumbs_dsc9146.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-370" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/wingsonic-mra508/dsc9147.jpg" title="Unlock" rel="lightbox[set_28]" >
								<img title="dsc9147" alt="dsc9147" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/wingsonic-mra508/thumbs/thumbs_dsc9147.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-371" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/wingsonic-mra508/dsc9149.jpg" title="Locked" rel="lightbox[set_28]" >
								<img title="dsc9149" alt="dsc9149" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/wingsonic-mra508/thumbs/thumbs_dsc9149.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-372" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/wingsonic-mra508/dsc9150.jpg" title="免TRAY HOTSWAP" rel="lightbox[set_28]" >
								<img title="dsc9150" alt="dsc9150" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/wingsonic-mra508/thumbs/thumbs_dsc9150.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-373" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/wingsonic-mra508/dsc9152.jpg" title="12CM FAN." rel="lightbox[set_28]" >
								<img title="dsc9152" alt="dsc9152" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/wingsonic-mra508/thumbs/thumbs_dsc9152.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-374" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/wingsonic-mra508/dsc9154.jpg" title="inside view" rel="lightbox[set_28]" >
								<img title="dsc9154" alt="dsc9154" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/wingsonic-mra508/thumbs/thumbs_dsc9154.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-clear'></div>
 	
</div>



<div class="ngg-galleryoverview" id="ngg-gallery-29-567">

	<!-- Slideshow link -->
	<div class="slideshowlink">
		<a class="slideshowlink" href="http://www.stephenyeong.idv.hk/wp/2010/03/nas-2010-final/?show=slide">
			[Show as slideshow]		</a>
	</div>

	<!-- Piclense link -->
	<div class="piclenselink">
		<a class="piclenselink" href="javascript:PicLensLite.start({feedUrl:'http://www.stephenyeong.idv.hk/wp/wp-content/plugins/nextgen-gallery/xml/media-rss.php?gid=29&amp;mode=gallery'});">
			[View with PicLens]		</a>
	</div>
	
	<!-- Thumbnails -->
		
	<div id="ngg-image-378" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/dsc9979.jpg" title="兩隻WINGSONIC MRA508" rel="lightbox[set_29]" >
								<img title="2xMRA508" alt="2xMRA508" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/thumbs/thumbs_dsc9979.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-379" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/dsc9983.jpg" title="塊主機板相對機相有點細" rel="lightbox[set_29]" >
								<img title="ITX ATOM" alt="ITX ATOM" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/thumbs/thumbs_dsc9983.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-380" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/dsc9985.jpg" title="DELL SAS 6i = LSI 1068 SAS" rel="lightbox[set_29]" >
								<img title="SAS6i" alt="SAS6i" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/thumbs/thumbs_dsc9985.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-381" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/dsc9987.jpg" title="Antec EarthWatt 380 80Plus" rel="lightbox[set_29]" >
								<img title="EA380" alt="EA380" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/thumbs/thumbs_dsc9987.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-382" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/dsc9989.jpg" title="完成" rel="lightbox[set_29]" >
								<img title="Finish" alt="Finish" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/thumbs/thumbs_dsc9989.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-383" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/expend-raid.png" title="由4碟RAID5轉換至6碟RAID5" rel="lightbox[set_29]" >
								<img title="Expending RAID" alt="Expending RAID" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/thumbs/thumbs_expend-raid.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-384" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/expend-raid2.png" title="Expending RAID#2" rel="lightbox[set_29]" >
								<img title="Expending RAID#2" alt="Expending RAID#2" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/thumbs/thumbs_expend-raid2.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-377" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/after-expend.png" title="resize 完RAID後, 用指令放大個XFS,
見到SHARE VOLUME 大了." rel="lightbox[set_29]" >
								<img title="After Expend" alt="After Expend" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/thumbs/thumbs_after-expend.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-376" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/after-expend-smb-speed.png" title="由Network share 下載檔案, 有50MB/s" rel="lightbox[set_29]" >
								<img title="SMB Test" alt="SMB Test" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/thumbs/thumbs_after-expend-smb-speed.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-375" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/after-expend-ftp-read.png" title="用FTP下載檔案, 基本上快過測試電腦的寫入速度. " rel="lightbox[set_29]" >
								<img title="FTP TEST" alt="FTP TEST" src="http://www.stephenyeong.idv.hk/wp/wp-content/gallery/2010-03-25-nas-final/thumbs/thumbs_after-expend-ftp-read.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-clear'></div>
 	
</div>


]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2010/03/nas-2010-final/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Email 到 yahoo.com 的問題</title>
		<link>http://www.stephenyeong.idv.hk/wp/2010/03/yahoo-mail-problem/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2010/03/yahoo-mail-problem/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 08:11:22 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[網絡]]></category>
		<category><![CDATA[mdaemon]]></category>
		<category><![CDATA[smtp]]></category>
		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=560</guid>
		<description><![CDATA[繼上年YAHOO.COM.CN個Outdated Bogon BGP 事件, 同YAHOO的 technical support 交手以後. 今年又要面對 YAHOO.COM 的postmaster. 因為見到有幾封十幾MB的郵件在mail server loop 了很久，才發現 send 到 yahoo.com 經常發生drop connection 的問題. 大郵件發送到YAHOO.COM會無原因地被對方斷開。由於沒有 SMTP Status code*1，E Mail server 會即時重試另一MX*2。 YAHOO.COM 的DNS記錄總共有 8個 MX RECORD。如事者，一封20MB 的電郵每次會傳到YAHOO.COM 的 8個 MX IP，每個IP傳20MB資料。 我地Server 每半小時重試一次，24小時不能成功遞送才會放棄。 即是寄一封20MB的信件到YAHOO.COM會花了20MB x 8 x 2 x 24 = 7.68GB的bandwidth。平均全日0.7Mbps (7680MB * 8bit / 86400sec). 以Singtel [...]]]></description>
			<content:encoded><![CDATA[<fb:like href='http://www.stephenyeong.idv.hk/wp/2010/03/yahoo-mail-problem/' send='false' layout='standard' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida+grande'></fb:like><p>繼上年YAHOO.COM.CN個Outdated Bogon BGP 事件, 同YAHOO的 technical support 交手以後. 今年又要面對 YAHOO.COM 的postmaster.</p>
<p>因為見到有幾封十幾MB的郵件在mail server loop 了很久，才發現 send 到 yahoo.com 經常發生drop connection 的問題.</p>
<p>大郵件發送到YAHOO.COM會無原因地被對方斷開。由於沒有 SMTP Status code*1，E Mail server 會即時重試另一MX*2。 YAHOO.COM 的DNS記錄總共有 8個 MX RECORD。如事者，一封20MB 的電郵每次會傳到YAHOO.COM 的 8個 MX IP，每個IP傳20MB資料。</p>
<p>我地Server 每半小時重試一次，24小時不能成功遞送才會放棄。</p>
<p>即是寄一封20MB的信件到YAHOO.COM會花了20MB x 8 x 2 x 24 = 7.68GB的bandwidth。平均全日0.7Mbps (7680MB * 8bit / 86400sec).</p>
<p>以Singtel 去海外每Mbps每月約$1,000計算, 一封信花了$1,000 * 0.7 / 30 = $23.</p>
<pre>*1 Enhanced Mail System Status Codes - rfc3463
*2 MX = Mail Exchange - rfc1035</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2010/03/yahoo-mail-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>直接同DELL買的Broadcom 5709</title>
		<link>http://www.stephenyeong.idv.hk/wp/2010/03/broadcom-5709/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2010/03/broadcom-5709/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 12:38:03 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[網絡]]></category>
		<category><![CDATA[Dell]]></category>
		<category><![CDATA[pfsense]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=526</guid>
		<description><![CDATA[不是淘返來的 Broadcom 5709 Dual port GbE, 有iSCSI offload, 行PCI-E x8]]></description>
			<content:encoded><![CDATA[<fb:like href='http://www.stephenyeong.idv.hk/wp/2010/03/broadcom-5709/' send='false' layout='standard' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida+grande'></fb:like><p>不是淘返來的 Broadcom 5709 Dual port GbE, 有iSCSI offload, 行PCI-E x8</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/03/DSC8857.jpg" rel="lightbox[526]" title="_DSC8857"><img class="alignnone size-medium wp-image-527" title="_DSC8857" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/03/DSC8857-300x199.jpg" alt="" width="300" height="199" /></a></p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/03/DSC8859.jpg" rel="lightbox[526]" title="_DSC8859"><img class="alignnone size-medium wp-image-528" title="_DSC8859" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2010/03/DSC8859-300x199.jpg" alt="" width="300" height="199" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2010/03/broadcom-5709/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Samba 50MB per second limit?</title>
		<link>http://www.stephenyeong.idv.hk/wp/2010/02/samba-50mb/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2010/02/samba-50mb/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 06:49:32 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[NAS]]></category>
		<category><![CDATA[網絡]]></category>
		<category><![CDATA[Openfiler]]></category>
		<category><![CDATA[samba]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=508</guid>
		<description><![CDATA[調試了幾日Openfiler 發覺用 Windows 連上NAS 唔夠Windows 連Windows 快。無論寫入或讀取，上限只有40MB/s。相對從 Windows 找檔到 Windows (both windows 7) 可以快過 80MB/s. 排除是 RAID5 慢的問題，在 Linux 下用 hdparam 做讀取測試，有 180MB/s 再試在 Windows 用 FTP (Filezilla)  從 NAS 下載反而可逹 110MB/s ，近乎 GbE 上限。 Googling, 用 "NAS slow"、"samba slow"、"samba RAID5 slow" 找到好多資料，但所有提及到的設定只可令到速度上升至50MB/s. 似乎上限在50MB/s 昨晚返而用 "samba 50MB" 找到一些資料。即是很多人都停在50MB/s。 再找Samba個Changes log發現以下幾點 Samba 3.45 只用SMB v1, 而Vista [...]]]></description>
			<content:encoded><![CDATA[<fb:like href='http://www.stephenyeong.idv.hk/wp/2010/02/samba-50mb/' send='false' layout='standard' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida+grande'></fb:like><p>調試了幾日Openfiler 發覺用 Windows 連上NAS 唔夠Windows 連Windows 快。無論寫入或讀取，上限只有40MB/s。相對從 Windows 找檔到 Windows (both windows 7) 可以快過 80MB/s.</p>
<p>排除是 RAID5 慢的問題，在 Linux 下用 hdparam 做讀取測試，有 180MB/s</p>
<p>再試在 Windows 用 FTP (Filezilla)  從 NAS 下載反而可逹 110MB/s ，近乎 GbE 上限。</p>
<p>Googling, 用 "NAS slow"、"samba slow"、"samba RAID5 slow" 找到好多資料，但所有提及到的設定只可令到速度上升至50MB/s.</p>
<p>似乎上限在50MB/s</p>
<p>昨晚返而用 "samba 50MB" 找到一些資料。即是很多人都停在50MB/s。</p>
<p>再找Samba個Changes log發現以下幾點</p>
<ol>
<li>Samba 3.45 只用SMB v1, 而Vista 、Server 2008 &amp; Windows 7 用SMB v2</li>
<li>Microsoft 話 SMB v2 快過 SMB v1</li>
<li>SMB v1 訊息最大64KB, 同TCP Windows Size 個Concept 一樣, 即是TCP Windows size max = 64KB,<br />
相對現在Linux Kernel 可以設定大過16MB相差很遠</li>
<li>Samba 3.5 會加入 SMB v2.</li>
</ol>
<p>可能等到Samba 3.5 release 才知能否突破這個限制</p>
<p>Samba 3.5 RC2 Available for Download (26 January 2010)<br />
<a title="Samba 3.5 rc2 Download" href="http://news.samba.org/releases/3.5.0rc2/">Download</a> and <a title="Samba 3.5 rc2 Release note" href="http://samba.org/samba/ftp/rc/WHATSNEW-3-5-0rc2.txt">Samba 3.5 rc2 Release note</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2010/02/samba-50mb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

