<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Will Master&#039;s Blog</title>
	<atom:link href="http://ecaps.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ecaps.wordpress.com</link>
	<description>Simply Life</description>
	<lastBuildDate>Sat, 26 Nov 2011 11:23:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ecaps.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Will Master&#039;s Blog</title>
		<link>http://ecaps.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ecaps.wordpress.com/osd.xml" title="Will Master&#039;s Blog" />
	<atom:link rel='hub' href='http://ecaps.wordpress.com/?pushpress=hub'/>
		<item>
		<title>check daily log</title>
		<link>http://ecaps.wordpress.com/2011/11/26/check-daily-log/</link>
		<comments>http://ecaps.wordpress.com/2011/11/26/check-daily-log/#comments</comments>
		<pubDate>Sat, 26 Nov 2011 11:23:38 +0000</pubDate>
		<dc:creator>Master Will</dc:creator>
				<category><![CDATA[Linux command]]></category>

		<guid isPermaLink="false">http://ecaps.wordpress.com/?p=279</guid>
		<description><![CDATA[cat /var/spool/mail/root<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ecaps.wordpress.com&amp;blog=7882066&amp;post=279&amp;subd=ecaps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>cat /var/spool/mail/root</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ecaps.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ecaps.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ecaps.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ecaps.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ecaps.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ecaps.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ecaps.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ecaps.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ecaps.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ecaps.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ecaps.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ecaps.wordpress.com/279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ecaps.wordpress.com/279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ecaps.wordpress.com/279/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ecaps.wordpress.com&amp;blog=7882066&amp;post=279&amp;subd=ecaps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ecaps.wordpress.com/2011/11/26/check-daily-log/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6a20f48a447dd99e1f005f9e048ad4ec?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">ecaps</media:title>
		</media:content>
	</item>
		<item>
		<title>How to enable second-level quota on VZ VPS</title>
		<link>http://ecaps.wordpress.com/2011/11/09/how-to-enable-second-level-quota-on-vz-vps/</link>
		<comments>http://ecaps.wordpress.com/2011/11/09/how-to-enable-second-level-quota-on-vz-vps/#comments</comments>
		<pubDate>Wed, 09 Nov 2011 17:11:53 +0000</pubDate>
		<dc:creator>Master Will</dc:creator>
				<category><![CDATA[OpenVZ]]></category>

		<guid isPermaLink="false">http://ecaps.wordpress.com/?p=276</guid>
		<description><![CDATA[# vzctl set &#60;veid&#62; --quotaugidlimit 500 --save # vzctl restart &#60;veid&#62;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ecaps.wordpress.com&amp;blog=7882066&amp;post=276&amp;subd=ecaps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre># vzctl set &lt;veid&gt; --quotaugidlimit 500 --save
# vzctl restart &lt;veid&gt;</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ecaps.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ecaps.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ecaps.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ecaps.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ecaps.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ecaps.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ecaps.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ecaps.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ecaps.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ecaps.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ecaps.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ecaps.wordpress.com/276/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ecaps.wordpress.com/276/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ecaps.wordpress.com/276/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ecaps.wordpress.com&amp;blog=7882066&amp;post=276&amp;subd=ecaps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ecaps.wordpress.com/2011/11/09/how-to-enable-second-level-quota-on-vz-vps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6a20f48a447dd99e1f005f9e048ad4ec?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">ecaps</media:title>
		</media:content>
	</item>
		<item>
		<title>Physical server to OpenVZ container</title>
		<link>http://ecaps.wordpress.com/2011/10/21/physical-server-to-openvz-container/</link>
		<comments>http://ecaps.wordpress.com/2011/10/21/physical-server-to-openvz-container/#comments</comments>
		<pubDate>Fri, 21 Oct 2011 21:01:19 +0000</pubDate>
		<dc:creator>Master Will</dc:creator>
				<category><![CDATA[OpenVZ]]></category>

		<guid isPermaLink="false">http://ecaps.wordpress.com/?p=274</guid>
		<description><![CDATA[http://wiki.openvz.org/Physical_to_container<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ecaps.wordpress.com&amp;blog=7882066&amp;post=274&amp;subd=ecaps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://wiki.openvz.org/Physical_to_container">http://wiki.openvz.org/Physical_to_container</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ecaps.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ecaps.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ecaps.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ecaps.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ecaps.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ecaps.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ecaps.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ecaps.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ecaps.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ecaps.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ecaps.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ecaps.wordpress.com/274/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ecaps.wordpress.com/274/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ecaps.wordpress.com/274/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ecaps.wordpress.com&amp;blog=7882066&amp;post=274&amp;subd=ecaps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ecaps.wordpress.com/2011/10/21/physical-server-to-openvz-container/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6a20f48a447dd99e1f005f9e048ad4ec?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">ecaps</media:title>
		</media:content>
	</item>
		<item>
		<title>How to get the Dell Service Tag Remotely</title>
		<link>http://ecaps.wordpress.com/2011/09/09/how-to-get-the-dell-service-tag-remotely/</link>
		<comments>http://ecaps.wordpress.com/2011/09/09/how-to-get-the-dell-service-tag-remotely/#comments</comments>
		<pubDate>Fri, 09 Sep 2011 21:35:44 +0000</pubDate>
		<dc:creator>Master Will</dc:creator>
				<category><![CDATA[Linux command]]></category>

		<guid isPermaLink="false">http://ecaps.wordpress.com/?p=271</guid>
		<description><![CDATA[dmidecode -s system-serial-number<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ecaps.wordpress.com&amp;blog=7882066&amp;post=271&amp;subd=ecaps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>dmidecode -s system-serial-number</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ecaps.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ecaps.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ecaps.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ecaps.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ecaps.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ecaps.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ecaps.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ecaps.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ecaps.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ecaps.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ecaps.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ecaps.wordpress.com/271/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ecaps.wordpress.com/271/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ecaps.wordpress.com/271/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ecaps.wordpress.com&amp;blog=7882066&amp;post=271&amp;subd=ecaps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ecaps.wordpress.com/2011/09/09/how-to-get-the-dell-service-tag-remotely/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6a20f48a447dd99e1f005f9e048ad4ec?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">ecaps</media:title>
		</media:content>
	</item>
		<item>
		<title>Install Crontab</title>
		<link>http://ecaps.wordpress.com/2011/08/30/install-crontab/</link>
		<comments>http://ecaps.wordpress.com/2011/08/30/install-crontab/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 18:46:28 +0000</pubDate>
		<dc:creator>Master Will</dc:creator>
				<category><![CDATA[Linux command]]></category>

		<guid isPermaLink="false">http://ecaps.wordpress.com/?p=267</guid>
		<description><![CDATA[yum install crontabs vixie-cron service crond restart<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ecaps.wordpress.com&amp;blog=7882066&amp;post=267&amp;subd=ecaps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>yum install crontabs vixie-cron</p>
<p>service crond restart</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ecaps.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ecaps.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ecaps.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ecaps.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ecaps.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ecaps.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ecaps.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ecaps.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ecaps.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ecaps.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ecaps.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ecaps.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ecaps.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ecaps.wordpress.com/267/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ecaps.wordpress.com&amp;blog=7882066&amp;post=267&amp;subd=ecaps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ecaps.wordpress.com/2011/08/30/install-crontab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6a20f48a447dd99e1f005f9e048ad4ec?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">ecaps</media:title>
		</media:content>
	</item>
		<item>
		<title>SolusVM On Cent OS 6 error could not find the unix user</title>
		<link>http://ecaps.wordpress.com/2011/08/30/solusvm-on-cent-os-6-error-could-not-find-the-unix-user/</link>
		<comments>http://ecaps.wordpress.com/2011/08/30/solusvm-on-cent-os-6-error-could-not-find-the-unix-user/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 15:25:42 +0000</pubDate>
		<dc:creator>Master Will</dc:creator>
				<category><![CDATA[SolusVM]]></category>

		<guid isPermaLink="false">http://ecaps.wordpress.com/?p=263</guid>
		<description><![CDATA[login to slave node echo &#8220;6&#8243; &#62; /usr/local/solusvm/data/osversion.dat upcp<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ecaps.wordpress.com&amp;blog=7882066&amp;post=263&amp;subd=ecaps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>login to slave node</p>
<p>echo &#8220;6&#8243; &gt; /usr/local/solusvm/data/osversion.dat<br />
upcp</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ecaps.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ecaps.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ecaps.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ecaps.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ecaps.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ecaps.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ecaps.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ecaps.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ecaps.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ecaps.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ecaps.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ecaps.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ecaps.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ecaps.wordpress.com/263/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ecaps.wordpress.com&amp;blog=7882066&amp;post=263&amp;subd=ecaps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ecaps.wordpress.com/2011/08/30/solusvm-on-cent-os-6-error-could-not-find-the-unix-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6a20f48a447dd99e1f005f9e048ad4ec?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">ecaps</media:title>
		</media:content>
	</item>
		<item>
		<title>CentOS Linux install and configure NTP to synchronize the system clock</title>
		<link>http://ecaps.wordpress.com/2011/08/17/centos-linux-install-and-configure-ntp-to-synchronize-the-system-clock/</link>
		<comments>http://ecaps.wordpress.com/2011/08/17/centos-linux-install-and-configure-ntp-to-synchronize-the-system-clock/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 21:22:20 +0000</pubDate>
		<dc:creator>Master Will</dc:creator>
				<category><![CDATA[Linux command]]></category>

		<guid isPermaLink="false">http://ecaps.wordpress.com/?p=259</guid>
		<description><![CDATA[Login as the root user Type the following command to install ntp # yum install ntp Turn on service # chkconfig ntpd on Synchronize the system clock with 0.pool.ntp.org server: # ntpdate pool.ntp.org Start the NTP: # /etc/init.d/ntpd start To remain updated, you should put a cron entry to sync with time server every midnight: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ecaps.wordpress.com&amp;blog=7882066&amp;post=259&amp;subd=ecaps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Login as the root user</p>
<p>Type the following command to install ntp<br />
<code># yum install ntp</code></p>
<p>Turn on service<br />
<code># chkconfig ntpd on</code></p>
<p>Synchronize the system clock with 0.pool.ntp.org server:<br />
<code># ntpdate pool.ntp.org</code></p>
<p>Start the NTP:<br />
<code># /etc/init.d/ntpd start</code></p>
<p>To remain updated, you should put a cron entry to sync with time server every midnight:</p>
<div>
<div>
<pre># crontab -e
0 4 * * * /usr/sbin/ntpdate pool.ntp.org</pre>
</div>
</div>
<p>This will update/correct your time in server at 04:00 am every morning.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ecaps.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ecaps.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ecaps.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ecaps.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ecaps.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ecaps.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ecaps.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ecaps.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ecaps.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ecaps.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ecaps.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ecaps.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ecaps.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ecaps.wordpress.com/259/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ecaps.wordpress.com&amp;blog=7882066&amp;post=259&amp;subd=ecaps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ecaps.wordpress.com/2011/08/17/centos-linux-install-and-configure-ntp-to-synchronize-the-system-clock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6a20f48a447dd99e1f005f9e048ad4ec?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">ecaps</media:title>
		</media:content>
	</item>
		<item>
		<title>ตรวจสอบว่าเครื่องโดนยิง ip</title>
		<link>http://ecaps.wordpress.com/2011/06/19/%e0%b8%95%e0%b8%a3%e0%b8%a7%e0%b8%88%e0%b8%aa%e0%b8%ad%e0%b8%9a%e0%b8%a7%e0%b9%88%e0%b8%b2%e0%b9%80%e0%b8%84%e0%b8%a3%e0%b8%b7%e0%b9%88%e0%b8%ad%e0%b8%87%e0%b9%82%e0%b8%94%e0%b8%99%e0%b8%a2%e0%b8%b4/</link>
		<comments>http://ecaps.wordpress.com/2011/06/19/%e0%b8%95%e0%b8%a3%e0%b8%a7%e0%b8%88%e0%b8%aa%e0%b8%ad%e0%b8%9a%e0%b8%a7%e0%b9%88%e0%b8%b2%e0%b9%80%e0%b8%84%e0%b8%a3%e0%b8%b7%e0%b9%88%e0%b8%ad%e0%b8%87%e0%b9%82%e0%b8%94%e0%b8%99%e0%b8%a2%e0%b8%b4/#comments</comments>
		<pubDate>Sun, 19 Jun 2011 13:56:55 +0000</pubDate>
		<dc:creator>Master Will</dc:creator>
				<category><![CDATA[Linux command]]></category>

		<guid isPermaLink="false">http://ecaps.wordpress.com/?p=251</guid>
		<description><![CDATA[การตรวจสอบว่าเราถูกยิงหรือไม่ผ่านคำสั่ง netstat หลายๆ คนคงรู้วิธีใช้งาน netstat กันบ้างแล้ว คราวนี้จะมาดูวิธีการใช้งาน netstat อย่างประยุคๆ หน่อย — การใช้ netstat ตรวจสอบการถูกยิงด้วย syn คำสั่ง netstat -ntu &#124; grep SYN_RECV &#124; awk &#8216;{print $5}&#8217; &#124; cut -d: -f1 &#124; sort &#124; uniq -c &#124; sort -nr อันนี้จะบอกว่า ณ ขณะเวลานั้นๆ มีคนส่ง syn เข้ามาเพื่อขอเชื่อมกับ server ของเรา โดยปกติไม่ควรเกิน 10 ครั้งต่อ 1 IP หากเกินกว่านั้นท่าน Block ได้เลย – การใช้ [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ecaps.wordpress.com&amp;blog=7882066&amp;post=251&amp;subd=ecaps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>การตรวจสอบว่าเราถูกยิงหรือไม่ผ่านคำสั่ง netstat<br />
หลายๆ คนคงรู้วิธีใช้งาน netstat กันบ้างแล้ว คราวนี้จะมาดูวิธีการใช้งาน netstat อย่างประยุคๆ หน่อย<br />
— การใช้ netstat ตรวจสอบการถูกยิงด้วย syn<br />
คำสั่ง</p>
<p>netstat -ntu | grep SYN_RECV | awk &#8216;{print $5}&#8217; | cut -d: -f1 | sort | uniq -c | sort -nr</p>
<p>อันนี้จะบอกว่า ณ ขณะเวลานั้นๆ มีคนส่ง syn เข้ามาเพื่อขอเชื่อมกับ server ของเรา โดยปกติไม่ควรเกิน 10 ครั้งต่อ 1 IP หากเกินกว่านั้นท่าน Block ได้เลย<br />
– การใช้ netstat นับจำนวน connetion ของแต่ละ IP<br />
คำสั่ง</p>
<p>netstat -ntu | grep ESTABLISHED | awk &#8216;{print $5}&#8217; | cut -d: -f1 | sort | uniq -c | sort -nr</p>
<p>อันนี้จะบอกว่า ณ ขณะเวลานั้นๆ แต่ละ IP มีการเชื่อมต่อกับเรากี่ connetion  โดยปกติไม่ควรเกิน 10-20 ครั้งต่อ 1 IP หากเกินกว่านั้นท่าน Block ได้เลย</p>
<p>การใช้ netstat ตรวจสอบได้กับ tcp จะง่าย แต่ถ้าเป็น udp icmp ผมจะใช้โปรแกรม iptraf ช่วยอีกแรง ดูง่ายหน่อย<br />
ติดตั้ง yum -y install iptraf<br />
วิธีใช้พิมพ์คำสั่ง iptraf จากนั้นดูว่ามี packet udp icmp วิงผิดปกติหรือเปล่า ถ้ามีก็ดู ip นั้นๆ แล้วนำมา block</p>
<p><strong>ตัวอย่าง </strong>การ Block ก็ง่ายๆ ไม่ยากด้วย iptables<br />
iptables -A INPUT -s xxx.xxx.xxx.xxx -j DROP ความหมาย -A = เพิ่ม (add), -s = IP ต้นทาง, -j DROP = Block IP นั้นซ่ะ</p>
<p>Block เป็น class<br />
iptables -A INPUT -s xxx.xxx.xxx.xxx/xx -j DROP</p>
<p>Block เป็น Protocal<br />
iptables -A INPUT -p udp –dport 80 -j DROP ความหมาย -p = เลือก Protocal ที่ต้องการ (udp,tcp) , –dpoprt = Port ปลายทาง, –spoprt = Port ต้นทางทาง</p>
<p>แล้ว ก็ฝากเตือนทุกๆ คนที่ server โดยยิง ไม่ว่าจะอย่างไรห้ามยิงกลับเป็นอันขาดนะครับ ต้องป้องกันให้ดีที่สุด เก็บ log แล้วก็แจ้งความเท่านั้นนะครับ เพราะถ้าเรายิงกลับเราจะเป็นฝ่ายที่โดนจับเสียเอง</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ecaps.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ecaps.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ecaps.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ecaps.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ecaps.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ecaps.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ecaps.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ecaps.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ecaps.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ecaps.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ecaps.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ecaps.wordpress.com/251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ecaps.wordpress.com/251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ecaps.wordpress.com/251/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ecaps.wordpress.com&amp;blog=7882066&amp;post=251&amp;subd=ecaps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ecaps.wordpress.com/2011/06/19/%e0%b8%95%e0%b8%a3%e0%b8%a7%e0%b8%88%e0%b8%aa%e0%b8%ad%e0%b8%9a%e0%b8%a7%e0%b9%88%e0%b8%b2%e0%b9%80%e0%b8%84%e0%b8%a3%e0%b8%b7%e0%b9%88%e0%b8%ad%e0%b8%87%e0%b9%82%e0%b8%94%e0%b8%99%e0%b8%a2%e0%b8%b4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6a20f48a447dd99e1f005f9e048ad4ec?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">ecaps</media:title>
		</media:content>
	</item>
		<item>
		<title>Openvz Enable TUN/TAP OpenVPN</title>
		<link>http://ecaps.wordpress.com/2011/06/18/openvz-enable-tuntap-openvpn/</link>
		<comments>http://ecaps.wordpress.com/2011/06/18/openvz-enable-tuntap-openvpn/#comments</comments>
		<pubDate>Sat, 18 Jun 2011 12:01:48 +0000</pubDate>
		<dc:creator>Master Will</dc:creator>
				<category><![CDATA[OpenVPN]]></category>

		<guid isPermaLink="false">http://ecaps.wordpress.com/?p=248</guid>
		<description><![CDATA[Make sure the module &#8220;tun&#8221; is loaded on the host. vzctl exec 2000 mkdir -p /dev/net vzctl exec 2000 mknod /dev/net/tun c 10 200 vzctl exec 2000chmod 600 /dev/net/tun On the container test the device: when Something is wrong: cat /dev/net/tun cat: /dev/net/tun: Permission denied It&#8217;s right and ready to use: cat /dev/net/tun cat: /dev/net/tun: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ecaps.wordpress.com&amp;blog=7882066&amp;post=248&amp;subd=ecaps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Make sure the module &#8220;tun&#8221; is loaded on the host.<br />
</strong><code><br />
vzctl exec 2000 mkdir -p /dev/net<br />
vzctl exec 2000 mknod /dev/net/tun c 10 200<br />
vzctl exec 2000chmod 600 /dev/net/tun</code></p>
<p><strong>On the container test the device:</strong></p>
<p><strong>when Something is wrong:</strong></p>
<p><q>cat /dev/net/tun<br />
cat: /dev/net/tun: Permission denied</q></p>
<p><strong>It&#8217;s right and ready to use:</strong></p>
<p><q>cat /dev/net/tun<br />
cat: /dev/net/tun: File descriptor in bad state</q></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ecaps.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ecaps.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ecaps.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ecaps.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ecaps.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ecaps.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ecaps.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ecaps.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ecaps.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ecaps.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ecaps.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ecaps.wordpress.com/248/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ecaps.wordpress.com/248/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ecaps.wordpress.com/248/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ecaps.wordpress.com&amp;blog=7882066&amp;post=248&amp;subd=ecaps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ecaps.wordpress.com/2011/06/18/openvz-enable-tuntap-openvpn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6a20f48a447dd99e1f005f9e048ad4ec?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">ecaps</media:title>
		</media:content>
	</item>
		<item>
		<title>Check Current IP on server</title>
		<link>http://ecaps.wordpress.com/2010/10/06/check-current-ip-on-server/</link>
		<comments>http://ecaps.wordpress.com/2010/10/06/check-current-ip-on-server/#comments</comments>
		<pubDate>Wed, 06 Oct 2010 21:36:58 +0000</pubDate>
		<dc:creator>Master Will</dc:creator>
				<category><![CDATA[Linux command]]></category>

		<guid isPermaLink="false">http://ecaps.wordpress.com/?p=245</guid>
		<description><![CDATA[wget -q -O - checkip.dyndns.org&#124;sed -e 's/.*Current IP Address: //' -e 's/&#60;.*$//'<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ecaps.wordpress.com&amp;blog=7882066&amp;post=245&amp;subd=ecaps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre>wget -q -O - checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/&lt;.*$//'</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ecaps.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ecaps.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ecaps.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ecaps.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ecaps.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ecaps.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ecaps.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ecaps.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ecaps.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ecaps.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ecaps.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ecaps.wordpress.com/245/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ecaps.wordpress.com/245/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ecaps.wordpress.com/245/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ecaps.wordpress.com&amp;blog=7882066&amp;post=245&amp;subd=ecaps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ecaps.wordpress.com/2010/10/06/check-current-ip-on-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/6a20f48a447dd99e1f005f9e048ad4ec?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">ecaps</media:title>
		</media:content>
	</item>
	</channel>
</rss>
