<?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>Toey blog &#187; network</title>
	<atom:link href="http://toey.tc20.net/category/linux-security/network/feed/" rel="self" type="application/rss+xml" />
	<link>http://toey.tc20.net</link>
	<description>บันทึกเรื่องราวต่างๆ</description>
	<lastBuildDate>Thu, 01 Sep 2011 11:51:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>snmptranslate</title>
		<link>http://toey.tc20.net/2009/06/26/snmptranslate/</link>
		<comments>http://toey.tc20.net/2009/06/26/snmptranslate/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 04:29:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux security]]></category>
		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://toey.tc20.net/?p=72</guid>
		<description><![CDATA[snmptranslate -IR tcpPassiveOpens.0 TCP-MIB::tcpPassiveOpens.0 snmptranslate -On TCP-MIB::tcpPassiveOpens.0 .1.3.6.1.2.1.6.6.0 snmptranslate .1.3.6.1.2.1.6.6.0 TCP-MIB::tcpPassiveOpens.0]]></description>
			<content:encoded><![CDATA[<pre class="brush: shell;">snmptranslate -IR  tcpPassiveOpens.0</pre>
<p>TCP-MIB::tcpPassiveOpens.0</p>
<pre class="brush: shell;">snmptranslate -On TCP-MIB::tcpPassiveOpens.0</pre>
<p>.1.3.6.1.2.1.6.6.0</p>
<pre class="brush: shell;">snmptranslate .1.3.6.1.2.1.6.6.0</pre>
<p>TCP-MIB::tcpPassiveOpens.0</p>
]]></content:encoded>
			<wfw:commentRss>http://toey.tc20.net/2009/06/26/snmptranslate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>command count tcp state</title>
		<link>http://toey.tc20.net/2009/06/08/command-count-tcp-state/</link>
		<comments>http://toey.tc20.net/2009/06/08/command-count-tcp-state/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 23:06:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[network]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[tcp stage]]></category>

		<guid isPermaLink="false">http://toey.tc20.net/?p=51</guid>
		<description><![CDATA[netstat -tan &#124; grep ':80 ' &#124; awk '{print $6}' &#124; sort &#124; uniq -c]]></description>
			<content:encoded><![CDATA[<pre class="brush: shell;">
netstat -tan | grep ':80 ' | awk '{print $6}' | sort | uniq -c
</pre>
]]></content:encoded>
			<wfw:commentRss>http://toey.tc20.net/2009/06/08/command-count-tcp-state/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>การทำ null route บน linux</title>
		<link>http://toey.tc20.net/2009/05/31/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%97%e0%b8%b3-null-route-%e0%b8%9a%e0%b8%99-linux/</link>
		<comments>http://toey.tc20.net/2009/05/31/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%97%e0%b8%b3-null-route-%e0%b8%9a%e0%b8%99-linux/#comments</comments>
		<pubDate>Sun, 31 May 2009 13:23:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[network]]></category>
		<category><![CDATA[null route]]></category>

		<guid isPermaLink="false">http://toey.tc20.net/?p=45</guid>
		<description><![CDATA[คำสั่งดรอปการโจมตีจาก ip ด้วยคำสั่ง route  บน linux route add xxx.xxx.xxx.xxx reject คำสั่งตรวจสอบว่าทำการปิดกันเรียบร้อยหรือยังถ้าแสดงข้อความแบบด้านล่างแสดงว่าได้ปิดกั้น ip นั้นเรียบร้อยแล้ว ip route get  xxx.xxx.xxx.xxx RTNETLINK answers: Network is unreachable ใช้คำสั่งด้านล่างเพื่อดู ตารางการ route [root@demo01 ~]#route -n ใช้คำสั่งด้านล่างเพื่อยกเลิกการปิดกัน ip ดังกล่าว [root@demo01 ~]#route del -host xxx.xxx.xxx.xxx reject  หมายเหตุ xxx.xxx.xxx.xxx คือ ip ที่ต้องการปิดกั้น]]></description>
			<content:encoded><![CDATA[<p>คำสั่งดรอปการโจมตีจาก ip ด้วยคำสั่ง route  บน linux</p>
<pre class="brush: shell;">route add xxx.xxx.xxx.xxx reject</pre>
<p>คำสั่งตรวจสอบว่าทำการปิดกันเรียบร้อยหรือยังถ้าแสดงข้อความแบบด้านล่างแสดงว่าได้ปิดกั้น ip นั้นเรียบร้อยแล้ว</p>
<pre class="brush: shell;">ip route get  xxx.xxx.xxx.xxx</pre>
<p>RTNETLINK answers: Network is unreachable<br />
ใช้คำสั่งด้านล่างเพื่อดู ตารางการ route</p>
<pre class="brush: shell;">[root@demo01 ~]#route -n</pre>
<p>ใช้คำสั่งด้านล่างเพื่อยกเลิกการปิดกัน ip ดังกล่าว</p>
<pre class="brush: shell;">[root@demo01 ~]#route del -host xxx.xxx.xxx.xxx reject</pre>
<p> หมายเหตุ xxx.xxx.xxx.xxx คือ ip ที่ต้องการปิดกั้น</p>
]]></content:encoded>
			<wfw:commentRss>http://toey.tc20.net/2009/05/31/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%97%e0%b8%b3-null-route-%e0%b8%9a%e0%b8%99-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

