關於wireshark抓包獲取的Frame:物理層的數據幀概況筆記

  Frame:物理層的數據幀概況。


  Ethernet II:數據鏈路層以太網幀頭部信息。


  Internet Protocol Version 4:互聯網層IP包頭部信息。


  Transmission Control Protocol:傳輸層的數據段頭部信息,此處是TCP協議。


  Hypertext Transfer Protocol:應用層的信息,此處是HTTP協議。


下面分別介紹下在圖1.48中,幀、包和段內展開的內容。如下所示:


(1)物理層的數據幀概況


Frame 5: 268 bytes on wire (2144 bits), 268 bytes captured (2144 bits) on interface 0                         #5號幀,線路268字節,實際捕獲268字節


    Interface id: 0                                                                                           #接口id


    Encapsulation type: Ethernet (1)                                                                          #封裝類型


    Arrival Time: Jun 11, 2015 05:12:18.469086000                                           中國標準時間      #捕獲日期和時間


    [Time shift for this packet: 0.000000000 seconds]


    Epoch Time: 1402449138.469086000 seconds


    [Time delta from previous captured frame: 0.025257000 seconds]   #此包與前一包的時間間隔


    [Time since reference or first frame: 0.537138000 seconds]              #此包與第一幀的時間間隔


    Frame Number: 5                                                                                          #幀序號


    Frame Length: 268 bytes (2144 bits)                                                         #幀長度


    Capture Length: 268 bytes (2144 bits)                                                      #捕獲長度


    [Frame is marked: False]                                                                              #此幀是否做了標記:否


    [Frame is ignored: False]                                                                              #此幀是否被忽略:否


    [Protocols in frame: eth:ip:tcp:http]                                                             #幀內封裝的協議層次結構


    [Number of per-protocol-data: 2]                                                                          #


    [Hypertext Transfer Protocol, key 0]


    [Transmission Control Protocol, key 0]


    [Coloring Rule Name: HTTP]                                                                       #着色標記的協議名稱


[Coloring Rule String: http || tcp.port == 80]                                                        #着色規則顯示的字符串


(2)數據鏈路層以太網幀頭部信息


Ethernet II, Src: Giga-Byt_c8:4c:89 (1c:6f:65:c8:4c:89), Dst: Tp-LinkT_f9:3c:c0 (6c:e8:73:f9:3c:c0)


Destination: Tp-LinkT_f9:3c:c0 (6c:e8:73:f9:3c:c0)                                         #目標MAC地址


    Source: Giga-Byt_c8:4c:89 (1c:6f:65:c8:4c:89)                                        #源MAC地址


    Type: IP (0x0800)


(3)互聯網層IP包頭部信息


Internet Protocol Version 4, Src: 192.168.0.104 (192.168.0.104), Dst: 61.182.140.146 (61.182.140.146)


Version: 4                                                                                                                          #互聯網協議IPv4


    Header length: 20 bytes                                                                               #IP包頭部長度


    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00: Not-ECT (Not ECN-Capable Transport))                                                                                                                                   #差分服務字段


    Total Length: 254                                                                                           #IP包的總長度


    Identification: 0x5bb5 (23477)                                                                    #標誌字段


    Flags: 0x02 (Don't Fragment)                                                                      #標記字段


    Fragment offset: 0                                                                                         #分的偏移量


    Time to live: 64                                                                                               #生存期TTL


    Protocol: TCP (6)                                                                                            #此包內封裝的上層協議爲TCP


    Header checksum: 0x52ec [validation disabled]                                              #頭部數據的校驗和


    Source: 192.168.0.104 (192.168.0.104)                                                   #源IP地址


    Destination: 61.182.140.146 (61.182.140.146)                                       #目標IP地址


(4)傳輸層TCP數據段頭部信息


Transmission Control Protocol, Src Port: 51833 (51833), Dst Port: http (80), Seq: 1, Ack: 1, Len: 214


Source port: 51833 (51833)                                                                                 #源端口號


    Destination port: http (80)                                                                             #目標端口號


    Sequence number: 1    (relative sequence number)                                   #序列號(相對序列號)


    [Next sequence number: 215    (relative sequence number)]           #下一個序列號


    Acknowledgment number: 1    (relative ack number)                         #確認序列號


    Header length: 20 bytes                                                                               #頭部長度


    Flags: 0x018 (PSH, ACK)                                                                             #TCP標記字段


    Window size value: 64800                                                                                    #流量控制的窗口大小


    Checksum: 0x677e [validation disabled]                                                  #TCP數據段的校驗和
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章