wireshark & 網路協定簡介

Download Report

Transcript wireshark & 網路協定簡介

Lab312
Lab312 專題生暑假需知
• 每一課程都會有作業
• 且點名與作業表現將影響專題生是否能續留本實驗室
• 修習本實驗室之專題生務必要出席
• 在開學之前會公告fianl project的機測細節
• 點名+課程作業+final project 此為續留本實驗室之條件 缺
一不可
protocol
• TCP
• HTTP
TCP
• Transmission Control Protocol
– TCP provides reliable, ordered delivery of a
stream of bytes from a program on one
computer to another program on another
computer.
TCP
• Transmission Control Protocol
TCP
TCP
P3
P2
SP: 80
SP: 80
DP: 9157
DP: 5775
SP: 9157
client
IP: A
DP: 80
P1
P1
P4
SP: 5775
server
IP: C
DP: 80
Client
IP:B
TCP
HTTP
• Hypertext Transfer Protocol
– Hypertext Transfer Protocol (HTTP) is an
application-level protocol
HTTP
HTTP
• The request message consists of the
following:
– Request line, such as
– GET /images/logo.gif HTTP/1.1
– Headers such as Accept-Language: en
– An empty line
– An optional message body
HTTP example
• telnet proxy.cycu.edu.tw 3128
• GET / HTTP/1.1
• Host: www.google.com.tw
WireShark
• Wireshark(前稱Ethereal)是一個網路封
包分析軟體。網路封包分析軟體的功能是
擷取網路封包,並盡可能顯示出最為詳細
的網路封包資料。
安裝 WireShark
• http://www.wireshark.org/
安裝 WireShark
安裝 WireShark
安裝 WireShark
安裝 WireShark
安裝 WireShark
WireShark
作業一
• 1.利用wireshark錄製連線封包,並標出three way
handshake步驟的幾個封包。
• 2.找出TCP Header中Sequence number以及
Acknowledgment number欄位是做什麼用途,在
連線過程中裡面的內容代表什麼意義,請清楚說
明。
• Mail到 [email protected]
• mail標題:Lab312作業一
• Mail內容:請包含學號、姓名。
• Due:8/10