<?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>Myat ของ</title>
	<atom:link href="http://www.myatus.co.uk/th/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.myatus.co.uk/th/</link>
	<description>ฆ่าบิตและไบต์วัน</description>
	<lastbuilddate>Wed, 28 Jul 2010 19:03:19 +0000</lastbuilddate>
	<language>th</language>
	<sy:updateperiod>hourly</sy:updateperiod>
	<sy:updatefrequency>1</sy:updatefrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<atom:link rel='hub' href='http://www.myatus.co.uk/?pushpress=hub'/>
		<item>
		<title>ป้องกันการสแกน w00tw00t</title>
		<link>http://www.myatus.co.uk/th/2010/07/17/blocking-w00tw00t-scans/</link>
		<comments>http://www.myatus.co.uk/th/2010/07/17/blocking-w00tw00t-scans/#comments</comments>
		<pubdate>Sat, 17 Jul 2010 10:53:38 +0000</pubdate>
		<dc:creator>Myatu</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ไฟร์วอลล์]]></category>
		<category><![CDATA[ความปลอดภัย]]></category>

		<guid ispermalink="false">http://www.myatus.co.uk/?p=1401-th</guid>
		<description><![CDATA[บางเว็บไซต์ยังถูกตีด้วยเสียชื่อ &#8220;w00tw00t&#8221; สแกน. คุณอาจเห็นสแกนนี้ในบันทึกเป็นของคุณ: ... &#34;GET /w00tw00t.at.ISC.SANS.DFind:) HTTP/1.1&#34; 400 ... Using Iptables The quickest method of making sure it never reaches your webserver (และทำให้สิ้นเปลืองทรัพยากรอย่าง processor, พื้นที่ดิสก์ [ล็อกไฟล์], etc) คือการใช้ iptables, และ [...]


บทความที่เกี่ยวข้อง:<ol><li><a href='http://www.myatus.co.uk/2010/03/20/guide-firewall-and-router-with-proxmox-extending-its-us/' rel='bookmark' title='Permanent Link: Guide: ไฟร์วอลล์และเราเตอร์กับ Proxmox &#8211; ขยาย ระยะ เวลา ใช้ งาน'>Guide: ไฟร์วอลล์และเราเตอร์กับ Proxmox &#8211; Extending its use</a></li>
<li><a href='http://www.myatus.co.uk/2009/08/31/guide-firewall-and-router-with-proxmox/' rel='bookmark' title='Permanent Link: Guide: Firewall and router with Proxmox'>Guide: Firewall and router with Proxmox</a></li>
<li><a href='http://www.myatus.co.uk/2009/12/17/faster-wp-super-cache-with-nginx/' rel='bookmark' title='Permanent Link: เร็ว WP Super Cache with nginx'>Faster WP Super Cache with NginX</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>บางเว็บไซต์ยังถูกตีด้วยเสียชื่อ &#8220;w00tw00t&#8221; สแกน. คุณอาจเห็นสแกนนี้ในบันทึกเป็นของคุณ:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">... &quot;GET /w00tw00t.at.ISC.SANS.DFind:) HTTP/1.1&quot; 400 ...</div></div>
</pre>
<h3>ใช้ iptables</h3>
<p>วิธีที่เร็วที่สุดของการตรวจสอบว่าเว็บเซิร์ฟเวอร์ของคุณไม่ถึง (และทำให้สิ้นเปลืองทรัพยากรอย่าง processor, พื้นที่ดิสก์ [ล็อกไฟล์], etc) คือการใช้ iptables, และสามารถทำได้ด้วยหนึ่งซับเหมือนนี้:</p>
<pre>
<div class="codecolorer-container bash blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">iptables <span style="color: #660033;">-I</span> INPUT <span style="color: #660033;">-d</span> xxx.xxx.xxx.xxx <span style="color: #660033;">-p</span> tcp <span style="color: #660033;">--dport</span> <span style="color: #000000;">80</span> <span style="color: #660033;">-m</span> string <span style="color: #660033;">--to</span> <span style="color: #000000;">70</span> &nbsp;<span style="color: #660033;">--algo</span> bm <span style="color: #660033;">--string</span> <span style="color: #ff0000;">'GET /w00tw00t.at.ISC.SANS.'</span> <span style="color: #660033;">-j</span> DROP</div></div>
</pre>
<p>เพียงแทนที่ <em>xxx.xxx.xxx.xxx</em> server กับ IP ของเว็บไซต์ของคุณ. ถ้าคุณต้องการใช้ในช่วงนี้ IPs (เช่น., คุณใช้ IP ที่หลายพื้นที่เว็บเซิร์ฟเวอร์), เพียงแทนที่ &#8220;xxx.xxx.xxx.xxx - D&#8221; ส่วนด้วย:</p>
<pre>
<div class="codecolorer-container bash blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #660033;">-m</span> iprange <span style="color: #660033;">--dst-range</span> start.xxx.xxx.xxx-end.xxx.xxx.xxx</div></div>
</pre>
<p>ที่ไหน <em>start.xxx.xxx.xxx</em> และ <em>end.xxx.xxx.xxx</em> are the first and last IPs of your web servers respectively.<span id="more-1401"></span></p>
<p>If you wish to have a fancier option, one where it will for example blacklist an IP for a certain period, ฯลฯ, have a look at <a title="SpamCle@ner w00tw00t" href="http://spamcleaner.org/en/misc/w00tw00t.html" target="_blank">SpamCle@ner&#8217;s website</a>.</p>
<p>They go deeper into this subject and have provided two scripts near the end of their article. Simply save one of these scripts in a file named, ตัวอย่างเช่น, <em>/opt/blockw00t.sh</em> and make it executable with:</p>
<pre>
<div class="codecolorer-container bash blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">chmod</span> +x <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>blockw00t.sh</div></div>
</pre>
<p>You can run it manually with typing &#8220;/opt/blockwoot.sh&#8221; in the shell or to automatically load it at boot time you can add it to your <em>/etc/rc.local </em>ไฟล์, or on Debian/Ubuntu systems add it to your <em>/ etc เครือข่าย / / interfaces</em> like so:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">auto eth0<br />
inet eth0 static<br />
&nbsp; &nbsp;... [existing configuration that remains unaltered] ...<br />
&nbsp; &nbsp;# Load anti-w00t script:<br />
&nbsp; &nbsp;post-up /opt/blockw00t.sh</div></div>
</pre>
<h3>Using fail2ban</h3>
<p>If you are using <a title="Fail2Ban" href="http://www.fail2ban.org" target="_blank">Fail2Ban</a>, like described in the <a title="Guide: Firewall and router with Proxmox – Extending its use" href="http://www.myatus.co.uk/2010/03/20/guide-firewall-and-router-with-proxmox-extending-its-us/" target="_self">Shorewall firewall configuration</a>, you can create a new definition that scans for the w00tw00t entries in the webserver log files.</p>
<p>The following definition assumes your webserver log entries look like the following (NginX และ Apache 2):</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">203.127.11.214 - - [15/Jul/2010:15:50:04 +0200] &quot;GET /w00tw00t.at.ISC.SANS.test0:) HTTP/1.1&quot; 400 173 &quot;-&quot; &quot;-&quot;</div></div>
</pre>
<p>Create a file <em>/etc/fail2ban/filter.d/webserver-w00tw00t.conf</em>:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">[Definition]<br />
failregex = ^&lt;โฮสต์&gt; .*&quot;GET \/w00tw00t\.at\.ISC\.SANS\..+\:\).*?&quot;<br />
<br />
ignoreregex =</div></div>
</pre>
<p>This catches the known variants of the scanner, including &#8220;DFind&#8221;, &#8220;test0&#8243;, &#8220;MSlog&#8221; และ &#8220;ntsvc&#8221;.</p>
<p>หมายเหตุ: The <em>&lt;โฮสต์&gt;</em> portion is specific to fail2ban and is a shorthand for the regex <em>(?:::f{4,6}:)?(?P&lt;โฮสต์&gt;\S+)</em>, which matches either an IPv4 or IPv6 address. See the <a title="Fail2Ban manual, filters" href="http://www.fail2ban.org/wiki/index.php/MANUAL_0_8#Filters" target="_blank">fail2ban manual</a> for more details.</p>
<p>*Tip: If you wish to change the regular expression, I recommend <a title="RegExr" href="http://gskinner.com/RegExr" target="_blank">RegExr</a> to play with various options/search criteria. It&#8217;s a time saver and free :)</p>
<p>*Tip 2: To test your definition&#8217;s regular expression, ใช้:</p>
<pre>
<div class="codecolorer-container bash blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">fail2ban-regex logfile <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>fail2ban<span style="color: #000000; font-weight: bold;">/</span>filter.d<span style="color: #000000; font-weight: bold;">/</span>webserver-w00tw00t.conf</div></div>
</pre>
<p>ที่ไหน <em>logfile</em> is the actual log file name, such as <em>/var/log/apache2/access.log</em>.</p>
<p>Add this definition to the fail2ban Jail configuration (<em>/etc/fail2ban/jail.conf</em>):</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">... [existing configuration] ...<br />
<br />
[webserver-w00tw00t]<br />
enabled &nbsp;= true<br />
พอร์ต &nbsp; &nbsp; = http,https<br />
filter &nbsp; = webserver-w00tw00t<br />
# !!! Keep in mind to specify the correct web server log here:<br />
logpath &nbsp;= /var/log/apache2/access.log<br />
maxretry = 1<br />
# Time in seconds, ในกรณีนี้, one day:<br />
bantime &nbsp;= 86400</div></div>
</pre>
<p>Now reload the service (เช่น., &#8220;/etc/init.d/fail2ban reload&#8221; หรือ &#8220;service fail2ban reload&#8221;).</p>


<div class="shr-bookmarks shr-bookmarks-expand">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.myatus.co.uk/2010/07/17/blocking-w00tw00t-scans/feed" rel="nofollow" title="สมัคร ความ คิดเห็น สำหรับ บทความ นี้?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.myatus.co.uk/2010/07/17/blocking-w00tw00t-scans/&amp;title=Blocking+w00tw00t+scans" rel="nofollow" title="แบ่งปัน นี้ ใน del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.myatus.co.uk/2010/07/17/blocking-w00tw00t-scans/&amp;title=Blocking+w00tw00t+scans" rel="nofollow" title="Digg นี้!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.myatus.co.uk/2010/07/17/blocking-w00tw00t-scans/&amp;title=Blocking+w00tw00t+scans&amp;desc=Some%20websites%20are%20still%20being%20hit%20with%20the%20infamous%20%22w00tw00t%22%20scans.%20You%20might%20see%20these%20scans%20in%20your%20logs%20as%3A%0D%0A%5Bcce_text%5D...%20%22GET%20%2Fw00tw00t.at.ISC.SANS.DFind%3A%29%20HTTP%2F1.1%22%20400%20...%5B%2Fcce_text%5D%0D%0AUsing%20Iptables%0D%0AThe%20quickest%20method%20of%20making%20sure%20it%20never%20reaches%20your%20webserver%20%28and%20thus%20wasting%20resour" rel="nofollow" title="โพ ส ต์ นี้ Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.myatus.co.uk/2010/07/17/blocking-w00tw00t-scans/&amp;imageurl=" rel="nofollow" title="โพสต์ใน Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.myatus.co.uk/2010/07/17/blocking-w00tw00t-scans/&amp;bm_description=Blocking+w00tw00t+scans&amp;plugin=sexybookmarks" rel="nofollow" title="เพิ่ม ไป ยัง มร ห ว่อง">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.myatus.co.uk/2010/07/17/blocking-w00tw00t-scans/&amp;title=Blocking+w00tw00t+scans" rel="nofollow" title="แบ่งปัน นี้ Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.myatus.co.uk/2010/07/17/blocking-w00tw00t-scans/&amp;title=Blocking+w00tw00t+scans" rel="nofollow" title="แบ่งปัน นี้ Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.myatus.co.uk/2010/07/17/blocking-w00tw00t-scans/&amp;title=Blocking+w00tw00t+scans" rel="nofollow" title="สะดุด แก่ สิ่ง ที่ ดี? ร่วม กัน ใน StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.myatus.co.uk/2010/07/17/blocking-w00tw00t-scans/" rel="nofollow" title="แบ่งปัน นี้ ใน Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Blocking+w00tw00t+scans+-+http://bit.ly/cS3upS&amp;source=shareaholic" rel="nofollow" title="Tweet นี้!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>บทความที่เกี่ยวข้อง:<ol><li><a href='http://www.myatus.co.uk/2010/03/20/guide-firewall-and-router-with-proxmox-extending-its-us/' rel='bookmark' title='Permanent Link: Guide: ไฟร์วอลล์และเราเตอร์กับ Proxmox &#8211; ขยาย ระยะ เวลา ใช้ งาน'>Guide: ไฟร์วอลล์และเราเตอร์กับ Proxmox &#8211; Extending its use</a></li>
<li><a href='http://www.myatus.co.uk/2009/08/31/guide-firewall-and-router-with-proxmox/' rel='bookmark' title='Permanent Link: Guide: Firewall and router with Proxmox'>Guide: Firewall and router with Proxmox</a></li>
<li><a href='http://www.myatus.co.uk/2009/12/17/faster-wp-super-cache-with-nginx/' rel='bookmark' title='Permanent Link: เร็ว WP Super Cache with nginx'>Faster WP Super Cache with NginX</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentrss>http://www.myatus.co.uk/th/2010/07/17/blocking-w00tw00t-scans/feed/</wfw:commentrss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>คำสั่งผสม Nginx - Apache ง่ายด้วยการสนับสนุน WordPress</title>
		<link>http://www.myatus.co.uk/th/2010/06/28/a-simplified-nginx-apache-combo-with-wordpress-support/</link>
		<comments>http://www.myatus.co.uk/th/2010/06/28/a-simplified-nginx-apache-combo-with-wordpress-support/#comments</comments>
		<pubdate>Mon, 28 Jun 2010 22:03:21 +0000</pubdate>
		<dc:creator>Myatu</dc:creator>
				<category><![CDATA[คอมพิวเตอร์]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[benchmarking]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[memcached]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[อูบุนตู]]></category>

		<guid ispermalink="false">http://www.myatus.co.uk/?p=617-th</guid>
		<description><![CDATA[ดูเหมือนว่าฉันได้ละเลยการเขียนบทความใหม่ในขณะที่ค่อนข้าง! อับอายกับฉัน. แต่, ขอบคุณดับเว็บไซต์, ฉันมีบางสิ่งที่ดีที่สุด more ร่วมกับคุณ. My previous Nginx configuration became a nightmare to maintain and WordPress had become slower because Apache&#8217;s children were being killed [...]


บทความที่เกี่ยวข้อง:<ol><li><a href='http://www.myatus.co.uk/2009/08/31/nginx-and-apache-but-no-memcached/' rel='bookmark' title='Permanent Link: NginX และ Apache, แต่ไม่ memcached'>NginX and Apache, but no memcached</a></li>
<li><a href='http://www.myatus.co.uk/2009/12/17/faster-wp-super-cache-with-nginx/' rel='bookmark' title='Permanent Link: เร็ว WP Super Cache with nginx'>Faster WP Super Cache with NginX</a></li>
<li><a href='http://www.myatus.co.uk/2009/09/07/compiling-nginx-on-debian-ubuntu/' rel='bookmark' title='Permanent Link: รวบรวม NginX ใน Debian / อูบุนตู'>Compiling NginX on Debian / Ubuntu</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" src="http://wiki.nginx.org/images/0/0e/Absolut_nginx.jpg" alt="Absolut Nginx" width="90" height="250" />ดูเหมือนว่าฉันได้ละเลยการเขียนบทความใหม่ในขณะที่ค่อนข้าง! อับอายกับฉัน. แต่, ขอบคุณดับเว็บไซต์, I&#8217;ve finally got some more good stuff to share with you.</p>
<p>ตั้ง Nginx เป็นฝันร้ายของฉันก่อนที่จะรักษาและ WordPress ได้กลายเป็นช้าเพราะเด็ก Apache ของคนถูกฆ่าโดย oom. นี้เนื่องจากแคช PHP เข้าใจผิด (PHP XCache ต้องแม่นยำ) ที่ตัดสินใจที่จะใช้ได้ทุกบิตของหน่วยความจำจากระบบของฉัน, แม้มีการร้องขอสูงสุดต่อเด็กตั้งต่ำ (ก่อนที่จะถูกกำจัด).</p>
<p>นี้, พร้อมกับความพยายามของฉันในการแสวงหาทางออกที่เร็วที่สุดในทุกสิ่งและการแนะนำของเซิร์ฟเวอร์ Cloud ใหม่โดย OVH, lead me to today&#8217;s article.<span id="more-617"></span></p>
<h2>Which is faster &#8211; Varnish or Nginx?</h2>
<p>The first thing I wanted to do is make all the caching happen before things get pushed through to Apache. This because I wanted to eliminate both PHP <a title="XCache" href="http://xcache.lighttpd.net" target="_blank">XCache</a> and the <a title="WP Super Cache" href="http://ocaoimh.ie/wp-super-cache" target="_blank">WordPress Super Cache</a> plugin I was using, so to increase WordPress compatibility but decrease complexity.</p>
<p>At first I thought about using <a title="Varnish Cache" href="http://varnish-cache.org" target="_blank">Varnish</a> &#8211; either as a the sole front-end, or in between Nginx and Apache (the reasoning later). ด้วย, I had gotten my hands on OVH&#8217;s Cloud servers whilst they were still in <em>&#8220;แอลฟา&#8221;</em>, and used this as the base system for building a pool of web servers.</p>
<p>The following tests have all been performed on those Cloud servers &#8211; mC 256 (256 MBytes of guaranteed RAM, 2 GByte total memory with excess swapped to SSD&#8217;s), 4 CPU cores and 5 GBytes of storage space. The OS is Ubuntu 10.04 LTS. The output of <em>/proc/cpuinfo</em> is as following (x4 for briefness):</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">processor &nbsp; &nbsp; &nbsp; : 0<br />
vendor_id &nbsp; &nbsp; &nbsp; : GenuineIntel<br />
cpu family &nbsp; &nbsp; &nbsp;: 6<br />
model &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 26<br />
model name &nbsp; &nbsp; &nbsp;: Intel(R) Xeon(R) CPU &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; E5504 &nbsp;@ 2.00GHz<br />
stepping &nbsp; &nbsp; &nbsp; &nbsp;: 5<br />
cpu MHz &nbsp; &nbsp; &nbsp; &nbsp; : 1995.000<br />
cache size &nbsp; &nbsp; &nbsp;: 4096 KB<br />
fdiv_bug &nbsp; &nbsp; &nbsp; &nbsp;: ใน<br />
hlt_bug &nbsp; &nbsp; &nbsp; &nbsp; : ใน<br />
f00f_bug &nbsp; &nbsp; &nbsp; &nbsp;: ใน<br />
coma_bug &nbsp; &nbsp; &nbsp; &nbsp;: ใน<br />
fpu &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : ใช่<br />
fpu_exception &nbsp; : ใช่<br />
cpuid level &nbsp; &nbsp; : 11<br />
wp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: ใช่<br />
flags &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss nx rdtscp lm constant_tsc arch_perfmon pebs bts xtopology tsc_reliable nonstop_tsc aperfmperf pni ssse3 cx16 sse4_1 sse4_2 popcnt hypervisor lahf_lm<br />
bogomips &nbsp; &nbsp; &nbsp; &nbsp;: 3990.00<br />
clflush size &nbsp; &nbsp;: 64<br />
cache_alignment : 64<br />
address sizes &nbsp; : 40 bits physical, 48 bits virtual<br />
power management:</div></div>
</pre>
<div>
<p>The stock install of Apache performed as following on a simple &#8220;Hello World&#8221; PHP script, โดยใช้ &#8220;<em>ab -c 100 -n 100000 http://host/</em>&#8220;:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ระดับ Concurrency: &nbsp; &nbsp; &nbsp;100<br />
Time taken for tests: &nbsp; 29.548 วินาที<br />
คำขอ Complete: &nbsp; &nbsp; &nbsp;100000<br />
Failed requests: &nbsp; &nbsp; &nbsp; &nbsp;0<br />
Write errors: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0<br />
Total transferred: &nbsp; &nbsp; &nbsp;25009500 bytes<br />
HTML โอน: &nbsp; &nbsp; &nbsp; 3901482 bytes<br />
ขอต่อวินาที: &nbsp; &nbsp;3384.27 [# / วินาที] (หมายความ ว่า)<br />
เวลา ต่อ คำขอ: &nbsp; &nbsp; &nbsp; 29.548 [ms] (หมายความ ว่า)<br />
เวลา ต่อ คำขอ: &nbsp; &nbsp; &nbsp; 0.295 [ms] (หมายความ ว่า, ใน คำขอ พร้อม กัน ทั้งหมด)<br />
อัตรา การ โอน เงิน: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;826.55 [Kbytes / วินาที] ที่ ได้ รับ<br />
<br />
Connection Times (ms)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; min &nbsp;หมายความ ว่า[+/-sd] median &nbsp; max<br />
Connect: &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; 12 &nbsp;39.1 &nbsp; &nbsp; 12 &nbsp; &nbsp;1960<br />
Processing: &nbsp; &nbsp; 9 &nbsp; 18 &nbsp;49.6 &nbsp; &nbsp; 14 &nbsp; &nbsp;2036<br />
Waiting: &nbsp; &nbsp; &nbsp; &nbsp;1 &nbsp; 15 &nbsp;45.9 &nbsp; &nbsp; 12 &nbsp; &nbsp;1966<br />
Total: &nbsp; &nbsp; &nbsp; &nbsp; 14 &nbsp; 29 &nbsp;65.9 &nbsp; &nbsp; 26 &nbsp; &nbsp;2159</div></div>
</pre>
<p>With Varnish in front of Apache, things really started to look good:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ระดับ Concurrency: &nbsp; &nbsp; &nbsp;100<br />
Time taken for tests: &nbsp; 13.489 วินาที<br />
คำขอ Complete: &nbsp; &nbsp; &nbsp;100000<br />
Failed requests: &nbsp; &nbsp; &nbsp; &nbsp;0<br />
Write errors: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0<br />
Total transferred: &nbsp; &nbsp; &nbsp;28315282 bytes<br />
HTML โอน: &nbsp; &nbsp; &nbsp; 1100594 bytes<br />
ขอต่อวินาที: &nbsp; &nbsp;7413.64 [# / วินาที] (หมายความ ว่า)<br />
เวลา ต่อ คำขอ: &nbsp; &nbsp; &nbsp; 13.489 [ms] (หมายความ ว่า)<br />
เวลา ต่อ คำขอ: &nbsp; &nbsp; &nbsp; 0.135 [ms] (หมายความ ว่า, ใน คำขอ พร้อม กัน ทั้งหมด)<br />
อัตรา การ โอน เงิน: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2049.99 [Kbytes / วินาที] ที่ ได้ รับ<br />
<br />
Connection Times (ms)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; min &nbsp;หมายความ ว่า[+/-sd] median &nbsp; max<br />
Connect: &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp;6 &nbsp; 2.2 &nbsp; &nbsp; &nbsp;6 &nbsp; &nbsp; &nbsp;71<br />
Processing: &nbsp; &nbsp; 2 &nbsp; &nbsp;7 &nbsp; 1.9 &nbsp; &nbsp; &nbsp;7 &nbsp; &nbsp; &nbsp;70<br />
Waiting: &nbsp; &nbsp; &nbsp; &nbsp;1 &nbsp; &nbsp;6 &nbsp; 2.0 &nbsp; &nbsp; &nbsp;5 &nbsp; &nbsp; &nbsp;66<br />
Total: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;3 &nbsp; 13 &nbsp; 3.1 &nbsp; &nbsp; 13 &nbsp; &nbsp; &nbsp;81</div></div>
</pre>
<p>At 2.48x more than what Apache can send out on its own, that&#8217;s a mighty impressive improvement and Varnish deserves kudos. But at 1 GBytes of RAM for caching, would it really be more efficient and quicker than Nginx? The following results tell &#8230;</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ระดับ Concurrency: &nbsp; &nbsp; &nbsp;100<br />
Time taken for tests: &nbsp; 9.438 วินาที<br />
คำขอ Complete: &nbsp; &nbsp; &nbsp;100000<br />
Failed requests: &nbsp; &nbsp; &nbsp; &nbsp;0<br />
Write errors: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0<br />
Total transferred: &nbsp; &nbsp; &nbsp;27706648 bytes<br />
HTML โอน: &nbsp; &nbsp; &nbsp; 5201248 bytes<br />
ขอต่อวินาที: &nbsp; &nbsp;10595.55 [# / วินาที] (หมายความ ว่า)<br />
เวลา ต่อ คำขอ: &nbsp; &nbsp; &nbsp; 9.438 [ms] (หมายความ ว่า)<br />
เวลา ต่อ คำขอ: &nbsp; &nbsp; &nbsp; 0.094 [ms] (หมายความ ว่า, ใน คำขอ พร้อม กัน ทั้งหมด)<br />
อัตรา การ โอน เงิน: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2866.87 [Kbytes / วินาที] ที่ ได้ รับ<br />
<br />
Connection Times (ms)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; min &nbsp;หมายความ ว่า[+/-sd] median &nbsp; max<br />
Connect: &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp;4 &nbsp; 1.0 &nbsp; &nbsp; &nbsp;4 &nbsp; &nbsp; &nbsp;56<br />
Processing: &nbsp; &nbsp; 2 &nbsp; &nbsp;6 &nbsp; 9.7 &nbsp; &nbsp; &nbsp;5 &nbsp; &nbsp; 253<br />
Waiting: &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp;5 &nbsp; 9.7 &nbsp; &nbsp; &nbsp;5 &nbsp; &nbsp; 253<br />
Total: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;5 &nbsp; &nbsp;9 &nbsp; 9.7 &nbsp; &nbsp; &nbsp;9 &nbsp; &nbsp; 257</div></div>
</pre>
<p>&#8230; a different story. Though this is not some scientific research that should be taken at face value, I personally found the difference rather significant &#8211; especially since Nginx never used more than 60 Mbytes of RAM and relied mostly on system file  caching. 1.39x faster than Varnish, 3.46x faster than Apache by itself. That&#8217;s even more impressive!</p>
<h3>A little Varnish quirk on Ubuntu</h3>
<p>อีกครั้ง, and I can&#8217;t say this often enough, these are merely the numbers obtained on my system &#8211; your mileage may vary. Varnish is definitely a worthy contender &#8212; the one issue I encountered on Ubuntu was that Varnish crashed when attempting to test with more than 1000 concurrent connections. That&#8217;s not supposed to happen in a production environment!</p>
<p>The culprit seems to be the user account&#8217;s <em>&#8220;open ไฟล์ descriptors&#8221;</em> limitation. Sockets are also counted towards this value and when Varnish had hit the limit it died rather ungracefully. You can manually resolve it by using ulimit:</p>
<pre>
<div class="codecolorer-container bash blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">ulimit</span> <span style="color: #660033;">-n</span> <span style="color: #000000;">65535</span></div></div>
</pre>
<p>But you are better off using the <em>/etc/security/limits.conf</em> file. It is well documented, so it shouldn&#8217;t be to difficult to figure it out. I&#8217;ll continue with my blog&#8230;</p>
<h2>The Configuration</h2>
<p>So I have decided to keep Nginx as the front-end for Apache, but this time &#8211; unlike previously &#8211; activate Nginx&#8217;s caching. Doing it here, rather than working with caching plugins and a plethora of other band-aids, keeps the whole configuration clean and simple. Apache can be left alone to run as it normally does, with no special trickery. The only exception is a memcache store, because the database is located on a different server and linked through a VPN.</p>
<p>First I installed Nginx, Apache, PHP5 and Memcache through the usual channels, ดังต่อไปนี้:</p>
<pre>
<div class="codecolorer-container bash blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> nginx libapache2-mod-php5 memcached \<br />
php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick \<br />
php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming \<br />
php5-ps php5-pspell php5-recode php5-snmp php5-sqlite \<br />
php5-tidy php5-xmlrpc php5-xsl php5-json</div></div>
</pre>
<h3>Update Nginx</h3>
<p>The Nginx version provided by the Ubuntu repository is 0.7.65. อย่างไรก็ตาม, a feature introduced in version 0.7.66/stable - <em>proxy_no_cache</em> &#8211; will come handy simplifying the configuration. 0.7.67 also fixed a small issue, which mainly concerns Windows machines but is good to have patched regardless. So I&#8217;ve compiled Nginx to the latest stable version as following:</p>
<pre>
<div class="codecolorer-container bash blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;"># apt-get install libc6 libpcre3 libpcre3-dev libpcrecpp0 libssl0.9.8 libssl-dev zlib1g zlib1g-dev lsb-base</span><br />
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.nginx.org<span style="color: #000000; font-weight: bold;">/</span>download<span style="color: #000000; font-weight: bold;">/</span>nginx-0.7.67.tar.gz<br />
<span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xf</span> nginx-0.7.67.tar.gz<br />
<span style="color: #7a0874; font-weight: bold;">cd</span> nginx-0.7.67<br />
.<span style="color: #000000; font-weight: bold;">/</span>configure \<br />
<span style="color: #660033;">--user</span>=www-data \<br />
<span style="color: #660033;">--group</span>=www-data \<br />
<span style="color: #660033;">--sbin-path</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sbin \<br />
<span style="color: #660033;">--conf-path</span>=<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>nginx<span style="color: #000000; font-weight: bold;">/</span>nginx.conf \<br />
<span style="color: #660033;">--error-log-path</span>=<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>nginx<span style="color: #000000; font-weight: bold;">/</span>error.log \<br />
<span style="color: #660033;">--pid-path</span>=<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>run<span style="color: #000000; font-weight: bold;">/</span>nginx.pid \<br />
<span style="color: #660033;">--lock-path</span>=<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>lock<span style="color: #000000; font-weight: bold;">/</span>nginx.lock \<br />
<span style="color: #660033;">--http-log-path</span>=<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>nginx<span style="color: #000000; font-weight: bold;">/</span>access.log \<br />
<span style="color: #660033;">--http-client-body-temp-path</span>=<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>nginx<span style="color: #000000; font-weight: bold;">/</span>body \<br />
<span style="color: #660033;">--http-proxy-temp-path</span>=<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>nginx<span style="color: #000000; font-weight: bold;">/</span>proxy \<br />
<span style="color: #660033;">--http-fastcgi-temp-path</span>=<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>nginx<span style="color: #000000; font-weight: bold;">/</span>fastcgi \<br />
<span style="color: #660033;">--with-debug</span> \<br />
--with-http_stub_status_module \<br />
--with-http_flv_module \<br />
--with-http_ssl_module \<br />
--with-http_dav_module \<br />
--with-http_gzip_static_module \<br />
--with-http_realip_module \<br />
<span style="color: #660033;">--with-mail</span> \<br />
--with-mail_ssl_module \<br />
<span style="color: #660033;">--with-ipv6</span><br />
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></div></div>
</pre>
<p>ใช่, that&#8217;s literally cut &amp; paste. It overwrites the binaries installed by <em>apt-get</em>, and we happily continue to use the official init script provided by Ubuntu/Debian. Why make life difficult?</p>
<h3>Configuring PHP and Apache</h3>
<p>ที่จุดนี้, configure PHP and Apache to your heart&#8217;กับ content. The one thing that you need to do with Apache is move it to a different port and preferably keep it on 127.0.0.1. This means you need to edit the /etc/apache2/ports.conf file:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">NameVirtualHost *:8080<br />
Listen 127.0.0.1:8080</div></div>
</pre>
<p>And configure your website(s) accordingly:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;VirtualHost *:8080&gt;<br />
... etc ...<br />
&lt;/VirtualHost&gt;</div></div>
</pre>
<p>If you are using SSL (https://), this will be handled by Nginx rather than Apache. Since this is already getting quite long, I will skip SSL in this blog.</p>
<h3>Configuring Nginx</h3>
<p>We start off by creating a few directories that will be used by Nginx:</p>
<pre>
<div class="codecolorer-container bash blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>nginx<span style="color: #000000; font-weight: bold;">/</span>includes<br />
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>cache<span style="color: #000000; font-weight: bold;">/</span>nginx<span style="color: #000000; font-weight: bold;">/</span>tmp<br />
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>cache<span style="color: #000000; font-weight: bold;">/</span>nginx<span style="color: #000000; font-weight: bold;">/</span>cached<br />
<span style="color: #c20cb9; font-weight: bold;">chown</span> <span style="color: #660033;">-R</span> www-data:www-data <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>cache<span style="color: #000000; font-weight: bold;">/</span>nginx</div></div>
</pre>
<p>Next we modify the file <em>/etc/nginx/nginx.conf</em> ดังต่อไปนี้:</p>
<pre>
<div class="codecolorer-cบนtainer text blackboard no_translate nบนe" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="text codecolorer" style="padding:5px;fบนt:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">user &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;www-data;<br />
<br />
worker_processes &nbsp; &nbsp; &nbsp; &nbsp;4;<br />
worker_rlimit_nofile &nbsp; &nbsp;16384;<br />
<br />
error_log &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /var/log/nginx/error.log;<br />
pid &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /var/run/nginx.pid;<br />
<br />
events {<br />
&nbsp; &nbsp; &nbsp; &nbsp; worker_connections &nbsp;2000;<br />
}<br />
<br />
http {<br />
&nbsp; &nbsp; &nbsp; &nbsp; include &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /etc/nginx/mime.types;<br />
&nbsp; &nbsp; &nbsp; &nbsp; default_type &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;application/octet-stream;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; access_log &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/var/log/nginx/access.log;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; sendfile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;on;<br />
&nbsp; &nbsp; &nbsp; &nbsp; tcp_nopush &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;on;<br />
&nbsp; &nbsp; &nbsp; &nbsp; tcp_nodelay &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; on;<br />
&nbsp; &nbsp; &nbsp; &nbsp; keepalive_timeout &nbsp; &nbsp; &nbsp; 75 20;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; gzip &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;บน;<br />
&nbsp; &nbsp; &nbsp; &nbsp; gzip_vary &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; บน;<br />
&nbsp; &nbsp; &nbsp; &nbsp; gzip_comp_level &nbsp; &nbsp; &nbsp; &nbsp; 3;<br />
&nbsp; &nbsp; &nbsp; &nbsp; gzip_min_length &nbsp; &nbsp; &nbsp; &nbsp; 4096;<br />
&nbsp; &nbsp; &nbsp; &nbsp; gzip_proxied &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;any;<br />
&nbsp; &nbsp; &nbsp; &nbsp; gzip_types &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;text/plain text/css application/x-javascript text/xml<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; application/xml application/xml+rss text/javascript;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; include &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /etc/nginx/conf.d/*.conf;<br />
&nbsp; &nbsp; &nbsp; &nbsp; include &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /etc/nginx/sites-enabled/*;<br />
}</div></div>
</pre>
<p>The <em>worker_processes</em> variable is set according to the number of CPU cores in my system, 4 ในกรณีนี้. There are a few tcp tweaks and gzip compression is enabled on additional ไฟล์ types, rather than just html.  For the rest, it&#8217;s fairly run-of-the-mill.</p>
<p>The core workhorse of Nginx will be the proxy and its associated cache. Because I like to keep things nicely sectioned, thus easy to configure, I&#8217;ve created the following <em>/etc/nginx/conf.d/proxy.conf</em> file, which will be included by Nginx by an <em>include</em> แถลงการณ์:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">proxy_redirect &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ปิด;<br />
<br />
proxy_set_header &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Host $host;<br />
proxy_set_header &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;X-Forwarded-For $proxy_add_x_forwarded_for;<br />
<br />
proxy_connect_timeout &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 90;<br />
proxy_send_timeout &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;90;<br />
proxy_read_timeout &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;90;<br />
<br />
proxy_buffer_size &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 4k;<br />
proxy_buffers &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 4 32k;<br />
proxy_busy_buffers_size &nbsp; &nbsp; &nbsp; &nbsp; 64k;<br />
proxy_temp_file_write_size &nbsp; &nbsp; &nbsp;64k;<br />
<br />
proxy_max_temp_file_size &nbsp; &nbsp; &nbsp; &nbsp;56m;<br />
proxy_temp_path &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /var/cache/nginx/tmp;<br />
proxy_cache_key &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $scheme$host$request_uri;<br />
proxy_cache_path &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/var/cache/nginx/cached levels=2:2 keys_zone=global:64m inactive=60m max_size=1G;<br />
<br />
proxy_cache_valid &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 200 302 30m;<br />
proxy_cache_valid &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 301 1h;<br />
proxy_cache_valid &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 404 1m;<br />
<br />
proxy_cache_use_stale &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; error timeout http_500 http_502 http_503 http_504;<br />
<br />
proxy_pass_header &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Set-Cookie;</div></div>
</pre>
<p>The <em>proxy_set_header</em> variables are there to help you determine the IP of the actual web page requester, rather than receiving the one from Nginx. You just need to include <em>%{X-Forwarded-For}i</em> in one of Apache&#8217;s log formats instead of the host (<em>%h</em>).</p>
<p>อย่างไรก็ตาม, I have personally disabled all access logging in Apache, because everything needs to pass through Nginx anyway and it boosts Apache&#8217;s performance a smidgen (you do this by commenting out all the <em>CustomLog</em> lines in Apache&#8217;s configurations). I did leave the Apache <em>ErrorLog</em> enabled, just for those instances and also for PHP error messages.</p>
<p>The file above also defines an Nginx proxy cache zone called <em>&#8220;global&#8221;</em> ด้วย <em>proxy_cache_path</em> ตัวแปร. That same variable also specifies a garbage time (60 นาที) and maximum cache size (on the disk, 1 GBytes).</p>
<p>The <em>proxy_cache_key</em> is simply a concatenation of <em>&#8220;httpmyatus.co.uk/therequests.php&#8221;</em> that will be hashed and then used to retrieve it at a later point. I&#8217;m allowing stale cache to be served in case of certain errors, for example when Apache has unexpectedly died.</p>
<p>An important bit, which was quite a PITA to figure out, is the <em>proxy_pass_header</em> portion for the <em>&#8220;Set-Cookie&#8221;</em> header. WordPress includes <em>&#8220;Set-Cookie&#8221;</em> headers in 302 HTTP responses (which is used to point your browser to a new location) &#8211; some frown upon this practice and Nginx is no exception. Hence we need to specifically let this pass through, or else you will not be able to login to your WordPress Admin or have users leave comments.</p>
<h3>Includes</h3>
<p>อยู่ใน <em>/etc/nginx/includes</em> folder we created earlier, we add two ไฟล์s. The first is a helper for sites that use WordPress. Since the <em>/etc/nginx/includes</em> folder is not automatically included, we can be selective about inclusions, and save on some processing time when these features aren&#8217;t used. This is the <em>/etc/nginx/includes/wordpress.inc</em> file:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ถ้า ($http_cookie ~* &quot;comment_author_|wordpress_(?!test_cookie)|wp-postpass_&quot;) {<br />
&nbsp; &nbsp; set $no_cache 1;<br />
}<br />
<br />
ถ้า ($http_user_agent ~* &quot;(2\.0 MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine\/3\.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA\/WX310K|LG\/U990|MIDP-2\.|MMEF20|MOT-V|NetFront|Newt|Nintendo Wii|Nitro|Nokia|Opera Mini|Palm|PlayStation Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian OS|SymbianOS|TS21i-10|UP\.Browser|UP\.Link|webOS|Windows CE|WinWAP|YahooSeeker\/M1A1-R2D2|NF-Browser|iPhone|iPod|Android|BlackBerry9530|G-TU915 Obigo|LGE VX|webOS|Nokia5800)&quot; ) {<br />
&nbsp; &nbsp; set $no_cache 1;<br />
}<br />
<br />
proxy_no_cache&nbsp; &nbsp; &nbsp; $no_cache;</div></div>
</pre>
<p>It&#8217;s a very simple file, ตาม ความ เป็น จริง. The first portion checks if there are certain cookies set, related to comment authors or those who are logged into the WordPress Admin. หากกรณีเป็น, the variable <em>$no_cache</em> กำหนดเป็น 1. The second check is for mobile users, like Nokia, iPhone, etc. Thเป็น is helpful in case you have a mobile WordPress edition, as available through some plugins.</p>
<p>If at any point the <em>$no_cache</em> is 1, the variable <em>proxy_no_cache</em> becomes true. Apache&#8217;s output might still be cached, but it will not be served to the end user (thus always fresh).</p>
<p>The second ไฟล์ is a helper that&#8217;s pretty much universal for all the websites (but can still be overridden in the actual <em>sites-available/*</em> files). This is the <em>/etc/nginx/includes/default_proxy.inc</em> file:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># Enable caching:<br />
proxy_cache &nbsp; &nbsp; global;<br />
<br />
# Default:<br />
ตำแหน่ง / {<br />
&nbsp; &nbsp; &nbsp; &nbsp; proxy_pass &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;http://127.0.0.1:8080;<br />
}<br />
<br />
# Rarely changed items can remain cached longer:<br />
location ~* \.(jpg|jpeg|png|gif|ico|CSS|mp3|wav|swf|mov|doc|pdf|xls|ppt|docx|pptx|xlsx)$ {<br />
&nbsp; &nbsp; &nbsp; &nbsp; proxy_cache_valid &nbsp; &nbsp; &nbsp; 200 3h;<br />
&nbsp; &nbsp; &nbsp; &nbsp; proxy_pass &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;http://127.0.0.1:8080;<br />
}<br />
<br />
# Deny access to .ht* files:<br />
location ~ /\.ht {<br />
&nbsp; &nbsp; &nbsp; &nbsp; deny &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ทั้งหมด;<br />
}</div></div>
</pre>
<p>The first variable <em>proxy_cache </em>informs Nginx to use the <em>&#8220;global&#8221;</em> zone we defined earlier in the <em>/etc/nginx/conf.d/proxy.conf </em>ไฟล์. If it is not there, nothing will be cached and pages simply pass through.</p>
<p>It further tells Nginx to send everything to Apache, but allow images and a few other static files to be cached longer than originally defined. The last portion tells Nginx to block access to files such as <em>. Htaccess</em> หรือ <em>.htpasswd</em> right at Nginx&#8217;s level &#8211; so Apache doesn&#8217;t have to and save some processing power.</p>
<h3>A default site</h3>
<p>You can use the include files to build a very small website configuration file. ตัวอย่างเช่น, <em>/etc/nginx/sites-available/</em>default may looks something similar to this:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">server {<br />
&nbsp; &nbsp; &nbsp; &nbsp; listen &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;80;<br />
&nbsp; &nbsp; &nbsp; &nbsp; server_name &nbsp; &nbsp; _;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; root &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/var/www/sites/default/public;<br />
&nbsp; &nbsp; &nbsp; &nbsp; index &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; index.html index.htm;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; access_log &nbsp; &nbsp; &nbsp;/var/www/sites/default/logs/access.log;<br />
&nbsp; &nbsp; &nbsp; &nbsp; error_log &nbsp; &nbsp; &nbsp; /var/www/sites/default/logs/nginx.error.log;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; # Includes:<br />
&nbsp; &nbsp; &nbsp; &nbsp; include &nbsp; &nbsp; &nbsp; &nbsp; /etc/nginx/includes/wordpress.inc;<br />
&nbsp; &nbsp; include &nbsp; &nbsp; &nbsp; &nbsp; /etc/nginx/includes/default_proxy.inc;<br />
}</div></div>
</pre>
<p>Everything is passed to Apache and cached, depending of the <em>wordpress.inc</em> file allows it. Apache will handle the rest. You will likely have to change the directories, but that&#8217;s basically it.</p>
<h2>wordpress</h2>
<p>There&#8217;s little that needs to be done with WordPress. The most important thing is to actually disable any WordPress cache you may be using, such as WordPress Super Cache. It is no longer needed and only gives Apache / PHP more work to do. อย่างไรก็ตาม, as noted earlier, I did include Memcache.</p>
<p>The reason is that in my case, each Cloud server works off the same MySQL database cluster. To avoid unnecessary or repetitive SQL traffic, the Memcache daemon will hold these in RAM memory (or in the Cloud&#8217;s case &#8211; either RAM or SSD). This is done with the use of the <em>object-cache.php</em> file by Ryan Boren, which can be obtained <a title="WordPress Memcached object-cache" href="http://plugins.trac.wordpress.org/browser/memcached/" target="_blank">from this website</a>. This file needs to be placed in your <em>$WP-ROOT$/wp-content/</em> directory.</p>
<p>For everything else, WordPress can be plain vanilla but become blistering fast, as shown in the next output.</p>
<h2>Performance</h2>
<p>I have clustered a Cloud server with a dedicated server. For a short while (as in, half a day) I used HAProxy as the point-of-entry. HAProxy is super-fast, but I was irked by a minor issue that caused some logging issues. nginx is on-par with HAProxy, though it might have a little more jitter, so I now use an 2x Nginx &lt;&#8211;&gt; 2x (Nginx + Apache) combination. Witt the (nginx + Apache) portion of this setup configured exactly as described above, I have been able to obtain the following speeds (based on 100 concurrent connections, 50,000 requests and keep-alive enabled):</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ระดับ Concurrency: &nbsp; &nbsp; &nbsp;100<br />
Time taken for tests: &nbsp; 6.694 วินาที<br />
คำขอ Complete: &nbsp; &nbsp; &nbsp;50000<br />
Failed requests: &nbsp; &nbsp; &nbsp; &nbsp;0<br />
Write errors: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0<br />
Keep-Alive requests: &nbsp; &nbsp;0<br />
Total transferred: &nbsp; &nbsp; &nbsp;2822197200 bytes<br />
HTML โอน: &nbsp; &nbsp; &nbsp; 2806393092 bytes<br />
ขอต่อวินาที: &nbsp; &nbsp;7469.02 [# / วินาที] (หมายความ ว่า)<br />
เวลา ต่อ คำขอ: &nbsp; &nbsp; &nbsp; 13.389 [ms] (หมายความ ว่า)<br />
เวลา ต่อ คำขอ: &nbsp; &nbsp; &nbsp; 0.134 [ms] (หมายความ ว่า, ใน คำขอ พร้อม กัน ทั้งหมด)<br />
อัตรา การ โอน เงิน: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;411700.31 [Kbytes / วินาที] ที่ ได้ รับ<br />
<br />
Connection Times (ms)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; min &nbsp;หมายความ ว่า[+/-sd] median &nbsp; max<br />
Connect: &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp;2 &nbsp; 0.4 &nbsp; &nbsp; &nbsp;2 &nbsp; &nbsp; &nbsp;16<br />
Processing: &nbsp; &nbsp; 3 &nbsp; 11 &nbsp; 0.8 &nbsp; &nbsp; 11 &nbsp; &nbsp; &nbsp;27<br />
Waiting: &nbsp; &nbsp; &nbsp; &nbsp;1 &nbsp; &nbsp;3 &nbsp; 1.2 &nbsp; &nbsp; &nbsp;3 &nbsp; &nbsp; &nbsp;25<br />
Total: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;6 &nbsp; 13 &nbsp; 0.8 &nbsp; &nbsp; 13 &nbsp; &nbsp; &nbsp;32</div></div>
</pre>
<p>ที่ 3.29 Gbps @ 7469 ขอต่อวินาที, I consider this to be a rather well performing setup. Well prepared for my next project!</p>
</div>


<div class="shr-bookmarks shr-bookmarks-expand">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.myatus.co.uk/2010/06/28/a-simplified-nginx-apache-combo-with-wordpress-support/feed" rel="nofollow" title="สมัคร ความ คิดเห็น สำหรับ บทความ นี้?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.myatus.co.uk/2010/06/28/a-simplified-nginx-apache-combo-with-wordpress-support/&amp;title=A+simplified+Nginx-Apache+combo+with+Wordpress+support" rel="nofollow" title="แบ่งปัน นี้ ใน del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.myatus.co.uk/2010/06/28/a-simplified-nginx-apache-combo-with-wordpress-support/&amp;title=A+simplified+Nginx-Apache+combo+with+Wordpress+support" rel="nofollow" title="Digg นี้!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.myatus.co.uk/2010/06/28/a-simplified-nginx-apache-combo-with-wordpress-support/&amp;title=A+simplified+Nginx-Apache+combo+with+Wordpress+support&amp;desc=It%20looks%20like%20I%20have%20neglected%20to%20write%20a%20new%20article%20in%20quite%20a%20while%21%20Shame%20on%20me.%20But%2C%20thanks%20to%20a%20website%20outage%2C%20I%27ve%20finally%20got%20some%20more%20good%20stuff%20to%20share%20with%20you.%0D%0A%0D%0AMy%20previous%20Nginx%20configuration%20became%20a%20nightmare%20to%20maintain%20and%20WordPress%20had%20become%20slower%20because%20Apache%27s%20children%20w" rel="nofollow" title="โพ ส ต์ นี้ Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.myatus.co.uk/2010/06/28/a-simplified-nginx-apache-combo-with-wordpress-support/&amp;imageurl=" rel="nofollow" title="โพสต์ใน Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.myatus.co.uk/2010/06/28/a-simplified-nginx-apache-combo-with-wordpress-support/&amp;bm_description=A+simplified+Nginx-Apache+combo+with+Wordpress+support&amp;plugin=sexybookmarks" rel="nofollow" title="เพิ่ม ไป ยัง มร ห ว่อง">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.myatus.co.uk/2010/06/28/a-simplified-nginx-apache-combo-with-wordpress-support/&amp;title=A+simplified+Nginx-Apache+combo+with+Wordpress+support" rel="nofollow" title="แบ่งปัน นี้ Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.myatus.co.uk/2010/06/28/a-simplified-nginx-apache-combo-with-wordpress-support/&amp;title=A+simplified+Nginx-Apache+combo+with+Wordpress+support" rel="nofollow" title="แบ่งปัน นี้ Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.myatus.co.uk/2010/06/28/a-simplified-nginx-apache-combo-with-wordpress-support/&amp;title=A+simplified+Nginx-Apache+combo+with+Wordpress+support" rel="nofollow" title="สะดุด แก่ สิ่ง ที่ ดี? ร่วม กัน ใน StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.myatus.co.uk/2010/06/28/a-simplified-nginx-apache-combo-with-wordpress-support/" rel="nofollow" title="แบ่งปัน นี้ ใน Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=A+simplified+Nginx-Apache+combo+with+Wordpress+support+-+http://bit.ly/abDc4R&amp;source=shareaholic" rel="nofollow" title="Tweet นี้!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>บทความที่เกี่ยวข้อง:<ol><li><a href='http://www.myatus.co.uk/2009/08/31/nginx-and-apache-but-no-memcached/' rel='bookmark' title='Permanent Link: NginX และ Apache, แต่ไม่ memcached'>NginX and Apache, but no memcached</a></li>
<li><a href='http://www.myatus.co.uk/2009/12/17/faster-wp-super-cache-with-nginx/' rel='bookmark' title='Permanent Link: เร็ว WP Super Cache with nginx'>Faster WP Super Cache with NginX</a></li>
<li><a href='http://www.myatus.co.uk/2009/09/07/compiling-nginx-on-debian-ubuntu/' rel='bookmark' title='Permanent Link: รวบรวม NginX ใน Debian / อูบุนตู'>Compiling NginX on Debian / Ubuntu</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentrss>http://www.myatus.co.uk/th/2010/06/28/a-simplified-nginx-apache-combo-with-wordpress-support/feed/</wfw:commentrss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Guide: ไฟร์วอลล์และเราเตอร์กับ Proxmox &#8211; ขยาย ระยะ เวลา ใช้ งาน</title>
		<link>http://www.myatus.co.uk/th/2010/03/20/guide-firewall-and-router-with-proxmox-extending-its-us/</link>
		<comments>http://www.myatus.co.uk/th/2010/03/20/guide-firewall-and-router-with-proxmox-extending-its-us/#comments</comments>
		<pubdate>Sat, 20 Mar 2010 09:08:55 +0000</pubdate>
		<dc:creator>Myatu</dc:creator>
				<category><![CDATA[คอมพิวเตอร์]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[fail2ban]]></category>
		<category><![CDATA[ไฟร์วอลล์]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[proxmox]]></category>
		<category><![CDATA[Shorewall]]></category>

		<guid ispermalink="false">http://www.myatus.co.uk/?p=505-th</guid>
		<description><![CDATA[Last year I wrote a guide on how to use Shorewall as a firewall and router for Proxmox. เป็น ติดตาม ฉัน จะ ตอบ คำถาม ไม่ กี่ ฉัน ได้ รับ เกี่ยว กับ แนวทาง ที่ จะ ช่วย ให้ คุณ ขยาย ใช้ งาน ที่. Proxy ARP The most common question is in regards to proxy ARP. Enabling this option [...]


บทความที่เกี่ยวข้อง:<ol><li><a href='http://www.myatus.co.uk/2009/08/31/guide-firewall-and-router-with-proxmox/' rel='bookmark' title='Permanent Link: Guide: ไฟร์วอลล์และเราเตอร์กับ Proxmox'>Guide: Firewall and router with Proxmox</a></li>
<li><a href='http://www.myatus.co.uk/2010/07/17/blocking-w00tw00t-scans/' rel='bookmark' title='Permanent Link: ป้องกันการสแกน w00tw00t'>Blocking w00tw00t scans</a></li>
<li><a href='http://www.myatus.co.uk/2009/08/24/guide-installing-opensolaris-on-a-remote-dedicated-server/' rel='bookmark' title='Permanent Link: Guide: OpenSolaris ติดตั้งในเซิร์ฟเวอร์เฉพาะระยะไกล'>Guide: Installing OpenSolaris on a remote dedicated server</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-thumbnail wp-image-526" title="Online Hoodies" src="http://www.myatus.co.uk/wp-content/uploads/2010/03/online_hoodies-150x150.jpg" alt="&quot;Metro rebrands Hackers&quot; by gwire, attribution license" width="150" height="150" />ปี ที่ แล้ว ผม เขียน แนะนำ ใน <a title="Guide: Firewall and router with Proxmox" href="http://www.myatus.co.uk/2009/08/31/guide-firewall-and-router-with-proxmox/">วิธี การ ใช้ Shorewall เป็น ไฟร์วอลล์ และ เรา เตอร์ สำหรับ Proxmox</a>. As a follow up I will answer a few questions I&#8217;ve received about that guide that can help you extend its use.</p>
<h2>proxy ARP</h2>
<p>คำถาม ที่ พบ บ่อย อยู่ ใน กระแสจิต <em>proxy ARP</em>. การ เปิด ตัว เลือก นี้ จะ ช่วย ให้ คุณ สามารถ ระบุ IP ประชาชน โดยตรง VM แขก ของ ท่าน นี้, ขจัด ความ จำเป็น ใน การ ส่ง ต่อ พอร์ต (DTA) or having to worry about the MAC address.</p>
<p>ใช้ เป็น ตัวอย่าง สำหรับ proxy ARP, it is helpful for those using a a SIP-based VoIP server since a STUN server is no longer required.<span id="more-505"></span></p>
<h3>Enabling Proxy ARP</h3>
<p>The first step is to ensure that Proxy ARP is enabled.  This is a fairly simple task and involves adding an single line to one of your static network ห้องs. Which one precisely depends on your system setup; for those who have an <em>eth0</em> stanza, you can use it there. For others who only have a <em>vmbr0..n</em> stanza, the additional line should be placed there.</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">iface eth0 inet static<br />
&nbsp; &nbsp; # ... existing lines ...<br />
&nbsp; &nbsp; post-up echo 1 &gt; /proc/sys/net/ipv4/conf/all/proxy_arp</div></div>
</pre>
<p>These changes will take effect on your next boot or whenever you restart your networking services.</p>
<h3>Add a route to Shorewall</h3>
<p>Shorewall needs to know that you&#8217;d like to use proxy ARP, for which IP that is and where this IP needs to be routed to. The beauty of Shorewall is its simplicity and so this can be quickly done by creating a file named <em>/etc/shorewall/proxyarp</em> that will contain this:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">#ADDRESS    INTERFACE    EXTERNAL    HAVEROUTE    PERSISTENT<br />
92.22.33.44 vmbr0 &nbsp; &nbsp; &nbsp; &nbsp;eth0</div></div>
</pre>
<p>Translated, this informs Shorewall that the public IP 92.22.33.44 attached to <em>eth0</em> needs to be forwarded to a guest VM (using this public IP) attached to the <em>vmbr0</em> bridge.</p>
<p>As you can tell from the first line, there are two additional options: <em>haveroute</em> และ <em>persistent</em>.</p>
<p>The <em>haveroute</em> option determines whether Shหรือewall should create a route from the external interface to the bridge. For guest containers based on OpenVZ, Proxmox will take of creating the route. But for fully virtualised containers (based on KVM), you need to create this route yourself. In this case we tell Shorewall to create the route for us, by keep this option&#8217;s value at its default value (blank, or <em>ใน</em>).</p>
<p>เมื่อมีการ <em>haveroute</em> option is set to ใน (default), the <em>persistent</em> option tells Shorewall if it should keep the created route active if Shorewall is stopped. Generally, and for security reasons, you should leave this at its default option (blank or <em>No</em>). This prevents the guest VM from being exposed without a firewall protecting it.</p>
<h3>Creating Shorewall rules</h3>
<p>In the original guide all traffic from the public side to internal VMs is blocked. This continues to be the same when you are using proxy ARP and thus need to create rules that permit traffic to certain ports. This can be done by adding rules like:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ACCEPT    net    dmz:92.22.33.44    udp    5060</div></div>
</pre>
<p>This will permit UDP traffic on port 5060 to proceed to the guest VM on IP 92.22.33.44. You can also use the Shorewall macros, ตัวอย่างเช่น:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">HTTP/ACCEPT    net     dmz:92.22.33.44</div></div>
</pre>
<p>And in this case it will make a web server on 92.22.33.44 accessible to the public.</p>
<p>หรือมิฉะนั้น, you may setup a single rule that accepts all traffic on  all ports:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ยอมรับ    net     dmz:92.22.33.44</div></div>
</pre>
<p>However you should take care that the guest VM has its own set of rules to block unwanted or unsafe traffic.</p>
<p>The main thing to take care of with these proxy ARP firewall rules is to use <em>&#8220;ACCEPT&#8221;</em> และไม่ <em>&#8220;DTA&#8221;</em> as explained in the original guide.</p>
<h2>Multiple public IPs</h2>
<p>Another common question is in regards to multiple public IP addresses. The original guide assumed that the host has one public IP address, so here are a few additional pointers.</p>
<p>If you are following the original guide, ในขณะนั้น <em>any</em> public IP will be applied the same rule. So let&#8217;s say you have two public IP addresses, 94.11.22.33 และ 94.22.33.44 and the following rule:</p>
<pre>
<div class="codecolหรือer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ACCEPT    net    fw    tcp    5900:5999</div></div>
</pre>
<p>With this rule, you can use both 93.11.22.33:5900 or 94.22.33.44:5900 to connect to Proxmox&#8217;s VNC. But you wish to restrict it to a specific IP address, then you need to modify the rule as following:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ACCEPT    net   fw:94.22.33.44    tcp    5900:5999</div></div>
</pre>
<p>Now you can only use 94.22.33.44:5900 to connect, but not 93.11.22.33:5900.</p>
<p>The same applies to port forwarding (DTA) rules, which is written in a slightly different format. Let&#8217;s say we have this rule:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">DNAT    net    dmz:10.0.0.1    tcp    1234</div></div>
</pre>
<p>This will forward <em>any</em> public IP to port 1234 on the guest VM at 10.0.0.1. So both 94.11.22.33:1234 และ 94.22.33.44:1234 will work. If you wish to restrict this to a certain public IP address, the rule needs to be modified as following:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">DNAT    net    dmz:10.0.0.1    tcp    1234    -    94.22.33.44</div></div>
</pre>
<p>เท่านั้น 94.22.33.44:1234 will be allowed at this point.</p>
<h3>Memorable names</h3>
<p>If you have many IP addresses, it becomes easy to forget which IP to use. You can use Shorewall&#8217;s &#8220;params&#8221; file to give IPs a memorable name. Edit the file <em>/etc/shorewall/params</em> ดังต่อไปนี้:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">IP_ALEX=94.11.22.33<br />
IP_SONIA=94.22.33.44<br />
IP_ERIC=94.33.44.55<br />
IP_VM1=10.0.0.1<br />
IP_VM2=10.0.0.2<br />
IP_VM3=10.0.0.3</div></div>
</pre>
<p>Now you can use these names instead of the IP address in any of your Shorwall rules, like so:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">HTTP/DNAT    net     dmz:$IP_VM1    -    -    -    $IP_SONIA</div></div>
</pre>
<p>And this would forward HTTP traffic from 94.22.33.44 to a guest VM running on 10.0.0.1.</p>
<h2>Mixed use and bridging</h2>
<p>The original guide not only adds a firewall, but also helped those who&#8217;s hosting provided blocked IPs on unauthorized MACs. One such hosting provided was OVH, and they have recently introduced a &#8220;Virtual MACs for VPS&#8221; option that allows you to assign an IP address to a MAC. This eliminates the need for Proxy ARP or port forwarding/NAT, however the original guide will still prove itself useful for protecting the host.</p>
<p>I will provide a sample setup below, which can be modified to suit your needs and network configuration. This assumes you have have a basic understanding of networking and read my <a title="Guide: Firewall and router with Proxmox" href="http://www.myatus.co.uk/2009/08/31/guide-firewall-and-router-with-proxmox/">previous guide</a>.</p>
<h3>อินเตอร์เฟส</h3>
<p>We modify the <em>/ etc เครือข่าย / / interfaces</em> ดังต่อไปนี้:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># The loopback network interface<br />
auto lo<br />
iface lo inet loopback<br />
<br />
# Public Network. Make sure to only use MACs that were assigned to you<br />
auto vmbr0<br />
iface vmbr0 inet static<br />
&nbsp;# The following settings are specific to your hosting provider:<br />
&nbsp;address 94.11.22.33<br />
&nbsp;netmask 255.255.255.0<br />
&nbsp;network 94.11.22.0<br />
&nbsp;broadcast 94.11.22.255<br />
&nbsp;gateway 94.11.22.254<br />
&nbsp;# The following assumes eth0 is the public-side NIC, the remained is always the same<br />
&nbsp;bridge_ports eth0<br />
&nbsp;bridge_stp off<br />
&nbsp;bridge_fd<br />
<br />
# Optional Private Network. This network cannot be access directly from the public side<br />
auto vmbr1<br />
iface vmbr1 inet auto<br />
 address 10.0.0.1<br />
 network 255.0.0.0<br />
 broadcast 10.255.255.25<br />
&nbsp;bridge_ports none<br />
 bridge_stp off<br />
 bridge_fd 0</div></div>
</pre>
<p>The host, accessible by 94.11.22.33, will have two bridges at this point: <em>vmbr0</em> serving the public-side and <em>vmbr1</em> serving inter-VM communication.</p>
<p>To assign a public IP address to a KVM, you use the <em>vmbr0</em> bride and must ensure the MAC corresponds to the one provided by your hosting provider (if a MAC restriction is in place).</p>
<p>You can also add a 2nd NIC (or as the only NIC) to the KVM, which is bridged with <em>vmbr1</em>. ในกรณีนี้, you need to use an IP within the 10.0.0.2-10.255.255.254 ขอบเขต, and as gateway 10.0.0.1. This particular IP range can only be used between other VMs on the same host / bridge, unless you use port forwarding or a VPN on the same IP range.</p>
<h3>Shorewall Interfaces and Zones</h3>
<p>The basic <em>/ etc shorewall / interfaces</em> will be:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">#ZONE    INTERFACE    BROADCAST    OPTIONS<br />
pub    vmbr0        detect        routeback,bridge<br />
loc    vmbr1        detect        routeback,bridge<br />
<br />
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE</div></div>
</pre>
<p>You could also add the <em>blacklist</em> ตัวเลือก, or any of the other possible Shorewall options if you wish.</p>
<p>The accompanying /etc/shorewall/zones will look like this:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">#ZONE    TYPE        OPTIONS        IN            OUT<br />
#                    OPTIONS            OPTIONS<br />
FW    firewall<br />
pub    ipv4<br />
loc    ipv4<br />
<br />
#LAST LINE - ADD YOUR ENTRIES ABOVE THIS ONE - DO NOT REMOVE</div></div>
</pre>
<p>You now have three distinct Shorewall zones. The <em>fw</em> zone is a self-reference to the host (in our sample setup 94.11.22.33 และ 10.0.0.1). The <em>pub</em> zone represents the publicly accessible <em>vmbr0</em> bridge and <em>loc</em> our internal <em>vmbr1</em> bridge.</p>
<h3>Shorewall Policy</h3>
<p>The following policy defines these basic rules:</p>
<ul>
<li>Traffic from the the host anywhere else is permitted</li>
<li>Traffic from the public side to the host and the internal network is denied</li>
<li>Traffic from the internal side to the host is denied, anywhere else is permitted</li>
</ul>
<p>Edit <em>/ etc shorewall / นโยบาย</em>:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">#SOURCE    DEST    POLICY        LOG    LIMIT:        CONNLIMIT:<br />
#                    LEVEL    BURST        MASK<br />
<br />
# From Firewall:<br />
fw        fw    ACCEPT<br />
fw        pub    ACCEPT<br />
fw        loc    ACCEPT<br />
<br />
# Public Bridge (read the policy warnings!):<br />
pub        pub    ACCEPT<br />
pub        loc    ACCEPT<br />
pub        fw    DROP        info<br />
<br />
# Local (internal) Bridge:<br />
loc        loc    ACCEPT<br />
loc        pub    ACCEPT<br />
loc        fw    DROP        info<br />
<br />
# THE FOLLOWING POLICY MUST BE LAST<br />
#<br />
all    all    REJECT        info<br />
<br />
#LAST LINE -- DO NOT REMOVE</div></div>
</pre>
<h3>Policy Warnings</h3>
<p>With this sample policy it means that <span style="text-decoration: underline;">each publicly accessible guest VM should have its own firewall</span>. If you wish ถึง change this behavior, and let Shorewall handle the firewall for each such guest VM, then change the Public Bridge section:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">pub        pub    DROP &nbsp; &nbsp; &nbsp;info</div></div>
</pre>
<p>You then need to create specific rules that allow traffic to VMs on <em>vmbr0</em>.</p>
<p>A similar warning applies to traffic from <em>vmbr0</em> to <em>vmbr1</em>. The policy assumes that <em>vmbr0</em> does not receive any routable traffic on a private IP range (also called <em>&#8220;martians&#8221;</em>). Although this is often the case, it depends on the hosting provider&#8217;s internal networking. If you are not sure whether there&#8217;s routable traffic on a private IP range from the public side, you have two options. The first is to disallow all traffic from <em>vmbr0</em> (pub) to <em>vmbr1</em> (loc) by editing the Public Bridge section:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">pub        loc    DROP &nbsp; &nbsp; &nbsp;info</div></div>
</pre>
<p>The alternative is to have a set of rules in <em>/ etc shorewall / / กฎ</em> like so:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># ...<br />
SECTION NEW<br />
<br />
# Leave these at the top, right after &quot;SECTION NEW&quot;!<br />
DROP        pub:10.0.0.0/8        all<br />
DROP        pub:192.168.0.0/16    all<br />
DROP        pub:172.168.0.0/12    all<br />
<br />
# ... Other rules follow ...<br />
<br />
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE</div></div>
</pre>
<blockquote><p><strong>In all cases, you should verify whether traffic is truly blocked and never assume that it is!<br />
</strong></p></blockquote>
<h2>Shorewall and fail2ban</h2>
<p><a title="Fail2ban" href="http://www.fail2ban.org/" target="_blank"><img class="alignleft size-full wp-image-523" title="Fail2ban Logo" src="http://www.myatus.co.uk/wp-content/uploads/2010/03/fail2ban_logo.png" alt="" width="135" height="130" />Fail2ban</a> in its own words <em>&#8220;scans log files like /var/log/pwdfail or /var/log/apache/error_log and bans IP that makes too many password failures. It updates firewall rules to reject the IP address&#8221;</em>. This can for instance be used to (temporarily) ban a bot that is attempting a brute-force entry through SSH.</p>
<p>Fail2ban is an ideal companion to Shorewall and can be installed in a matter of minutes on a Proxmox host. You start by installing Fail2ban from the Debian packages:</p>
<pre>
<div class="codecolorer-container bash blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> fail2ban</div></div>
</pre>
<h3>Configure Shorewall</h3>
<p>Next you need to edit one line in the Shorewall configuration file, located at <em>/ etc shorewall / shorewall.conf</em>:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">BLACKLISTNEWONLY=No</div></div>
</pre>
<p>That&#8217;s all you need to configure in Shorewall. Remember to apply your settings by restarting Shorewall with the command <em>&#8220;shorewall restart&#8221;</em>.</p>
<h3>Configure Fail2ban</h3>
<p>The last step is to configure Fail2ban. ไฟล์ <em>/etc/fail2ban/jail.conf</em> is extensively documented and of particular interest are the following settings:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">...<br />
#<br />
# Destination email address used solely for the interpolations in<br />
# jail.{conf,local} configuration files.<br />
destemail = myemail@address.com<br />
<br />
...<br />
#<br />
# ACTIONS<br />
#<br />
<br />
# Default banning action (e.g. iptables, iptables-new,<br />
# iptables-multiport, Shorewall, etc) It is used to define<br />
# action_* variables. Can be overriden globally or per<br />
# ส่วนที่ within jail.local file<br />
banaction = กับhorewall<br />
<br />
...<br />
# Choose default action.  To change, just override value of 'action' with the<br />
# interpolation to the chosen action shortcut (e.g.  action_mw, action_mwl, etc$<br />
# globally (section [DEFAULT]) or per specific section<br />
action = %(action_mwl)s</div></div>
</pre>
<p>Inform fail2ban of these changes by issuing the following command:</p>
<pre>
<div class="codecolorer-container bash blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">fail2ban-client reload</div></div>
</pre>
<p>The <em>destemail</em> variable should be changed to your own e-mail address, where you will be informed of any ban actions. The <em>banaction</em> variable specifies that Shorewall should be used to block possible intruders. And finally, the <em>action</em> variable tells fail2ban to ban any detected intruder and then send an you a detailed e-mail with the relevant log lines (that caused the ban). Following is an example of an actual e-mail:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">สวัสดี,<br />
<br />
The IP 193.86.5.103 has just been banned by Fail2Ban after<br />
3 attempts against ssh.<br />
<br />
Here are more information about 193.86.5.103:<br />
<br />
% This is the RIPE Database query service.<br />
% The objects are in RPSL format.<br />
%<br />
% The RIPE Database is subject to Terms and Conditions.<br />
% เห็น &lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;http://www.ripe.net/db/support/db-terms-conditions.pdf&quot;&gt;http://www.ripe.net/db/support/db-terms-conditions.pdf&lt;/a&gt;<br />
<br />
% หมายเหตุ: This output has been filtered.<br />
% &nbsp; &nbsp; &nbsp; To receive output for a database update, use the &quot;-B&quot; flag.<br />
<br />
% Information related to '193.86.4.0 - 193.86.5.255'<br />
<br />
inetnum: &nbsp; &nbsp; &nbsp;193.86.4.0 - 193.86.5.255<br />
netname: &nbsp; &nbsp; &nbsp;BRANO<br />
descr: &nbsp; &nbsp; &nbsp; &nbsp;BRANO, Inc.<br />
descr: &nbsp; &nbsp; &nbsp; &nbsp;Hradec nad Moravici<br />
country: &nbsp; &nbsp; &nbsp;CZ<br />
admin-c: &nbsp; &nbsp; &nbsp;BK230-RIPE<br />
tech-c: &nbsp; &nbsp; &nbsp; TP231-RIPE<br />
status: &nbsp; &nbsp; &nbsp; ASSIGNED PA<br />
mnt-by: &nbsp; &nbsp; &nbsp; GTSCZ-MNT<br />
source: &nbsp; &nbsp; &nbsp; RIPE # Filtered<br />
<br />
person: &nbsp; &nbsp; &nbsp; Bohumil Kriz<br />
ที่อยู่: &nbsp; &nbsp; &nbsp;BRANO, Inc.<br />
ที่อยู่: &nbsp; &nbsp; &nbsp;Computer Centre<br />
ที่อยู่: &nbsp; &nbsp; &nbsp;Hradec nad Moravici<br />
ที่อยู่: &nbsp; &nbsp; &nbsp;747 41<br />
ที่อยู่: &nbsp; &nbsp; &nbsp;The Czech Republic<br />
phone: &nbsp; &nbsp; &nbsp; &nbsp;+420 653 918118<br />
fax-no: &nbsp; &nbsp; &nbsp; +420 653 911791<br />
nic-hdl: &nbsp; &nbsp; &nbsp;BK230-RIPE<br />
source: &nbsp; &nbsp; &nbsp; RIPE # Filtered<br />
<br />
person: &nbsp; &nbsp; &nbsp; Tomas Partl<br />
ที่อยู่: &nbsp; &nbsp; &nbsp;Brano, Inc.<br />
address: &nbsp; &nbsp; &nbsp;Computer Centre<br />
address: &nbsp; &nbsp; &nbsp;Hradec nad Moravici<br />
address: &nbsp; &nbsp; &nbsp;747 41<br />
address: &nbsp; &nbsp; &nbsp;The Czech Republic<br />
phone: &nbsp; &nbsp; &nbsp; &nbsp;+420 653 918371<br />
fax-no: &nbsp; &nbsp; &nbsp; +420 653 911791<br />
nic-hdl: &nbsp; &nbsp; &nbsp;TP231-RIPE<br />
source: &nbsp; &nbsp; &nbsp; RIPE # Filtered<br />
<br />
% Information related to '193.86.0.0/16AS2819'<br />
<br />
ถนน: &nbsp; &nbsp; &nbsp; &nbsp;193.86.0.0/16<br />
descr: &nbsp; &nbsp; &nbsp; &nbsp;CZNET-A<br />
origin: &nbsp; &nbsp; &nbsp; AS2819<br />
mnt-by: &nbsp; &nbsp; &nbsp; GTSCZ-A-MNT<br />
source: &nbsp; &nbsp; &nbsp; RIPE # Filtered<br />
<br />
Lines containing IP:193.86.5.103 in /var/log/auth.log<br />
<br />
กุมภาพันธ์ 27 03:32:02 host sshd[21460]: Failed password for root from 193.86.5.103 พอร์ต 35833 ssh2<br />
Feb 27 03:32:04 host sshd[21502]: Failed password for root from 193.86.5.103 พอร์ต 36302 ssh2<br />
Feb 27 03:32:06 host sshd[21504]: Failed password for root from 193.86.5.103 พอร์ต 36719 ssh2<br />
<br />
Regards,<br />
<br />
fail2ban</div></div>
</pre>
<p>By default fail2ban is configured to monitor SSH, which for a Proxmox host works without any additional changes. Personally I prefer a ban on 3 attempts instead of the default 6, so I have made this one change in the <em>/etc/fail2ban/jail.conf</em> ไฟล์:</p>
<pre>
<div class="codecolorer-container text blackboard no_translate none" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">[ssh]<br />
maxretry = 3</div></div>
</pre>
<p>But again, the configuration file is quite well documented, so any personal preferences or modifications should be easy to accomplish.</p>
<h6 style="text-align: right;">&#8220;Hoodies Online&#8221; photo by <a href="http://www.flickr.com/photos/gwire/2981340426/" target="_blank">gwire</a>, CC Attribution License</h6>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 4641px; width: 1px; height: 1px; overflow: hidden;">
<pre>สวัสดี,

The IP 193.86.5.103 has just been banned by Fail2Ban after
3 attempts against ssh.

Here are more information about 193.86.5.103:

% This is the RIPE Database query service.
% The objects are in RPSL format.
%
% The RIPE Database is subject to Terms and Conditions.
% เห็น <a class="moz-txt-link-freetext" href="http://www.ripe.net/db/support/db-terms-conditions.pdf">http://www.ripe.net/db/support/db-terms-conditions.pdf</a>

% หมายเหตุ: This output has been filtered.
%       To receive output for a database update, use the "-B" flag.

% Information related to '193.86.4.0 - 193.86.5.255'

inetnum:      193.86.4.0 - 193.86.5.255
netname:      BRANO
descr:        BRANO, Inc.
descr:        Hradec nad Moravici
country:      CZ
admin-c:      BK230-RIPE
tech-c:       TP231-RIPE
status:       ASSIGNED PA
mnt-by:       GTSCZ-MNT
source:       RIPE # Filtered

person:       Bohumil Kriz
ที่อยู่:      BRANO, Inc.
ที่อยู่:      Computer Centre
ที่อยู่:      Hradec nad Moravici
ที่อยู่:      747 41
address:      The Czech Republic
phone:        +420 653 918118
fax-no:       +420 653 911791
nic-hdl:      BK230-RIPE
source:       RIPE # Filtered

person:       Tomas Partl
address:      Brano, Inc.
address:      Computer Centre
address:      Hradec nad Moravici
address:      747 41
address:      The Czech Republic
phone:        +420 653 918371
fax-no:       +420 653 911791
nic-hdl:      TP231-RIPE
source:       RIPE # Filtered

% Information related to '193.86.0.0/16AS2819'

route:        193.86.0.0/16
descr:        CZNET-A
origin:       AS2819
mnt-by:       GTSCZ-A-MNT
source:       RIPE # Filtered

Lines containing IP:193.86.5.103 in /var/log/auth.log

Feb 27 03:32:02 host sshd[21460]: Failed password for root from 193.86.5.103 พอร์ต 35833 ssh2
Feb 27 03:32:04 host sshd[21502]: Failed password for root from 193.86.5.103 พอร์ต 36302 ssh2
Feb 27 03:32:06 host sshd[21504]: Failed password for root from 193.86.5.103 พอร์ต 36719 ssh2

Regards,

fail2ban</pre>
</div>


<div class="shr-bookmarks shr-bookmarks-expand">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.myatus.co.uk/2010/03/20/guide-firewall-and-router-with-proxmox-extending-its-us/feed" rel="nofollow" title="สมัคร ความ คิดเห็น สำหรับ บทความ นี้?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.myatus.co.uk/2010/03/20/guide-firewall-and-router-with-proxmox-extending-its-us/&amp;title=Guide%3A+Firewall+and+router+with+Proxmox+-+Extending+its+use" rel="nofollow" title="แบ่งปัน นี้ ใน del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.myatus.co.uk/2010/03/20/guide-firewall-and-router-with-proxmox-extending-its-us/&amp;title=Guide%3A+Firewall+and+router+with+Proxmox+-+Extending+its+use" rel="nofollow" title="Digg นี้!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.myatus.co.uk/2010/03/20/guide-firewall-and-router-with-proxmox-extending-its-us/&amp;title=Guide%3A+Firewall+and+router+with+Proxmox+-+Extending+its+use&amp;desc=Last%20year%20I%20wrote%20a%20guide%20on%20how%20to%20use%20Shorewall%20as%20a%20firewall%20and%20router%20for%20Proxmox.%20As%20a%20follow%20up%20I%20will%20answer%20a%20few%20questions%20I%27ve%20received%20about%20that%20guide%20that%20can%20help%20you%20extend%20its%20use.%0D%0AProxy%20ARP%0D%0AThe%20most%20common%20question%20is%20in%20regards%20to%20proxy%20ARP.%20Enabling%20this%20option%20will%20allow%20you%20t" rel="nofollow" title="โพ ส ต์ นี้ Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.myatus.co.uk/2010/03/20/guide-firewall-and-router-with-proxmox-extending-its-us/&amp;imageurl=" rel="nofollow" title="โพสต์ใน Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.myatus.co.uk/2010/03/20/guide-firewall-and-router-with-proxmox-extending-its-us/&amp;bm_description=Guide%3A+Firewall+and+router+with+Proxmox+-+Extending+its+use&amp;plugin=sexybookmarks" rel="nofollow" title="เพิ่ม ไป ยัง มร ห ว่อง">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.myatus.co.uk/2010/03/20/guide-firewall-and-router-with-proxmox-extending-its-us/&amp;title=Guide%3A+Firewall+and+router+with+Proxmox+-+Extending+its+use" rel="nofollow" title="แบ่งปัน นี้ Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.myatus.co.uk/2010/03/20/guide-firewall-and-router-with-proxmox-extending-its-us/&amp;title=Guide%3A+Firewall+and+router+with+Proxmox+-+Extending+its+use" rel="nofollow" title="แบ่งปัน นี้ Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.myatus.co.uk/2010/03/20/guide-firewall-and-router-with-proxmox-extending-its-us/&amp;title=Guide%3A+Firewall+and+router+with+Proxmox+-+Extending+its+use" rel="nofollow" title="สะดุด แก่ สิ่ง ที่ ดี? ร่วม กัน ใน StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.myatus.co.uk/2010/03/20/guide-firewall-and-router-with-proxmox-extending-its-us/" rel="nofollow" title="แบ่งปัน นี้ ใน Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Guide%3A+Firewall+and+router+with+Proxmox+-+Extending+its+use+-+http://bit.ly/aE9sHf&amp;source=shareaholic" rel="nofollow" title="Tweet นี้!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>บทความที่เกี่ยวข้อง:<ol><li><a href='http://www.myatus.co.uk/2009/08/31/guide-firewall-and-router-with-proxmox/' rel='bookmark' title='Permanent Link: Guide: ไฟร์วอลล์และเราเตอร์กับ Proxmox'>Guide: Firewall and router with Proxmox</a></li>
<li><a href='http://www.myatus.co.uk/2010/07/17/blocking-w00tw00t-scans/' rel='bookmark' title='Permanent Link: ป้องกันการสแกน w00tw00t'>Blocking w00tw00t scans</a></li>
<li><a href='http://www.myatus.co.uk/2009/08/24/guide-installing-opensolaris-on-a-remote-dedicated-server/' rel='bookmark' title='Permanent Link: Guide: OpenSolaris ติดตั้งในเซิร์ฟเวอร์เฉพาะระยะไกล'>Guide: Installing OpenSolaris on a remote dedicated server</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentrss>http://www.myatus.co.uk/th/2010/03/20/guide-firewall-and-router-with-proxmox-extending-its-us/feed/</wfw:commentrss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>WP Flickr พื้น รุ่น 1.0.3 (Beta) ใช้ได้</title>
		<link>http://www.myatus.co.uk/th/2010/03/06/wp-flickr-background-version-103-betaavailable/</link>
		<comments>http://www.myatus.co.uk/th/2010/03/06/wp-flickr-background-version-103-betaavailable/#comments</comments>
		<pubdate>Sat, 06 Mar 2010 07:41:05 +0000</pubdate>
		<dc:creator>Myatu</dc:creator>
				<category><![CDATA[พัฒนาเว็บ]]></category>
		<category><![CDATA[ปลั๊กอิน Wordpress]]></category>
		<category><![CDATA[Flickr]]></category>
		<category><![CDATA[โปรแกรมเสริม]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wp-Flickr-พื้น หลัง]]></category>

		<guid ispermalink="false">http://www.myatus.co.uk/?p=478-th</guid>
		<description><![CDATA[Version 1.0.3 ได้ รับ การ เปิด ตัว, ซึ่ง แก้ไข ข้อ บกพร่อง เล็ก น้อย และ แนะนำ ตัว เลือก ใหม่. ก็ ถือว่า ยัง อยู่ ใน ขั้น เบต้า, ซึ่ง มัก จะ เปลี่ยน กับ รุ่น ถัด ไป. Changes A new option has been introduced to hide the license and attribution information in the footer. แก้ไข Bug: config [...]


บทความที่เกี่ยวข้อง:<ol><li><a href='http://www.myatus.co.uk/2010/02/26/wp-flickr-background-version-1-0-2-beta-available/' rel='bookmark' title='Permanent Link: WP Flickr พื้น รุ่น 1.0.2 (Beta) ใช้ได้'>พื้นหลัง WP Flickr version 1.0.2 (Beta) available</a></li>
<li><a href='http://www.myatus.co.uk/2010/02/26/wp-flickr-background/' rel='bookmark' title='Permanent Link: WP Flickr Background'>WP Flickr Background</a></li>
<li><a href='http://www.myatus.co.uk/2010/01/20/wp-flickr-background-in-alpha-testing/' rel='bookmark' title='Permanent Link: พื้นหลัง WP Flickr ในการทดสอบอัลฟา'>WP Flickr Background in Alpha testing</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Version 1.0.3 ได้ รับ การ เปิด ตัว, ซึ่ง แก้ไข ข้อ บกพร่อง เล็ก น้อย และ แนะนำ ตัว เลือก ใหม่. ก็ ถือว่า ยัง อยู่ ใน ขั้น เบต้า, which most likely will change with the next release.</p>
<h3>การ เปลี่ยนแปลง</h3>
<ul>
<li>A new option has been introduced to hide the license and attribution information in the footer.</li>
<li>แก้ไข Bug: ไฟล์ กัญชา Config แล้ว ไม่ initialized</li>
<li>แก้ไข Bug: เปิด ใช้ &#8220;cacheable&#8221; ตัว ก่อ ให้ เกิด การ ผิด พลาด ร้ายแรง PHP ใน บาง กรณี</li>
<li>แก้ไข Bug: ตัว เลือก Preview ไม่ ได้ เมื่อ &#8220;cacheable&#8221; ตัว เลือก เปิด ใช้</li>
<li>แก้ไข Bug: &#8220;All Rights Reseved&#8221; URL ที่ ไม่มี ใบ อนุญาต ได้</li>
</ul>
<p>นอกจาก นี้, WP Flickr มา ไม่ เข้า กัน ได้ กับ รุ่น WordPress 2.8 or older.</p>
<p>Links: ดาวน์โหลด โดยตรง <a class="downloadlink" href="http://www.myatus.co.uk/wp-content/plugins/download-monitor/download.php?id=1" title="Version1.0.3 downloaded 147 times" >พื้นหลัง WP Flickr (147)</a> | <a title="Directory ปลั๊กอิน Wordpress" href="http://wordpress.org/extend/plugins/wp-flickr-background/" target="_blank">WordPress Plugin Directory</a></p>


<div class="shr-bookmarks shr-bookmarks-expand">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.myatus.co.uk/2010/03/06/wp-flickr-background-version-103-betaavailable/feed" rel="nofollow" title="สมัคร ความ คิดเห็น สำหรับ บทความ นี้?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.myatus.co.uk/2010/03/06/wp-flickr-background-version-103-betaavailable/&amp;title=WP+Flickr+Background+version+1.0.3+%28Beta%29+available" rel="nofollow" title="แบ่งปัน นี้ ใน del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.myatus.co.uk/2010/03/06/wp-flickr-background-version-103-betaavailable/&amp;title=WP+Flickr+Background+version+1.0.3+%28Beta%29+available" rel="nofollow" title="Digg นี้!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.myatus.co.uk/2010/03/06/wp-flickr-background-version-103-betaavailable/&amp;title=WP+Flickr+Background+version+1.0.3+%28Beta%29+available&amp;desc=Version%201.0.3%20has%20been%20released%2C%20which%20fixes%20a%20few%20minor%20bugs%20and%20introduces%20a%20new%20option.%20It%20is%20still%20considered%20to%20be%20in%20a%20Beta%20stage%2C%20which%20most%20likely%20will%20change%20with%20the%20next%20release.%0D%0AChanges%0D%0A%0D%0A%09A%20new%20option%20has%20been%20introduced%20to%20hide%20the%20license%20and%20attribution%20information%20in%20the%20footer.%0D%0A" rel="nofollow" title="โพ ส ต์ นี้ Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.myatus.co.uk/2010/03/06/wp-flickr-background-version-103-betaavailable/&amp;imageurl=" rel="nofollow" title="โพสต์ใน Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.myatus.co.uk/2010/03/06/wp-flickr-background-version-103-betaavailable/&amp;bm_description=WP+Flickr+Background+version+1.0.3+%28Beta%29+available&amp;plugin=sexybookmarks" rel="nofollow" title="เพิ่ม ไป ยัง มร ห ว่อง">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.myatus.co.uk/2010/03/06/wp-flickr-background-version-103-betaavailable/&amp;title=WP+Flickr+Background+version+1.0.3+%28Beta%29+available" rel="nofollow" title="แบ่งปัน นี้ Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.myatus.co.uk/2010/03/06/wp-flickr-background-version-103-betaavailable/&amp;title=WP+Flickr+Background+version+1.0.3+%28Beta%29+available" rel="nofollow" title="แบ่งปัน นี้ Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.myatus.co.uk/2010/03/06/wp-flickr-background-version-103-betaavailable/&amp;title=WP+Flickr+Background+version+1.0.3+%28Beta%29+available" rel="nofollow" title="สะดุด แก่ สิ่ง ที่ ดี? ร่วม กัน ใน StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.myatus.co.uk/2010/03/06/wp-flickr-background-version-103-betaavailable/" rel="nofollow" title="แบ่งปัน นี้ ใน Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=WP+Flickr+Background+version+1.0.3+%28Beta%29+available+-+http://bit.ly/8Y85Kj&amp;source=shareaholic" rel="nofollow" title="Tweet นี้!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>บทความที่เกี่ยวข้อง:<ol><li><a href='http://www.myatus.co.uk/2010/02/26/wp-flickr-background-version-1-0-2-beta-available/' rel='bookmark' title='Permanent Link: WP Flickr พื้น รุ่น 1.0.2 (Beta) ใช้ได้'>พื้นหลัง WP Flickr version 1.0.2 (Beta) available</a></li>
<li><a href='http://www.myatus.co.uk/2010/02/26/wp-flickr-background/' rel='bookmark' title='Permanent Link: WP Flickr Background'>WP Flickr Background</a></li>
<li><a href='http://www.myatus.co.uk/2010/01/20/wp-flickr-background-in-alpha-testing/' rel='bookmark' title='Permanent Link: พื้นหลัง WP Flickr ในการทดสอบอัลฟา'>WP Flickr Background in Alpha testing</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentrss>http://www.myatus.co.uk/th/2010/03/06/wp-flickr-background-version-103-betaavailable/feed/</wfw:commentrss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Red Cross&#8217; ราย ละเอียด ของ ซิตี้ แบงก์ ที่ พูด เบา และ รวดเร็ว อาจ เป็น เท็จ.</title>
		<link>http://www.myatus.co.uk/th/2010/03/01/red-cross-citibank-details-on-twitter-could-be-false/</link>
		<comments>http://www.myatus.co.uk/th/2010/03/01/red-cross-citibank-details-on-twitter-could-be-false/#comments</comments>
		<pubdate>Mon, 01 Mar 2010 01:18:57 +0000</pubdate>
		<dc:creator>Myatu</dc:creator>
				<category><![CDATA[Musings]]></category>
		<category><![CDATA[ส่วนบุคคล]]></category>
		<category><![CDATA[ประเทศ ชิลี]]></category>
		<category><![CDATA[chilequake]]></category>
		<category><![CDATA[เตือน การ หลอกลวง]]></category>
		<category><![CDATA[Red Cross]]></category>
		<category><![CDATA[พูดเบาและรวดเร็ว]]></category>

		<guid ispermalink="false">http://www.myatus.co.uk/?p=465-th</guid>
		<description><![CDATA[A few moments ago I received a message on Twitter that contained information on how you could help the Red Cross with its efforts in Chile. ขณะ ที่ คิด ดี, นี้ ได้ อย่าง รวดเร็ว กลาย เป็น เป้าหมาย ของ fraudsters. My biggest concern is that a fraudster will simply replace the account information to one he [...]


บทความที่เกี่ยวข้อง:<ol><li><a href='http://www.myatus.co.uk/2010/02/28/hawaii-tsunami-sprecks-gallery/' rel='bookmark' title='Permanent Link: สึ นา มิ ฮาวาย, แกล เลอ รี่ ภาพ Sprecks'>Hawaii Tsunami, Sprecks image gallery</a></li>
<li><a href='http://www.myatus.co.uk/2009/12/15/add-hashtags-support-to-wordtwit/' rel='bookmark' title='Permanent Link: เพิ่ม hashtags สนับสนุน WordTwit'>Add hashtags support to WordTwit</a></li>
<li><a href='http://www.myatus.co.uk/2010/03/02/lifestream-for-march-2nd/' rel='bookmark' title='Permanent Link: Lifestream สำหรับ มีนาคม 2'>Lifestream for March 2nd</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.myatus.co.uk/wp-content/uploads/2010/03/Twitter_Chile_nono.png"><img class="alignleft size-thumbnail wp-image-466" title="Twitter &quot;Red Cross&quot; message" src="http://www.myatus.co.uk/wp-content/uploads/2010/03/Twitter_Chile_nono-150x150.png" alt="" width="150" height="150" /></a>สัก ครู่ ที่ ผ่าน มา ฉัน ได้ รับ ข้อความ ใน <a title="พูดเบาและรวดเร็ว" href="http://www.twitter.com" target="_blank">Twitter</a> ที่ มี ข้อมูล เกี่ยว กับ คุณ สามารถ ช่วย Red Cross กับ ความ พยายาม ใน ชิลี. ขณะ ที่ คิด ดี, this can quickly become a target of fraudsters.</p>
<p>กังวล ใหญ่ ที่สุด ของ ฉัน ที่ fraudster ก็ จะ แทนที่ ข้อมูล บัญชี หนึ่ง <em>เขา เป็น เจ้าของ เขา เอง</em>. เพราะ เช่น หัวข้อ ร้อน ที่ พูด เบา และ รวดเร็ว ใน ขณะ นี้, แก้ไข ข้อความ นี้ จะ ทำให้ รอบ ของ มัน อย่าง รวดเร็ว. <span id="more-465"></span></p>
<p>ฉัน สามารถ ติดตาม ข้อความ เดิม กลับ ไป <a title="Chilean Red Cross" href="http://twitter.com/CruzRojainforma" target="_blank">@ CruzRojainforma</a>, ชิลี กาชาด. จนถึง ข้อความ retweeted ไม่มี การ แก้ไข &#8211; นอกเหนือ จาก การ แปล เป็น ภาษา อังกฤษ. แต่ ได้ กระตุ้น ให้ คน หยุด retweeting ราย ละเอียด บัญชี และ เยี่ยม ชม เว็บไซต์ ทางการ Red Cross ที่ <a title="Red Cross" href="http://www.redcross.org" target="_blank">www.redcross.org</a> แทน. There&#8217;s a link right on their main page that explains how you can donate time or money to the Chilean earthquake efforts.</p>
<p>ใน บันทึก สุดท้าย, พูด เบา และ รวดเร็ว ยัง ใช้ เพื่อ ค้นหา คน หาย. และ มี ผล บวก ฉัน สามารถ เพิ่ม, ขณะ ที่ <a title="Twitter – As powerful as an earthquake" href="http://stardustglobalventures.com/2010/02/27/twitter-as-powerful-as-an-earthquake/" target="_blank">บทความ นี้</a> อธิบาย ว่า. Google ยัง มี <a title="Google ค้นหา บุคคล, Chile Earthquake" href="http://chilepersonfinder.appspot.com/" target="_blank">Person Finder</a> ฐาน ข้อมูล ทำงาน, ซึ่ง ได้ ดำเนิน การ แผ่นดินไหว Haiiti อาหาร ดี. แต่ โปรด ตรวจ สอบ ว่า คุณ ไม่ ให้ ออก มาก เกินไป ราย ละเอียด ส่วนตัว เกี่ยว กับ บุคคล ที่ คุณ กำลัง มอง หา, เพราะ จะ เป็น (เกือบ) permanent part of the Internet.</p>
<p>อีกครั้ง, คิด จะ ดี, แต่ มี คน จำนวน มาก เกินไป ออก มี รอ ใช้ ประโยชน์ จาก สถานการณ์ ที่ เป็น ไป ได้ ทุก จึง ระมัดระวัง เป็น!</p>
<p>อินเดีย Force!</p>


<div class="shr-bookmarks shr-bookmarks-expand">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.myatus.co.uk/2010/03/01/red-cross-citibank-details-on-twitter-could-be-false/feed" rel="nofollow" title="สมัคร ความ คิดเห็น สำหรับ บทความ นี้?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.myatus.co.uk/2010/03/01/red-cross-citibank-details-on-twitter-could-be-false/&amp;title=Red+Cross%27+Citibank+details+on+Twitter+could+be+false." rel="nofollow" title="แบ่งปัน นี้ ใน del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.myatus.co.uk/2010/03/01/red-cross-citibank-details-on-twitter-could-be-false/&amp;title=Red+Cross%27+Citibank+details+on+Twitter+could+be+false." rel="nofollow" title="Digg นี้!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.myatus.co.uk/2010/03/01/red-cross-citibank-details-on-twitter-could-be-false/&amp;title=Red+Cross%27+Citibank+details+on+Twitter+could+be+false.&amp;desc=A%20few%20moments%20ago%20I%20received%20a%20message%20on%20Twitter%20that%20contained%20information%20on%20how%20you%20could%20help%20the%20Red%20Cross%20with%20its%20efforts%20in%20Chile.%20While%20the%20intentions%20are%20good%2C%20this%20can%20quickly%20become%20a%20target%20of%20fraudsters.%0D%0A%0D%0AMy%20biggest%20concern%20is%20that%20a%20fraudster%20will%20simply%20replace%20the%20account%20informa" rel="nofollow" title="โพ ส ต์ นี้ Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.myatus.co.uk/2010/03/01/red-cross-citibank-details-on-twitter-could-be-false/&amp;imageurl=" rel="nofollow" title="โพสต์ใน Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.myatus.co.uk/2010/03/01/red-cross-citibank-details-on-twitter-could-be-false/&amp;bm_description=Red+Cross%27+Citibank+details+on+Twitter+could+be+false.&amp;plugin=sexybookmarks" rel="nofollow" title="เพิ่ม ไป ยัง มร ห ว่อง">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.myatus.co.uk/2010/03/01/red-cross-citibank-details-on-twitter-could-be-false/&amp;title=Red+Cross%27+Citibank+details+on+Twitter+could+be+false." rel="nofollow" title="แบ่งปัน นี้ Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.myatus.co.uk/2010/03/01/red-cross-citibank-details-on-twitter-could-be-false/&amp;title=Red+Cross%27+Citibank+details+on+Twitter+could+be+false." rel="nofollow" title="แบ่งปัน นี้ Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.myatus.co.uk/2010/03/01/red-cross-citibank-details-on-twitter-could-be-false/&amp;title=Red+Cross%27+Citibank+details+on+Twitter+could+be+false." rel="nofollow" title="สะดุด แก่ สิ่ง ที่ ดี? ร่วม กัน ใน StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.myatus.co.uk/2010/03/01/red-cross-citibank-details-on-twitter-could-be-false/" rel="nofollow" title="แบ่งปัน นี้ ใน Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Red+Cross%27+Citibank+details+on+Twitter+could+be+false.+-+http://bit.ly/9ZbHks&amp;source=shareaholic" rel="nofollow" title="Tweet นี้!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>บทความที่เกี่ยวข้อง:<ol><li><a href='http://www.myatus.co.uk/2010/02/28/hawaii-tsunami-sprecks-gallery/' rel='bookmark' title='Permanent Link: สึ นา มิ ฮาวาย, แกล เลอ รี่ ภาพ Sprecks'>Hawaii Tsunami, Sprecks image gallery</a></li>
<li><a href='http://www.myatus.co.uk/2009/12/15/add-hashtags-support-to-wordtwit/' rel='bookmark' title='Permanent Link: เพิ่ม hashtags สนับสนุน WordTwit'>Add hashtags support to WordTwit</a></li>
<li><a href='http://www.myatus.co.uk/2010/03/02/lifestream-for-march-2nd/' rel='bookmark' title='Permanent Link: Lifestream สำหรับ มีนาคม 2'>Lifestream for March 2nd</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentrss>http://www.myatus.co.uk/th/2010/03/01/red-cross-citibank-details-on-twitter-could-be-false/feed/</wfw:commentrss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>สึ นา มิ ฮาวาย, แกล เลอ รี่ ภาพ Sprecks</title>
		<link>http://www.myatus.co.uk/th/2010/02/28/hawaii-tsunami-sprecks-gallery/</link>
		<comments>http://www.myatus.co.uk/th/2010/02/28/hawaii-tsunami-sprecks-gallery/#comments</comments>
		<pubdate>Sun, 28 กุมภาพันธ์ 2010 02:03:37 +0000</pubdate>
		<dc:creator>Myatu</dc:creator>
				<category><![CDATA[Musings]]></category>
		<category><![CDATA[ส่วนบุคคล]]></category>
		<category><![CDATA[ประเทศ ชิลี]]></category>
		<category><![CDATA[แผ่นดินไหว]]></category>
		<category><![CDATA[ฮาวาย]]></category>
		<category><![CDATA[สึ นา มิ]]></category>

		<guid ispermalink="false">http://www.myatus.co.uk/?p=446-th</guid>
		<description><![CDATA[ดี, เหมือน คน อื่น ๆ, ฉัน ได้ รับ ดัง ต่อ ไป นี้ เรื่อง การ พัฒนา รอบ สึ นา มิ ที่ เกิด จาก แผ่นดินไหว ใกล้ ซาน ติ อา โก, ประเทศ ชิลี. One of the many island groups that lay in the path of the tsunami was Hawaii and I&#8217;ve been keeping an eye on the webcams provided by MauiWindCam. They were one of the [...]


บทความที่เกี่ยวข้อง:<ol><li><a href='http://www.myatus.co.uk/2010/03/01/lifestream-for-march-1st/' rel='bookmark' title='Permanent Link: Lifestream สำหรับ มีนาคม 1'>Lifestream for March 1st</a></li>
<li><a href='http://www.myatus.co.uk/2010/03/01/red-cross-citibank-details-on-twitter-could-be-false/' rel='bookmark' title='Permanent Link: Red Cross&#8217; Citibank details on Twitter could be false.'>Red Cross&#8217; Citibank details on Twitter could be false.</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.myatus.co.uk/wp-content/uploads/2010/02/chileem.jpg"><img class="alignleft size-thumbnail wp-image-450" title="Chile tsunami path by NOAA" src="http://www.myatus.co.uk/wp-content/uploads/2010/02/chileem-150x150.jpg" alt="" width="150" height="150" /></a>ดี, เหมือน คน อื่น ๆ, ฉัน ได้ รับ ดัง ต่อ ไป นี้ เรื่อง การ พัฒนา รอบ สึ นา มิ ที่ เกิด จาก แผ่นดินไหว ใกล้ ซาน ติ อา โก, ประเทศ ชิลี. หนึ่ง ใน กลุ่ม เกาะ มากมาย ที่ วาง อยู่ ใน เส้นทาง ของ สึ นา มิ นั้น ฮาวาย และ ฉัน ได้ รับ การ รักษา สายตา ใน เว็บ แคม ที่ มี ให้ โดย <a title="MauiWindCam" href="http://www.mauiwindcam.com/" target="_blank">MauiWindCam</a>. พวก เขา เป็น หนึ่ง ใน ไม่ กี่ เว็บไซต์ เว็บ แคม อยู่ ใน ฮาวาย สามารถ ติดต่อ กับ ไหล ใหญ่ ของ คน อยาก รู้ อยาก เห็น อื่น ๆ. สำหรับ ผู้ ที่ พลาด โอกาส นี้, I&#8217;ve recorded a number of images that can be viewed in the gallery below.<span id="more-446"></span></p>
<p>While the actual waves were thankfully less high than expected, you do notice two distinct surges in the images. The view here is of the Sprecks towards the West Maui mountains.</p>
<div class="ngg-galleryoverview"><div class="slideshowlink"><a class="slideshowlink" href="http://www.myatus.co.uk/2010/02/28/hawaii-tsunami-sprecks-gallery/?show=gallery">[Show picture list]</a></div>[[Show as slideshow]]</div>
<div class="ngg-clear"></div>

<p>Here&#8217;s a video which will give a better idea of what it looked like on the ground:</p>
<p style="text-align: center;"><object style="height: 344px; width: 425px;" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100" height="100" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://www.youtube.com/v/If88d-t0x4w" /><param name="allowfullscreen" value="true" /><param name="wmode" value="transparent" /><embed style="height: 344px; width: 425px;" type="application/x-shockwave-flash" width="100" height="100" src="http://www.youtube.com/v/If88d-t0x4w" wmode="transparent" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>I have another set (with a smoother timeline) from a different location as well, which may add soon as well. A few images from that set stood out and I will share this one with you here:</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-452" title="Where's everyone?" src="http://www.myatus.co.uk/wp-content/uploads/2010/02/campone_cellphone_tsumami.jpg" alt="" width="600" height="440" /></p>
<p>Apparently this person wasn&#8217;t aware that there was a tsunami warning in effect and that you shouldn&#8217;t be on the beach, especially not making any phone calls.</p>


<div class="shr-bookmarks shr-bookmarks-expand">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.myatus.co.uk/2010/02/28/hawaii-tsunami-sprecks-gallery/feed" rel="nofollow" title="สมัคร ความ คิดเห็น สำหรับ บทความ นี้?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.myatus.co.uk/2010/02/28/hawaii-tsunami-sprecks-gallery/&amp;title=Hawaii+Tsunami%2C+Sprecks+image+gallery" rel="nofollow" title="แบ่งปัน นี้ ใน del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.myatus.co.uk/2010/02/28/hawaii-tsunami-sprecks-gallery/&amp;title=Hawaii+Tsunami%2C+Sprecks+image+gallery" rel="nofollow" title="Digg นี้!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.myatus.co.uk/2010/02/28/hawaii-tsunami-sprecks-gallery/&amp;title=Hawaii+Tsunami%2C+Sprecks+image+gallery&amp;desc=Well%2C%20like%20many%20others%2C%20I%27ve%20been%20following%20the%20developing%20stories%20surrounding%20the%20tsunami%20that%20was%20caused%20by%20the%20earthquake%20near%20Santiago%2C%20Chile.%20One%20of%20the%20many%20island%20groups%20that%20lay%20in%20the%20path%20of%20the%20tsunami%20was%20Hawaii%20and%20I%27ve%20been%20keeping%20an%20eye%20on%20the%20webcams%20provided%20by%20MauiWindCam.%20They%20we" rel="nofollow" title="โพ ส ต์ นี้ Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.myatus.co.uk/2010/02/28/hawaii-tsunami-sprecks-gallery/&amp;imageurl=" rel="nofollow" title="โพสต์ใน Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.myatus.co.uk/2010/02/28/hawaii-tsunami-sprecks-gallery/&amp;bm_description=Hawaii+Tsunami%2C+Sprecks+image+gallery&amp;plugin=sexybookmarks" rel="nofollow" title="เพิ่ม ไป ยัง มร ห ว่อง">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.myatus.co.uk/2010/02/28/hawaii-tsunami-sprecks-gallery/&amp;title=Hawaii+Tsunami%2C+Sprecks+image+gallery" rel="nofollow" title="แบ่งปัน นี้ Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.myatus.co.uk/2010/02/28/hawaii-tsunami-sprecks-gallery/&amp;title=Hawaii+Tsunami%2C+Sprecks+image+gallery" rel="nofollow" title="แบ่งปัน นี้ Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.myatus.co.uk/2010/02/28/hawaii-tsunami-sprecks-gallery/&amp;title=Hawaii+Tsunami%2C+Sprecks+image+gallery" rel="nofollow" title="สะดุด แก่ สิ่ง ที่ ดี? ร่วม กัน ใน StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.myatus.co.uk/2010/02/28/hawaii-tsunami-sprecks-gallery/" rel="nofollow" title="แบ่งปัน นี้ ใน Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Hawaii+Tsunami%2C+Sprecks+image+gallery+-+http://bit.ly/abuoqG&amp;source=shareaholic" rel="nofollow" title="Tweet นี้!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>บทความที่เกี่ยวข้อง:<ol><li><a href='http://www.myatus.co.uk/2010/03/01/lifestream-for-march-1st/' rel='bookmark' title='Permanent Link: Lifestream สำหรับ มีนาคม 1'>Lifestream for March 1st</a></li>
<li><a href='http://www.myatus.co.uk/2010/03/01/red-cross-citibank-details-on-twitter-could-be-false/' rel='bookmark' title='Permanent Link: Red Cross&#8217; Citibank details on Twitter could be false.'>Red Cross&#8217; Citibank details on Twitter could be false.</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentrss>http://www.myatus.co.uk/th/2010/02/28/hawaii-tsunami-sprecks-gallery/feed/</wfw:commentrss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WP Flickr พื้น รุ่น 1.0.2 (Beta) ใช้ได้</title>
		<link>http://www.myatus.co.uk/th/2010/02/26/wp-flickr-background-version-1-0-2-beta-available/</link>
		<comments>http://www.myatus.co.uk/th/2010/02/26/wp-flickr-background-version-1-0-2-beta-available/#comments</comments>
		<pubdate>Fri, 26 กุมภาพันธ์ 2010 03:43:10 +0000</pubdate>
		<dc:creator>Myatu</dc:creator>
				<category><![CDATA[คอมพิวเตอร์]]></category>
		<category><![CDATA[พัฒนาเว็บ]]></category>
		<category><![CDATA[ปลั๊กอิน Wordpress]]></category>
		<category><![CDATA[Flickr]]></category>
		<category><![CDATA[โปรแกรมเสริม]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wp-Flickr-พื้น หลัง]]></category>

		<guid ispermalink="false">http://www.myatus.co.uk/?p=430-th</guid>
		<description><![CDATA[ดี, น้อย กว่า เดือน ที่ ผ่าน มา ฉัน ได้ วาง touches สุดท้าย ที่ ปลั๊กอิน WP Flickr มา และ ใส่ ลง ใน ขั้น แอลฟา. กว่า เดือน ทั้งหมด และ มี เพียง ไม่ กี่ พัน ผู้ เข้า ชม, มี เพียง สอง รายงาน ปัญหา ได้ (หนึ่ง ซึ่ง ไม่ เกี่ยวข้อง). พอใจ กับ นี้, ฉัน ได้ ทำ ตอน นี้ รุ่น 1.0.2 ใช้ได้ [...]


บทความที่เกี่ยวข้อง:<ol><li><a href='http://www.myatus.co.uk/2010/03/06/wp-flickr-background-version-103-betaavailable/' rel='bookmark' title='Permanent Link: WP Flickr พื้น รุ่น 1.0.3 (Beta) ใช้ได้'>พื้นหลัง WP Flickr version 1.0.3 (Beta) available</a></li>
<li><a href='http://www.myatus.co.uk/2010/02/26/wp-flickr-background/' rel='bookmark' title='Permanent Link: WP Flickr Background'>WP Flickr Background</a></li>
<li><a href='http://www.myatus.co.uk/2010/01/20/wp-flickr-background-in-alpha-testing/' rel='bookmark' title='Permanent Link: พื้นหลัง WP Flickr ในการทดสอบอัลฟา'>WP Flickr Background in Alpha testing</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>ดี, น้อย กว่า เดือน ที่ ผ่าน มา ฉัน ได้ วาง touches สุดท้าย ที่ ปลั๊กอิน WP Flickr มา และ ใส่ ลง ใน ขั้น แอลฟา. กว่า เดือน ทั้งหมด และ มี เพียง ไม่ กี่ พัน ผู้ เข้า ชม, มี เพียง สอง รายงาน ปัญหา ได้ (หนึ่ง ซึ่ง ไม่ เกี่ยวข้อง).</p>
<p>พอใจ กับ นี้, ฉัน ได้ ทำ ตอน นี้ รุ่น 1.0.2 ให้ เป็น ผลิตภัณฑ์ รุ่น เบต้า. ซึ่ง หมายความ ว่า คุณ สามารถ ใช้ เพื่อ วัตถุประสงค์ ของ คุณ เอง, แต่ ฉัน ไม่ แนะนำ ให้ ใช้ ใน ระบบ การ ผลิต เพียง แต่ (แต่ ไม่มี อะไร จะ หยุด คุณ จาก การ ทำ เช่น นี้ &#8211; ใช้ ที่ ความ เสี่ยง ของ คุณ เอง!).<span id="more-430"></span></p>
<p>The likely issues that I&#8217;m expecting are with the installation, plugin usage and the back-end (administration). But hopefully those will only be a few. ในระหว่างนี้, I will start the registration procedure with WordPress.org so that the code will be available in the SVN, and the plugin available for download / upgrade within WordPress itself. Hopefully this will be a matter of just a few days.</p>
<p>If you are running in any kind of issue, how small it may seem, I&#8217;d really like to know about it so I can improve the plugin. You can use the <a title="Contact me" href="http://www.myatus.co.uk/ผู้ติดต่อ/">contact</a> form, or leave a comment below and I will make note of it.</p>
<p>The static page for WP Flickr Background is <a title="WP Flickr Backrgound" href="http://www.myatus.co.uk/wp-flickr-background">http://www.myatus.co.uk/wp-flickr-background</a>, and it will be updated with the latest version as it becomes available. You can also click on <a title="ดาวน์โหลด" href="http://www.myatus.co.uk/downloads/">Downloads</a> at the top.</p>
<p>เพลิดเพลิน!</p>
<p>P.S.: A small update, WP Flickr Background is also available through the <a title="Flickr App Garden" href="http://www.flickr.com/services/" target="_blank">Flickr App Garden</a>.</p>
<p>P.P.S.: Quicker than expected, WordPress has accepted the plugin into the <a title="WordPress Plugin Directory" href="http://wordpress.org/extend/plugins/wp-flickr-background/" target="_blank">Plugin Directory</a>. If you wish to use the development version (provided you know what you are doing!), see the <a title="SVN" href="http://plugins.svn.wordpress.org/wp-flickr-background/" target="_blank">SVN</a>.</p>


<div class="shr-bookmarks shr-bookmarks-expand">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.myatus.co.uk/2010/02/26/wp-flickr-background-version-1-0-2-beta-available/feed" rel="nofollow" title="สมัคร ความ คิดเห็น สำหรับ บทความ นี้?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.myatus.co.uk/2010/02/26/wp-flickr-background-version-1-0-2-beta-available/&amp;title=WP+Flickr+Background+version+1.0.2+%28Beta%29+available" rel="nofollow" title="แบ่งปัน นี้ ใน del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.myatus.co.uk/2010/02/26/wp-flickr-background-version-1-0-2-beta-available/&amp;title=WP+Flickr+Background+version+1.0.2+%28Beta%29+available" rel="nofollow" title="Digg นี้!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.myatus.co.uk/2010/02/26/wp-flickr-background-version-1-0-2-beta-available/&amp;title=WP+Flickr+Background+version+1.0.2+%28Beta%29+available&amp;desc=Well%2C%20a%20little%20over%20a%20month%20ago%20I%20had%20put%20the%20final%20touches%20to%20the%20WP%20Flickr%20Background%20plugin%20and%20entered%20it%20into%20Alpha%20stage.%20Over%20the%20entire%20month%20and%20with%20a%20few%20thousand%20visitors%2C%20there%20were%20only%20two%20issues%20reported%20%28one%20of%20which%20was%20unrelated%29.%0D%0A%0D%0ASatisfied%20with%20this%2C%20I%27ve%20now%20made%20version%201.0." rel="nofollow" title="โพ ส ต์ นี้ Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.myatus.co.uk/2010/02/26/wp-flickr-background-version-1-0-2-beta-available/&amp;imageurl=" rel="nofollow" title="โพสต์ใน Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.myatus.co.uk/2010/02/26/wp-flickr-background-version-1-0-2-beta-available/&amp;bm_description=WP+Flickr+Background+version+1.0.2+%28Beta%29+available&amp;plugin=sexybookmarks" rel="nofollow" title="เพิ่ม ไป ยัง มร ห ว่อง">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.myatus.co.uk/2010/02/26/wp-flickr-background-version-1-0-2-beta-available/&amp;title=WP+Flickr+Background+version+1.0.2+%28Beta%29+available" rel="nofollow" title="แบ่งปัน นี้ Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.myatus.co.uk/2010/02/26/wp-flickr-background-version-1-0-2-beta-available/&amp;title=WP+Flickr+Background+version+1.0.2+%28Beta%29+available" rel="nofollow" title="แบ่งปัน นี้ Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.myatus.co.uk/2010/02/26/wp-flickr-background-version-1-0-2-beta-available/&amp;title=WP+Flickr+Background+version+1.0.2+%28Beta%29+available" rel="nofollow" title="สะดุด แก่ สิ่ง ที่ ดี? ร่วม กัน ใน StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.myatus.co.uk/2010/02/26/wp-flickr-background-version-1-0-2-beta-available/" rel="nofollow" title="แบ่งปัน นี้ ใน Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=WP+Flickr+Background+version+1.0.2+%28Beta%29+available+-+http://bit.ly/cNNIl6&amp;source=shareaholic" rel="nofollow" title="Tweet นี้!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>บทความที่เกี่ยวข้อง:<ol><li><a href='http://www.myatus.co.uk/2010/03/06/wp-flickr-background-version-103-betaavailable/' rel='bookmark' title='Permanent Link: WP Flickr พื้น รุ่น 1.0.3 (Beta) ใช้ได้'>พื้นหลัง WP Flickr version 1.0.3 (Beta) available</a></li>
<li><a href='http://www.myatus.co.uk/2010/02/26/wp-flickr-background/' rel='bookmark' title='Permanent Link: WP Flickr Background'>WP Flickr Background</a></li>
<li><a href='http://www.myatus.co.uk/2010/01/20/wp-flickr-background-in-alpha-testing/' rel='bookmark' title='Permanent Link: พื้นหลัง WP Flickr ในการทดสอบอัลฟา'>WP Flickr Background in Alpha testing</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentrss>http://www.myatus.co.uk/th/2010/02/26/wp-flickr-background-version-1-0-2-beta-available/feed/</wfw:commentrss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>พื้นหลัง WP Flickr</title>
		<link>http://www.myatus.co.uk/th/2010/02/26/wp-flickr-background/</link>
		<comments>http://www.myatus.co.uk/th/2010/02/26/wp-flickr-background/#comments</comments>
		<pubdate>Fri, 26 กุมภาพันธ์ 2010 03:19:40 +0000</pubdate>
		<dc:creator>Myatu</dc:creator>
				<category><![CDATA[คอมพิวเตอร์]]></category>
		<category><![CDATA[ปลั๊กอิน Wordpress]]></category>
		<category><![CDATA[Flickr]]></category>
		<category><![CDATA[โปรแกรมเสริม]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid ispermalink="false">http://www.myatus.co.uk/?p=402-th</guid>
		<description><![CDATA[WP Flickr มา เป็น ใช้ ง่าย ปลั๊กอิน WordPress ที่ ช่วย ให้ คุณ สามารถ แสดง ภาพ จาก Flickr เป็น พื้น หลัง ชุด รูป แบบ, โดย ไม่ ต้อง แก้ไข ไฟล์ ใด ๆ. สิ่ง ที่ คุณ ต้อง ทำ คือ สร้าง ขึ้น ภายใน หอ การ ตั้ง ค่า ปลั๊กอิน ของ, each containing a collection of photos from Flickr that you [...]


บทความที่เกี่ยวข้อง:<ol><li><a href='http://www.myatus.co.uk/2010/01/20/wp-flickr-background-in-alpha-testing/' rel='bookmark' title='Permanent Link: พื้นหลัง WP Flickr ในการทดสอบอัลฟา'>WP Flickr Background in Alpha testing</a></li>
<li><a href='http://www.myatus.co.uk/2010/02/26/wp-flickr-background-version-1-0-2-beta-available/' rel='bookmark' title='Permanent Link: WP Flickr พื้น รุ่น 1.0.2 (Beta) ใช้ได้'>WP Flickr พื้น รุ่น 1.0.2 (Beta) ใช้ได้</a></li>
<li><a href='http://www.myatus.co.uk/2010/03/06/wp-flickr-background-version-103-betaavailable/' rel='bookmark' title='Permanent Link: WP Flickr Background version 1.0.3 (Beta) available'>WP Flickr Background version 1.0.3 (Beta) available</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>WP Flickr มา เป็น ใช้ ง่าย ปลั๊กอิน WordPress ที่ ช่วย ให้ คุณ สามารถ แสดง ภาพ จาก Flickr เป็น พื้น หลัง ชุด รูป แบบ, without the need to modify any files.</p>
<p>สิ่ง ที่ คุณ ต้อง ทำ คือ สร้าง ขึ้น ภายใน หอ การ ตั้ง ค่า ปลั๊กอิน ของ, แต่ละ ครั้ง ที่ มี การ เก็บ รวบรวม ภาพ จาก Flickr ที่ คุณ เลือก, and WP Flickr will randomly select a photo from the active gallery to display as the theme background.</p>
<p>คุณ ยัง สามารถ ปรับ แกล เลอ รี โดย เพิ่ม รหัส การ ตั้ง ชื่อ CSS ที่ จะ โหลด พร้อม กับ ภาพถ่าย, allowing you to color match the WordPress theme to the particular photo displayed or for other use.<span id="more-402"></span></p>
<p>Links: ดาวน์โหลด โดยตรง: <a class="downloadlink" href="http://www.myatus.co.uk/wp-content/plugins/download-monitor/download.php?id=1" title="Version1.0.3 downloaded 147 times" >พื้นหลัง WP Flickr (147)</a> | <a title="Directory ปลั๊กอิน Wordpress" href="http://wordpress.org/extend/plugins/wp-flickr-background/" target="_blank">WordPress Plugin Directory</a></p>
<p><div class='postTabs_divs postTabs_curr_div' id='postTabs_0_402'>
<span class='postTabs_titles'><b>คุณลักษณะ</b></span></p>
<ul>
<li>Decide how often the background image should change (เช่น., ทุก วัน, สมัย หนึ่ง ครั้ง ต่อ เบ รา ว์ เซอร์, ฯลฯ).</li>
<li>ยืด ภาพ พื้น หลัง แนว นอน และ / หรือ ดิ่ง</li>
<li>ภาพ พื้น หลัง เป็น เส้น ตรง ตาม หน้า จอ ของ ผู้ เข้า ชม แบบ</li>
<li>Optionally ปิด พื้น หลัง theme เดิม ของ</li>
<li>อัด Optional Javascript</li>
<li>สนับสนุน แคช WordPress เช่น WP Super Cache</li>
<li>แกล เลอ รี่ หลาย</li>
<li>Custom CSS style sheet per gallery, เต็ม ไป ด้วย เรื่อง ถ้า จะ ใช้ งาน</li>
</ul>
<p></div>

<div class='postTabs_divs' id='postTabs_1_402'>
<span class='postTabs_titles'><b>ภาพ หน้า จอ</b></span></p>
<p><a href="http://www.myatus.co.uk/wp-content/uploads/2010/02/screenshot-1.jpg"><img class="alignleft size-thumbnail wp-image-403" title="Editing a gallery" src="http://www.myatus.co.uk/wp-content/uploads/2010/02/screenshot-1-150x150.jpg" alt="" width="150" height="150" /></a><a href="http://www.myatus.co.uk/wp-content/uploads/2010/02/screenshot-2.jpg"><img class="alignleft size-thumbnail wp-image-404" title="Overview of available galleries" src="http://www.myatus.co.uk/wp-content/uploads/2010/02/screenshot-2-150x150.jpg" alt="" width="150" height="150" /></a><a style="border: none;" href="http://www.myatus.co.uk/wp-content/uploads/2010/02/screenshot-3.jpg"><img class="size-thumbnail wp-image-407 alignnone" title="Main configuration screen, with tooltips" src="http://www.myatus.co.uk/wp-content/uploads/2010/02/screenshot-3-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p></div>

<div class='postTabs_divs' id='postTabs_2_402'>
<span class='postTabs_titles'><b>ความ ต้องการ</b></span></p>
<ul>
<li> รุ่น WordPress 2.9 หรือ ดี กว่า</li>
<li>รุ่น PHP 4.2.3 หรือ ดี กว่า</li>
<li>เบ รา ว์ เซอร์ สนับสนุน เปิด ใช้ จาวา สคริปต์</li>
</ul>
<p></div>

<div class='postTabs_divs' id='postTabs_3_402'>
<span class='postTabs_titles'><b>การ เริ่ม ต้น</b></span></p>
<ol>
<li>อัป โหลด เนื้อหา ของ ไฟล์ ซิป ไป <em>/wp-content/plugins/</em> directory</li>
<li>เปิด ใช้ งาน ปลั๊กอิน ผ่าน <strong>ปลั๊กอิน </strong>เมนู ใน WordPress</li>
<li>เข้าถึง การ ตั้ง ค่า ปลั๊กอิน ของ ผ่าน <strong>เบื้องหลัง การ ตั้ง ค่า / WP Flickr</strong> เมนู เพื่อ:</li>
</ol>
<ul>
<li>ตัว เลือก การ กำหนด ค่า</li>
<li> เพิ่ม แกล เลอ รี่ และ รูปภาพ</li>
<li>ช่วย อ่าน ราย ละเอียด เพิ่มเติม</li>
</ul>
<p></div>

</p>
<p>ถ้า คุณ มี ความ คิด สำหรับ WP Flickr มา หรือ ต้องการ รายงาน ข้อ บกพร่อง, คลิกที่ <em>ผล ตอบ กลับ</em> แท็ บ ปรากฏ บน ด้าน ซ้าย หรือ เยี่ยม ชม ของ คุณ <a title="UserVoice for Myatu's" href="http://myatu.uservoice.com/forums/43891">UserVoice</a>.</p>
<script type='text/javascript'>jQuery(document).ready(function() { if(postTabs_getCookie('postTabs_402')) postTabs_show(postTabs_getCookie('postTabs_402'),402); });</script>

<div class="shr-bookmarks shr-bookmarks-expand">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.myatus.co.uk/2010/02/26/wp-flickr-background/feed" rel="nofollow" title="สมัคร ความ คิดเห็น สำหรับ บทความ นี้?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.myatus.co.uk/2010/02/26/wp-flickr-background/&amp;title=WP+Flickr+Background" rel="nofollow" title="แบ่งปัน นี้ ใน del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.myatus.co.uk/2010/02/26/wp-flickr-background/&amp;title=WP+Flickr+Background" rel="nofollow" title="Digg นี้!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.myatus.co.uk/2010/02/26/wp-flickr-background/&amp;title=WP+Flickr+Background&amp;desc=WP%20Flickr%20Background%20is%20a%20simple%20to%20use%20WordPress%20plugin%20that%20allows%20you%20to%20display%20a%20photo%20from%20Flickr%20as%20the%20theme%20background%2C%20without%20the%20need%20to%20modify%20any%20files.%0D%0A%0D%0AAll%20you%20need%20to%20do%20is%20create%20one%20or%20more%20galleries%20within%20the%20plugin%27s%20settings%2C%20each%20containing%20a%20collection%20of%20photos%20from%20Flick" rel="nofollow" title="โพ ส ต์ นี้ Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.myatus.co.uk/2010/02/26/wp-flickr-background/&amp;imageurl=" rel="nofollow" title="โพสต์ใน Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.myatus.co.uk/2010/02/26/wp-flickr-background/&amp;bm_description=WP+Flickr+Background&amp;plugin=sexybookmarks" rel="nofollow" title="เพิ่ม ไป ยัง มร ห ว่อง">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.myatus.co.uk/2010/02/26/wp-flickr-background/&amp;title=WP+Flickr+Background" rel="nofollow" title="แบ่งปัน นี้ Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.myatus.co.uk/2010/02/26/wp-flickr-background/&amp;title=WP+Flickr+Background" rel="nofollow" title="แบ่งปัน นี้ Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.myatus.co.uk/2010/02/26/wp-flickr-background/&amp;title=WP+Flickr+Background" rel="nofollow" title="สะดุด แก่ สิ่ง ที่ ดี? ร่วม กัน ใน StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.myatus.co.uk/2010/02/26/wp-flickr-background/" rel="nofollow" title="แบ่งปัน นี้ ใน Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=WP+Flickr+Background+-+http://bit.ly/9xYgDl&amp;source=shareaholic" rel="nofollow" title="Tweet นี้!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>บทความที่เกี่ยวข้อง:<ol><li><a href='http://www.myatus.co.uk/2010/01/20/wp-flickr-background-in-alpha-testing/' rel='bookmark' title='Permanent Link: พื้นหลัง WP Flickr ในการทดสอบอัลฟา'>WP Flickr Background in Alpha testing</a></li>
<li><a href='http://www.myatus.co.uk/2010/02/26/wp-flickr-background-version-1-0-2-beta-available/' rel='bookmark' title='Permanent Link: WP Flickr พื้น รุ่น 1.0.2 (Beta) ใช้ได้'>WP Flickr พื้น รุ่น 1.0.2 (Beta) ใช้ได้</a></li>
<li><a href='http://www.myatus.co.uk/2010/03/06/wp-flickr-background-version-103-betaavailable/' rel='bookmark' title='Permanent Link: WP Flickr Background version 1.0.3 (Beta) available'>WP Flickr Background version 1.0.3 (Beta) available</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentrss>http://www.myatus.co.uk/th/2010/02/26/wp-flickr-background/feed/</wfw:commentrss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>ฉันกลับ!</title>
		<link>http://www.myatus.co.uk/th/2010/01/23/im-back/</link>
		<comments>http://www.myatus.co.uk/th/2010/01/23/im-back/#comments</comments>
		<pubdate>Sat, 23 Jan 2010 06:33:52 +0000</pubdate>
		<dc:creator>Myatu</dc:creator>
				<category><![CDATA[ส่วนบุคคล]]></category>
		<category><![CDATA[Website]]></category>

		<guid ispermalink="false">http://www.myatus.co.uk/?p=364-th</guid>
		<description><![CDATA[ผมต้องขออภัยกับทุกคนที่มีปัญหาในการเข้าถึงเว็บไซต์ในวันล่าสุด! ฉันได้นำลงเว็บไซต์ในการเปลี่ยนแปลงบางอย่างไปยังเซิร์ฟเวอร์เว็บ, ซึ่งเร็วเป็นยกเครื่องใหญ่. ฉันคิดว่านับตั้งแต่ถูกลงแล้ว, ฉันอาจรวมทั้งทำในสิ่งที่ฉันได้วางแผนยาว. A good portion [...]


ไม่มีบทความที่เกี่ยวข้อง.]]></description>
			<content:encoded><![CDATA[<p>ผมต้องขออภัยกับทุกคนที่มีปัญหาในการเข้าถึงเว็บไซต์ในวันล่าสุด!</p>
<p>ฉันได้นำลงเว็บไซต์ในการเปลี่ยนแปลงบางอย่างไปยังเซิร์ฟเวอร์เว็บ, ซึ่งเร็วเป็นยกเครื่องใหญ่. ฉันคิดว่านับตั้งแต่ถูกลงแล้ว, I might as well do the things I had long planned.</p>
<p>ส่วนดีจะดำเนินการขณะนี้, แต่ฉันทำไม่สมบูรณ์. ฉันจะให้มันพยายามที่ดีที่สุดของฉันเพื่อให้แน่ใจว่าจะมีเวลาไม่น้อยไป. อีกครั้ง, ขอโทษฉัน!</p>


<div class="shr-bookmarks shr-bookmarks-expand">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.myatus.co.uk/2010/01/23/im-back/feed" rel="nofollow" title="สมัคร ความ คิดเห็น สำหรับ บทความ นี้?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.myatus.co.uk/2010/01/23/im-back/&amp;title=I%27m+back%21" rel="nofollow" title="แบ่งปัน นี้ ใน del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.myatus.co.uk/2010/01/23/im-back/&amp;title=I%27m+back%21" rel="nofollow" title="Digg นี้!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.myatus.co.uk/2010/01/23/im-back/&amp;title=I%27m+back%21&amp;desc=I%20apologize%20to%20everyone%20who%20had%20difficulty%20accessing%20the%20website%20in%20recent%20days%21%0D%0A%0D%0AI%20had%20taken%20down%20the%20website%20to%20make%20some%20changes%20to%20the%20web%20server%2C%20which%20quickly%20became%20a%20major%20overhaul.%20I%20figured%20that%20since%20it%20was%20already%20down%2C%20I%20might%20as%20well%20do%20the%20things%20I%20had%20long%20planned.%0D%0A%0D%0AA%20good%20portio" rel="nofollow" title="โพ ส ต์ นี้ Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.myatus.co.uk/2010/01/23/im-back/&amp;imageurl=" rel="nofollow" title="โพสต์ใน Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.myatus.co.uk/2010/01/23/im-back/&amp;bm_description=I%27m+back%21&amp;plugin=sexybookmarks" rel="nofollow" title="เพิ่ม ไป ยัง มร ห ว่อง">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.myatus.co.uk/2010/01/23/im-back/&amp;title=I%27m+back%21" rel="nofollow" title="แบ่งปัน นี้ Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.myatus.co.uk/2010/01/23/im-back/&amp;title=I%27m+back%21" rel="nofollow" title="แบ่งปัน นี้ Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.myatus.co.uk/2010/01/23/im-back/&amp;title=I%27m+back%21" rel="nofollow" title="สะดุด แก่ สิ่ง ที่ ดี? ร่วม กัน ใน StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.myatus.co.uk/2010/01/23/im-back/" rel="nofollow" title="แบ่งปัน นี้ ใน Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=I%27m+back%21+-+http://bit.ly/88qdlo&amp;source=shareaholic" rel="nofollow" title="Tweet นี้!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>No related posts.</p>]]></content:encoded>
			<wfw:commentrss>http://www.myatus.co.uk/th/2010/01/23/im-back/feed/</wfw:commentrss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>พื้นหลัง WP Flickr ในการทดสอบอัลฟา</title>
		<link>http://www.myatus.co.uk/th/2010/01/20/wp-flickr-background-in-alpha-testing/</link>
		<comments>http://www.myatus.co.uk/th/2010/01/20/wp-flickr-background-in-alpha-testing/#comments</comments>
		<pubdate>Wed, 20 Jan 2010 01:20:00 +0000</pubdate>
		<dc:creator>Myatu</dc:creator>
				<category><![CDATA[คอมพิวเตอร์]]></category>
		<category><![CDATA[พัฒนาเว็บ]]></category>
		<category><![CDATA[Flickr]]></category>
		<category><![CDATA[โปรแกรมเสริม]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid ispermalink="false">http://www.myatus.co.uk/2010/01/20/wp-flickr-background-in-alpha-testing/-th</guid>
		<description><![CDATA[หากคุณใหม่ไปที่เว็บไซต์นี้, คุณอาจไม่ได้สังเกต. แต่พื้นหลังที่คุณเห็นเป็นจริงอะไรใหม่. และสุ่ม. และสตรีมจาก Flickr. มันเป็นปลั๊กอินใหม่ที่ฉันกำลังพัฒนาสำหรับ WordPress เรียก &#8216;WP Flickr มา '. A little over two weeks ago I changed my theme to Motion by 85ideas, and was [...]


บทความที่เกี่ยวข้อง:<ol><li><a href='http://www.myatus.co.uk/2010/02/26/wp-flickr-background/' rel='bookmark' title='Permanent Link: พื้นหลัง WP Flickr'>WP Flickr Background</a></li>
<li><a href='http://www.myatus.co.uk/2010/02/26/wp-flickr-background-version-1-0-2-beta-available/' rel='bookmark' title='Permanent Link: WP Flickr พื้น รุ่น 1.0.2 (Beta) ใช้ได้'>WP Flickr พื้น รุ่น 1.0.2 (Beta) ใช้ได้</a></li>
<li><a href='http://www.myatus.co.uk/2010/03/06/wp-flickr-background-version-103-betaavailable/' rel='bookmark' title='Permanent Link: WP Flickr Background version 1.0.3 (Beta) available'>WP Flickr Background version 1.0.3 (Beta) available</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.myatus.co.uk/wp-content/uploads/2010/01/screenshot-3.jpg"><img class="alignleft size-thumbnail wp-image-360" title="WP Flickr Background" src="http://www.myatus.co.uk/wp-content/uploads/2010/01/screenshot-3-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>หากคุณใหม่ไปที่เว็บไซต์นี้, คุณอาจไม่ได้สังเกต. แต่พื้นหลังที่คุณเห็นเป็นจริงอะไรใหม่. และสุ่ม. และสตรีมจาก Flickr. มันเป็นปลั๊กอินใหม่ที่ฉันกำลังพัฒนาสำหรับ WordPress เรียก &#8216;WP Flickr Background&#8217;.</p>
<p>น้อยกว่าสองสัปดาห์ที่แล้วผมเปลี่ยนชุดรูปแบบของฉัน <a title="เคลื่อนไหวโดย 85ideas" href="http://85ideas.com/public-releases/wordpress-theme-motion/" target="_blank">Motion by 85ideas</a>, และได้ intrigued โดยใช้ผลของการใสและพื้นหลัง. และตั้งแต่ฉันได้อย่างรวดเร็วได้เบื่อดูที่สิ่งเดียวกัน, ฉันคิดว่า &#8216;ทำไมไม่ทำให้พื้นหลังสุ่มนี้ '? Flickr ให้ล้านภาพถ่าย, หลายของพวกเขาภายใต้ <a title="ครีเอทีฟคอมมอนส์" href="http://creativecommons.org/" target="_blank">Creative Commons</a> อนุญาตลักษณะ, และนี้จะเป็นแหล่งที่ดีสำหรับภูมิหลังสุ่มบรรดา. ดังนั้นฉันเริ่มต้นรหัส&#8230;<span id="more-359"></span></p>
<p>น่าทึ่ง, ก็ไม่เป็นตรงข้างหน้าเป็นจะคาดหวัง. หลังจากทั้งหมด, คุณก็สามารถใช้สร้างแบบไดนามิก CSS สไตล์ชีทด้วย &#8216;พื้นหลัง&#8217; องค์ประกอบชี้ไปที่ภาพถ่าย Flickr สุ่ม. ถูก?</p>
<p>แต่ภาพน้ำตกขนาดเล็กและเว็บไซต์ของคุณจะมีลักษณะเช่นที่ไม่ดี 1995 การกระทำของหน้า HTML ของคุณครั้งแรก. และรูปภาพขนาดใหญ่อาจจะ <em>ดังนั้น </em>ขนาดใหญ่, you end up staring at just a grain of sand instead of a beach.</p>
<p>CSS3, แบรนด์รุ่นใหม่ที่ตบของ CSS สไตล์แผ่น, รองรับการยืดของภาพพื้นหลัง. โชคไม่ดี, ไม่เบราว์เซอร์เดียวที่ฉันได้พยายามสนับสนุน. So I reverted to good-old image hacking, เป็นพื้นหลัง injecting ในเชิงลบ Z-สร้างดัชนี <em>&lt;div&gt;</em> block at a fixed position.</p>
<p>ใช่, ว่าประโยคสุดท้ายคือผู้ทำลายบทสนทนาที่ดี. แต่เชื่อฉัน, มันเป็น <em>ฉีด</em> ส่วนที่ trickiest. สำหรับหนึ่ง, ฉันไม่ชอบเมื่อปลั๊กอินต้องฉันไปเองแก้ไขไฟล์, นับประสาแก้ไขไฟล์ในที่แรก. ดังนั้นผมจึงถือว่ามีคนอื่นออกมีผู้คิดเหมือนกัน. ดังนั้นฉันจะเปลี่ยน theme WordPress ไม่จริงแก้ไขไฟล์ของ? ใส่ Javascript, jQuery เป็นเฉพาะ, และเราทางเราใช้กลอุบายมาก!</p>
<p>ดังนั้นในที่สุด, WP Flickr มาจะใช้จาวาสคริปต์เพื่อเพิ่มภาพพื้นหลังใหม่ overlaid ตามจริง (ต้นฉบับ) เนื้อหา. และการทำงาน! อย่างน้อย, มันไม่ให้กับ Opera 10, Firefox 3, Google โครเมียม 3, MSIE 8 และ Safari 4. ดังนั้นฉันตอนนี้วางโปรแกรมเสริมผ่านการทดสอบอัลฟาสาธารณะ, รอการร้องเรียนไปม้วนใน: &#8220;เว็บไซต์ของคุณดูแปลก&#8221; และ &#8220;ฉันได้รับข้อผิดพลาด Javascript&#8221; มีบางสิ่งที่ฉันคาดหวังเพื่อดูในระหว่างการทดสอบ, แต่หวังว่าจะมีผู้ใด! คุณจะแจ้งให้เราทราบ, ถูก?</p>
<p>ถ้าฉันพอใจว่าไม่มีประเด็นสำคัญที่มีปลั๊กอิน, แล้วฉันจะทำให้สามารถดาวน์โหลดได้. ในระหว่างนี้, ฉันจะเป็นอีกครั้งจัดเล็กๆน้อยๆในเว็บไซต์อีกครั้งเพื่อให้มีพื้นที่ปลั๊กอินใหม่และอื่นๆน้อยฉันคิดเกี่ยวกับการเขียน. ดังนั้นโปรดก่อสร้างแก้ตัวที่เกิดขึ้นในอีกไม่กี่วัน!</p>


<div class="shr-bookmarks shr-bookmarks-expand">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.myatus.co.uk/2010/01/20/wp-flickr-background-in-alpha-testing/feed" rel="nofollow" title="สมัคร ความ คิดเห็น สำหรับ บทความ นี้?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.myatus.co.uk/2010/01/20/wp-flickr-background-in-alpha-testing/&amp;title=WP+Flickr+Background+in+Alpha+testing" rel="nofollow" title="แบ่งปัน นี้ ใน del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.myatus.co.uk/2010/01/20/wp-flickr-background-in-alpha-testing/&amp;title=WP+Flickr+Background+in+Alpha+testing" rel="nofollow" title="Digg นี้!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.myatus.co.uk/2010/01/20/wp-flickr-background-in-alpha-testing/&amp;title=WP+Flickr+Background+in+Alpha+testing&amp;desc=%0D%0A%0D%0AIf%20you%27re%20new%20to%20this%20website%2C%20you%20probably%20haven%27t%20noticed.%20But%20the%20background%20you%27re%20seeing%20is%20actually%20something%20new.%20And%20random.%20And%20streamed%20from%20Flickr.%20It%27s%20a%20new%20plugin%20that%20I%20am%20developing%20for%20WordPress%20called%20%27WP%20Flickr%20Background%27.%0D%0A%0D%0AA%20little%20over%20two%20weeks%20ago%20I%20changed%20my%20theme%20to%20" rel="nofollow" title="โพ ส ต์ นี้ Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.myatus.co.uk/2010/01/20/wp-flickr-background-in-alpha-testing/&amp;imageurl=" rel="nofollow" title="โพสต์ใน Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.myatus.co.uk/2010/01/20/wp-flickr-background-in-alpha-testing/&amp;bm_description=WP+Flickr+Background+in+Alpha+testing&amp;plugin=sexybookmarks" rel="nofollow" title="เพิ่ม ไป ยัง มร ห ว่อง">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.myatus.co.uk/2010/01/20/wp-flickr-background-in-alpha-testing/&amp;title=WP+Flickr+Background+in+Alpha+testing" rel="nofollow" title="แบ่งปัน นี้ Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.myatus.co.uk/2010/01/20/wp-flickr-background-in-alpha-testing/&amp;title=WP+Flickr+Background+in+Alpha+testing" rel="nofollow" title="แบ่งปัน นี้ Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.myatus.co.uk/2010/01/20/wp-flickr-background-in-alpha-testing/&amp;title=WP+Flickr+Background+in+Alpha+testing" rel="nofollow" title="สะดุด แก่ สิ่ง ที่ ดี? ร่วม กัน ใน StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.myatus.co.uk/2010/01/20/wp-flickr-background-in-alpha-testing/" rel="nofollow" title="แบ่งปัน นี้ ใน Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=WP+Flickr+Background+in+Alpha+testing+-+http://bit.ly/7RQ8dg&amp;source=shareaholic" rel="nofollow" title="Tweet นี้!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>บทความที่เกี่ยวข้อง:<ol><li><a href='http://www.myatus.co.uk/2010/02/26/wp-flickr-background/' rel='bookmark' title='Permanent Link: พื้นหลัง WP Flickr'>WP Flickr Background</a></li>
<li><a href='http://www.myatus.co.uk/2010/02/26/wp-flickr-background-version-1-0-2-beta-available/' rel='bookmark' title='Permanent Link: WP Flickr พื้น รุ่น 1.0.2 (Beta) ใช้ได้'>WP Flickr พื้น รุ่น 1.0.2 (Beta) ใช้ได้</a></li>
<li><a href='http://www.myatus.co.uk/2010/03/06/wp-flickr-background-version-103-betaavailable/' rel='bookmark' title='Permanent Link: WP Flickr Background version 1.0.3 (Beta) available'>WP Flickr Background version 1.0.3 (Beta) available</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentrss>http://www.myatus.co.uk/th/2010/01/20/wp-flickr-background-in-alpha-testing/feed/</wfw:commentrss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
