TCPIP Wireshark Speaker WeiLin Chen Date 20100714 Outline

  • Slides: 29
Download presentation
TCP/IP & Wireshark Speaker: Wei-Lin Chen Date: 2010/07/14

TCP/IP & Wireshark Speaker: Wei-Lin Chen Date: 2010/07/14

Outline OSI Model & TCP/IP Model Internet Protocol TCP & UDP Wireshark Capture Filter

Outline OSI Model & TCP/IP Model Internet Protocol TCP & UDP Wireshark Capture Filter References 2

OSI Model 3

OSI Model 3

Comparing TCP/IP with OSI 7

Comparing TCP/IP with OSI 7

TCP/IP Model 8

TCP/IP Model 8

Internet Protocol (IP) IPv 4 Length : 32 -bit, Header : 20 bytes IPv

Internet Protocol (IP) IPv 4 Length : 32 -bit, Header : 20 bytes IPv 6 Length : 128 -bit Header : 40 bytes Network ID 位於IP位址的前段,可用來識別所屬網路。 Host ID 位於IP位址的後段,可用來識別個別裝置。 9

Internet Protocol (cont. ) IPv 4 Header 10

Internet Protocol (cont. ) IPv 4 Header 10

Internet Protocol (cont. ) IPv 6 Header 11

Internet Protocol (cont. ) IPv 6 Header 11

Internet Protocol (cont. ) Class A (Range 1. x. x. x to 126. x.

Internet Protocol (cont. ) Class A (Range 1. x. x. x to 126. x. x. x) Class B (Range 128. x. x. x to 191. x. x. x) Class C (Range 192. x. x. x to 223. x. x. x) 12

Internet Protocol (cont. ) Private IP address Class A : 10. 0 - 10.

Internet Protocol (cont. ) Private IP address Class A : 10. 0 - 10. 255 Class B : 172. 16. 0. 0 - 172. 31. 255 Class C : 192. 168. 0. 0 - 192. 168. 255 13

TCP Connection-oriented Establishment Maintenance Termination Reliability Data confirm Error correction Flow control Sliding Windows

TCP Connection-oriented Establishment Maintenance Termination Reliability Data confirm Error correction Flow control Sliding Windows 15

TCP (cont. ) TCP Header 16

TCP (cont. ) TCP Header 16

TCP (cont. ) Three-Way Handshake 17

TCP (cont. ) Three-Way Handshake 17

TCP (cont. ) Flow control – Sliding Windows 18

TCP (cont. ) Flow control – Sliding Windows 18

UDP Connection-less No acks (Unconfirmed Service) High rate of transmission Unreliable No flow control

UDP Connection-less No acks (Unconfirmed Service) High rate of transmission Unreliable No flow control 19

UDP (cont. ) 20

UDP (cont. ) 20

23

23

24

24

25

25

26

26

Capture Filter

Capture Filter

28

28

References Wireshark official website http: //www. wireshark. org/ 網路教學-IP位址 http: //www. pcnet. idv. tw/pcnet/network_ip_addr.

References Wireshark official website http: //www. wireshark. org/ 網路教學-IP位址 http: //www. pcnet. idv. tw/pcnet/network_ip_addr. htm 網路教學-TCP與UDP http: //www. pcnet. idv. tw/pcnet/network_ip_tcp. ht m Sliding Windows Demo http: //www 2. rad. com/networks/2004/sliding_window/inde x. html 29