1. 程式人生 > >Wareshark內容分析教程

Wareshark內容分析教程

總覽:五層資訊
Frame:物理層的資料幀概況
EthernetII:資料鏈路層乙太網幀頭部資訊
InternetProtocol Version 4:網際網路層IP包頭部資訊
TransmissionControl Protocol:傳輸層的資料段頭部資訊,此處是TCP協議
HypertextTransfer Protocol:應用層的資訊,此處是HTTP協議
1>物理層的資料幀概況
#5號幀,線路268位元組,實際捕獲268位元組
Frame 5: 268 bytes on wire (2144 bits), 268 bytes captured (2144 bits) on
interface 0 #介面id Interface id: 0 #封裝型別 Encapsulation type: Ethernet (1) #捕獲日期和時間 Arrival Time: Jun 11, 2015 05:12:18.469086000 中國標準時間 #此包與前一包的時間間隔 [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]
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)
#目標MAC地址
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)                                        
3>網際網路層IP包頭部資訊
Internet Protocol Version 4, Src: 192.168.0.104 (192.168.0.104), Dst: 61.182.140.146 (61.182.140.146)
#網際網路協議IPv4
Version: 4  
#IP包頭部長度                                                                                                        
Header length: 20 bytes   
#差分服務欄位                                                                            
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00: Not-ECT (Not ECN-Capable Transport))  
#IP包的總長度                                                                                                                                 
Total Length: 254  
#標誌欄位                                                                                      
Identification: 0x5bb5 (23477)  
#標記欄位                                                                  
Flags: 0x02 (Don't Fragment) 
#分的偏移量                                                                     
Fragment offset: 0  
#生存期TTL                                                                                       
Time to live: 64   
#此包內封裝的上層協議為TCP                                                                                            
Protocol: TCP (6)   
#頭部資料的校驗和                                                                          
Header checksum: 0x52ec [validation disabled]   
#源IP地址                              
Source: 192.168.0.104 (192.168.0.104)   
#目標IP地址                                                
Destination: 61.182.140.146 (61.182.140.146)                                       
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  
#TCP標記欄位                                                                             
Flags: 0x018 (PSH, ACK)  
#流量控制的視窗大小                                                                           
Window size value: 64800   
#TCP資料段的校驗和                                                                  
Checksum: 0x677e [validation disabled]                                                  
5>應用層的資訊,此處是HTTP協議
這個不會的話出門左轉