<?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>WingGundamZeroCustom.co.th Blog &#187; CNT</title>
	<atom:link href="http://blog.winginfotech.net/tag/cnt/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.winginfotech.net</link>
	<description>I will change the world, to the better day.</description>
	<lastBuildDate>Tue, 31 Jan 2012 13:27:59 +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>Wireshark Lab : Introduction to Wireshark</title>
		<link>http://blog.winginfotech.net/2008/06/07/wireshark-intro/</link>
		<comments>http://blog.winginfotech.net/2008/06/07/wireshark-intro/#comments</comments>
		<pubDate>Sat, 07 Jun 2008 06:20:08 +0000</pubDate>
		<dc:creator>WingGundamZeroCustom.co.th</dc:creator>
				<category><![CDATA[ความรู้ไอที]]></category>
		<category><![CDATA[CNT]]></category>
		<category><![CDATA[Wireshark]]></category>

		<guid isPermaLink="false">http://blog.winginfotech.net/?p=77</guid>
		<description><![CDATA[<br />
<b>Warning</b>:  array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in <b>/home/wingth/domains/winginfotech.net/public_html/blog/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>2026</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/wingth/domains/winginfotech.net/public_html/blog/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>2026</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/wingth/domains/winginfotech.net/public_html/blog/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>2398</b><br />
<br />
<b>Warning</b>:  implode() [<a href='function.implode'>function.implode</a>]: Argument must be an array in <b>/home/wingth/domains/winginfotech.net/public_html/blog/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3351</b><br />
<br />
<b>Warning</b>:  array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in <b>/home/wingth/domains/winginfotech.net/public_html/blog/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3374</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/wingth/domains/winginfotech.net/public_html/blog/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3374</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/wingth/domains/winginfotech.net/public_html/blog/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3415</b><br />
<br />
<b>Warning</b>:  array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in <b>/home/wingth/domains/winginfotech.net/public_html/blog/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3467</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/wingth/domains/winginfotech.net/public_html/blog/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3467</b><br />
<br />
<b>Warning</b>:  array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in <b>/home/wingth/domains/winginfotech.net/public_html/blog/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3612</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/wingth/domains/winginfotech.net/public_html/blog/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3612</b><br />
หลังจากวันนี้เป็นต้นไป บล็อกของผมก็มีเรื่องราวซีรีย์ในทุกสัปดาห์เพิ่มขึ้นอีกหนึ่งอย่าง นั่นก็คือ Wireshark Lab ซึ่งซีรีย์นี้เกิดขึ้นได้เพราะวิชา Computer Network Technology หรือ CNT ที่ผมเรียนปริญญาโท (ปีแรก) อยู่ที่คณะเทคโนโลยีสารสนเทศ สถาบันเทคโนโลยีพระจอมเกล้าเจ้าคุณทหารลาดกระบัง โดยอาจารย์โชติพัชร์ ภรณวลัยได้สั่งการบ้านแล็บทุกสัปดาห์ และให้ส่งการบ้านโดยการเขียนบล็อก!!! เพราะฉะนั้นทุกสัปดาห์ ใครที่เข้ามาอ่านบล็อกผมก็จะได้รับความรู้ทางด้านเน็ตเวิร์ก + ประสบการณ์จากการทำการบ้านของผมไปด้วยพร้อมกันครับ (ถ้าผมอู้ไม่เขียน ก็จะไม่มีคะแนนส่งการบ้านเหมือนกัน &#8211; -&#8221;) ลักษณะการบ้านแล็บทั้งหมด 11 แล็บนั้น (รู้สึกจะให้ทำแล็บละสัปดาห์) จะเป็นลักษณะของ Wireshark Lab ทั้งหมด ซึ่งแล็บแรกของวันนี้คือ Introduction to Wireshark ผมชอบคำพูดเริ่มต้นของแล็บนี้ที่บอกความเป็นจริงของการเรียนเน็ตเวิร์กว่า การที่จะรู้การทำงานของเน็ตเวิร์กได้นั้นเราจะต้อง &#8220;ดูมัน&#8221; และ &#8220;เล่นกับมัน&#8221; การที่เราจะดูมันได้นั้นเราจะต้องพึ่งพาซอฟต์แวร์ประเภท Packet Sniffer ซึ่งจะทำงานสองหน้าที่นั่นก็คือ การดักจับแพ็กเกต (Packet capture) ซึ่งจะคอยทำการดักจับข้อมูลทั้งหมดที่วิ่งเข้ามาและวิ่งออกไปจากเครื่องของเราทางเน็ตเวิร์ก และอีกหน้าที่คือการวิเคราะห์ข้อมูลแพ็กเกต (Packet Analyzer) ที่จะทำการวิเคราะห์ข้อมูลแพ็กเกตนั้นๆ [...]]]></description>
			<content:encoded><![CDATA[<br />
<b>Warning</b>:  array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in <b>/home/wingth/domains/winginfotech.net/public_html/blog/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>2026</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/wingth/domains/winginfotech.net/public_html/blog/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>2026</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/wingth/domains/winginfotech.net/public_html/blog/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>2398</b><br />
<br />
<b>Warning</b>:  implode() [<a href='function.implode'>function.implode</a>]: Argument must be an array in <b>/home/wingth/domains/winginfotech.net/public_html/blog/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3351</b><br />
<br />
<b>Warning</b>:  array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in <b>/home/wingth/domains/winginfotech.net/public_html/blog/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3374</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/wingth/domains/winginfotech.net/public_html/blog/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3374</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/wingth/domains/winginfotech.net/public_html/blog/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3415</b><br />
<br />
<b>Warning</b>:  array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in <b>/home/wingth/domains/winginfotech.net/public_html/blog/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3467</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/wingth/domains/winginfotech.net/public_html/blog/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3467</b><br />
<br />
<b>Warning</b>:  array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in <b>/home/wingth/domains/winginfotech.net/public_html/blog/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3612</b><br />
<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/wingth/domains/winginfotech.net/public_html/blog/wp-content/plugins/wp-syntax/geshi/geshi.php</b> on line <b>3612</b><br />
<p><img src="http://blog.winginfotech.net/wp-content/uploads/2008/06/wsbadgewiki64.png" alt="" /></p>

<p>หลังจากวันนี้เป็นต้นไป บล็อกของผมก็มีเรื่องราวซีรีย์ในทุกสัปดาห์เพิ่มขึ้นอีกหนึ่งอย่าง นั่นก็คือ <strong>Wireshark Lab</strong> ซึ่งซีรีย์นี้เกิดขึ้นได้เพราะวิชา <strong>Computer Network Technology</strong> หรือ <strong>CNT</strong> ที่ผมเรียนปริญญาโท (ปีแรก) อยู่ที่คณะเทคโนโลยีสารสนเทศ สถาบันเทคโนโลยีพระจอมเกล้าเจ้าคุณทหารลาดกระบัง โดยอาจารย์โชติพัชร์ ภรณวลัยได้สั่งการบ้านแล็บทุกสัปดาห์ และให้ส่งการบ้านโดยการ<strong>เขียนบล็อก!!!</strong></p>

<p>เพราะฉะนั้นทุกสัปดาห์ ใครที่เข้ามาอ่านบล็อกผมก็จะได้รับความรู้ทางด้านเน็ตเวิร์ก + ประสบการณ์จากการทำการบ้านของผมไปด้วยพร้อมกันครับ (ถ้าผมอู้ไม่เขียน ก็จะไม่มีคะแนนส่งการบ้านเหมือนกัน &#8211; -&#8221;)</p>

<p>ลักษณะการบ้านแล็บทั้งหมด 11 แล็บนั้น (รู้สึกจะให้ทำแล็บละสัปดาห์) จะเป็นลักษณะของ Wireshark Lab ทั้งหมด ซึ่งแล็บแรกของวันนี้คือ <strong>Introduction to Wireshark</strong></p>

<p><span id="more-77"></span>
ผมชอบคำพูดเริ่มต้นของแล็บนี้ที่บอกความเป็นจริงของการเรียนเน็ตเวิร์กว่า <strong>การที่จะรู้การทำงานของเน็ตเวิร์กได้นั้นเราจะต้อง &#8220;ดูมัน&#8221; และ &#8220;เล่นกับมัน&#8221;</strong></p>

<p>การที่เราจะ<strong>ดูมัน</strong>ได้นั้นเราจะต้องพึ่งพาซอฟต์แวร์ประเภท <strong>Packet Sniffer</strong> ซึ่งจะทำงานสองหน้าที่นั่นก็คือ <strong>การดักจับแพ็กเกต (Packet capture)</strong> ซึ่งจะคอยทำการดักจับข้อมูลทั้งหมดที่วิ่งเข้ามาและวิ่งออกไปจากเครื่องของเราทางเน็ตเวิร์ก และอีกหน้าที่คือ<strong>การวิเคราะห์ข้อมูลแพ็กเกต (Packet Analyzer)</strong> ที่จะทำการวิเคราะห์ข้อมูลแพ็กเกตนั้นๆ ออกมาแสดงผล</p>

<p><strong>Wireshark</strong> เป็นโปรแกรมประเภท Packet Sniffer ที่จะดักจับข้อมูลด้วยความช่วยเหลือของ <strong>pcap library</strong> และจะวิเคราะห์ข้อมูลแพ็กเกตที่ถูกดับจับ มาแสดงผลให้เราเห็นการทำงานของเน็ตเวิร์ก โดยแล็บแรกนี้จะเป็นเพียงแค่การแนะนำให้รู้จักการใช้งาน Wireshark เบื้องต้น รู้จักกับหน้าตาส่วนประกอบต่างๆ ของโปรแกรม การวิเคราะห์ดูข้อมูลเบื้องต้น และปิดท้ายด้วยคำถามท้ายบทซึ่งเป็นส่วนของการบ้านที่จะต้องนำมาตอบในบล็อกนี้นี่เอง</p>

<p>สำหรับคำถามผมจะคงคำถามภาษาอังกฤษไว้ เผื่ออาจจะแปลผิดทำให้คนอ่านสับสนได้</p>

<ol>
<li><strong>List up to 10 different protocols that appear in the protocol column in the unfiltered packet-listing window in step 7 above.</strong>

<ul>
<li>HTTP</li>
<li>UDP</li>
<li>ICMP</li>
<li>MSNMS</li>
<li>TCP</li>
<li>DNS</li>
<li>SSDP</li>
<li>IRC</li>
<li>IGMP</li>
<li>ARP<br />
<a class="thickbox" rel="" href='http://blog.winginfotech.net/wp-content/gallery/cnt/wireshark_intro_01.png' title=''><img src='http://blog.winginfotech.net/wp-content/gallery/cnt/thumbs/thumbs_wireshark_intro_01.png' alt='wireshark_intro_01.png' class='ngg-singlepic ngg-none' /></a></li>
</ul></li>
<li><strong>How long did it take from when the HTTP GET message was sent until the HTTP OK reply was received? (By default, the value of the Time column in the packet-listing window is the amount of time, in seconds, since Wireshark tracing began. To display the Time field in time-of-day format, select the Wireshark View pull down menu, then select Time Display Format, then select Time-of-day.)</strong>

<ul>
<li>0.502572 second</li>
</ul></li>
<li><strong>What is the Internet address of the gaia.cs.umass.edu (also known as www-
net.cs.umass.edu)? What is the Internet address of your computer?</strong>

<ul>
<li>Internet address of the gaia.cs.umass.edu is 128.119.245.12.<br />
My internet address is 192.168.2.101.<br />
<a class="thickbox" rel="" href='http://blog.winginfotech.net/wp-content/gallery/cnt/wireshark_intro_02.png' title=''><img src='http://blog.winginfotech.net/wp-content/gallery/cnt/thumbs/thumbs_wireshark_intro_02.png' alt='wireshark_intro_02.png' class='ngg-singlepic ngg-none' /></a></li>
</ul></li>
<li><strong>Print the two HTTP messages displayed in step 9 above. To do so, select Print from the Wireshark File command menu, and select “Selected Packet Only” and “Print as displayed” and then click OK.</strong></li>
</ol>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
</pre></td><td class="code"><pre class="" style="font-family:monospace;">No.     Time            Source                Destination           Protocol Info
     <span style="">51</span> <span style="">12</span>:<span style="">41</span>:<span style="">01.716937</span> 192.168.2.101         128.119.245.12        HTTP     GET /wireshark-labs/INTRO-wireshark-file1.html HTTP/<span style="">1.1</span> 
&nbsp;
Frame <span style="">51</span> <span class="br0">&#40;</span><span style="">555</span> bytes on wire, <span style="">555</span> bytes captured<span class="br0">&#41;</span>
Ethernet II, Src: Dell_3a:<span style="">62</span>:8e <span class="br0">&#40;</span>00:1c:<span style="">23</span>:3a:<span style="">62</span>:8e<span class="br0">&#41;</span>, Dst: SmcNetwo_ca:<span style="">32</span>:<span style="">48</span> <span class="br0">&#40;</span>00:04:e2:ca:<span style="">32</span>:<span style="">48</span><span class="br0">&#41;</span>
Internet Protocol, Src: 192.168.2.101 <span class="br0">&#40;</span>192.168.2.101<span class="br0">&#41;</span>, Dst: 128.119.245.12 <span class="br0">&#40;</span>128.119.245.12<span class="br0">&#41;</span>
Transmission Control Protocol, Src Port: <span style="">33858</span> <span class="br0">&#40;</span><span style="">33858</span><span class="br0">&#41;</span>, Dst Port: http <span class="br0">&#40;</span><span style="">80</span><span class="br0">&#41;</span>, Seq: <span style="">1</span>, Ack: <span style="">1</span>, Len: <span style="">489</span>
Hypertext Transfer Protocol
    GET /wireshark-labs/INTRO-wireshark-file1.html HTTP/<span style="">1.1</span>\r\n
        Request Method: GET
        Request URI: /wireshark-labs/INTRO-wireshark-file1.html
        Request Version: HTTP/<span style="">1.1</span>
    Host: gaia.cs.umass.edu\r\n
    User-Agent: Mozilla/<span style="">5.0</span> <span class="br0">&#40;</span>X11; U; Linux i686; en-US; rv:<span style="">1.9</span><span class="br0">&#41;</span> Gecko/<span style="">2008060309</span> Firefox/<span style="">3.0</span>\r\n
    Accept: text/html,application/xhtml+xml,application/xml;q=<span style="">0.9</span>,*/*;q=<span style="">0.8</span>\r\n
    Accept-Language: en-us,en;q=<span style="">0.5</span>\r\n
    Accept-Encoding: gzip,deflate\r\n
    Accept-Charset: UTF-<span style="">8</span>,*\r\n
    Keep-Alive: <span style="">300</span>\r\n
    Connection: keep-alive\r\n
    If-Modified-Since: Sat, 07 Jun <span style="">2008</span> 05:<span style="">39</span>:02 GMT\r\n
    If-None-Match: &quot;8734b-<span style="">51</span>-feed2980&quot;\r\n
    Cache-Control: max-age=<span style="">0</span>\r\n
    \r\n</pre></td></tr></table></div>


<p>ก็จบการบ้านแล็บแรก Introduction to Wireshark ทั้งหมด 4 ข้อเพียงเท่านี้</p>

<p>สุดท้ายคือ ผมชอบประโยคเกริ่นนำของชีทแล็บนี้มากที่ว่า</p>

<p><em>“Tell me and I forget. Show me and I remember. Involve me and I understand.”</em></p>

<p><strong>&#8220;จับปลาให้หนูหนึ่งตัว หนูกินได้หนึ่งวัน<br />
จับปลาให้หนูสองตัว หนูกินได้สองวัน<br />
สอนให้หนูจับปลาเป็น หนูกินได้ตลอดชีวิต&#8221;</strong></p>

<p>ปล. ภาษาไทยต่อท้ายผมเอามาเทียบกับคำคมในชีวิตผมเองนะครับ ไม่ได้แปลจากสำนวนหลักแต่อย่างใด</p>

<p>ข้อมูลเพิ่มเติม: <a href="http://blog.winginfotech.net/wp-content/uploads/2008/06/wireshark_intro_july_22_2007.pdf">แล็บชีท Introduction to Wireshark</a>, <a href="http://www.wireshark.org">Wireshark Official Website</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.winginfotech.net/2008/06/07/wireshark-intro/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

