ʹÓùýÂËÊǷdz£ÖØÒªµÄ£¬ ³õѧÕßʹÓÃwiresharkʱ£¬½«»áµÃµ½´óÁ¿µÄÈßÓàÐÅÏ¢£¬ÔÚ¼¸Ç§ÉõÖÁ¼¸ÍòÌõ¼Ç¼ÖУ¬ÒÔÖÁÓÚºÜÄÑÕÒµ½×Ô¼ºÐèÒªµÄ²¿·Ö¡£¸ãµÃÔÎͷתÏò¡£
¹ýÂËÆ÷»á°ïÖúÎÒÃÇÔÚ´óÁ¿µÄÊý¾ÝÖÐѸËÙÕÒµ½ÎÒÃÇÐèÒªµÄÐÅÏ¢¡£
¹ýÂËÆ÷ÓÐÁ½ÖÖ£¬
Ò»ÖÖÊÇÏÔʾ¹ýÂËÆ÷£¬¾ÍÊÇÖ÷½çÃæÉÏÄǸö£¬ÓÃÀ´ÔÚ²¶»ñµÄ¼Ç¼ÖÐÕÒµ½ËùÐèÒªµÄ¼Ç¼
Ò»ÖÖÊDz¶»ñ¹ýÂËÆ÷£¬ÓÃÀ´¹ýÂ˲¶»ñµÄ·â°ü£¬ÒÔÃⲶ»ñÌ«¶àµÄ¼Ç¼¡£ ÔÚCapture -> Capture Filters ÖÐÉèÖÃ
±£´æ¹ýÂË
ÔÚFilterÀ¸ÉÏ£¬ÌîºÃFilterµÄ±í´ïʽºó£¬µã»÷Save°´Å¥£¬ È¡¸öÃû×Ö¡£±ÈÈç"Filter 102",
FilterÀ¸ÉϾͶàÁ˸ö"Filter 102" µÄ°´Å¥¡£
¹ýÂ˱í´ïʽµÄ¹æÔò
±í´ïʽ¹æÔò
1. ÐÒé¹ýÂË
±ÈÈçTCP£¬Ö»ÏÔʾTCPÐÒé¡£
2. IP ¹ýÂË
±ÈÈç ip.src ==192.168.1.102 ÏÔʾԴµØַΪ192.168.1.102£¬
ip.dst==192.168.1.102, Ä¿±êµØַΪ192.168.1.102
3. ¶Ë¿Ú¹ýÂË
tcp.port ==80, ¶Ë¿ÚΪ80µÄ
tcp.srcport == 80, Ö»ÏÔʾTCPÐÒéµÄÔ¸¶Ë¿ÚΪ80µÄ¡£
4. Httpģʽ¹ýÂË
http.request.method=="GET", Ö»ÏÔʾHTTP GET·½·¨µÄ¡£
5. Âß¼ÔËËã·ûΪ AND/ OR
³£ÓõĹýÂ˱í´ïʽ
¹ýÂ˱í´ïʽ | ÓÃ; |
http | Ö»²é¿´HTTPÐÒéµÄ¼Ç¼ |
ip.src ==192.168.1.102 or ip.dst==192.168.1.102 | Ô´µØÖ·»òÕßÄ¿±êµØÖ·ÊÇ192.168.1.102 |
·â°üÁбí(Packet List Pane)
·â°üÁбíµÄÃæ°åÖÐÏÔʾ£¬±àºÅ£¬Ê±¼ä´Á£¬Ô´µØÖ·£¬Ä¿±êµØÖ·£¬ÐÒ飬³¤¶È£¬ÒÔ¼°·â°üÐÅÏ¢¡£ Äã¿ÉÒÔ¿´µ½²»Í¬µÄÐÒéÓÃÁ˲»Í¬µÄÑÕÉ«ÏÔʾ¡£
ÄãÒ²¿ÉÒÔÐÞ¸ÄÕâЩÏÔʾÑÕÉ«µÄ¹æÔò£¬ View ->Coloring Rules.
·â°üÏêϸÐÅÏ¢ (Packet Details Pane)
Õâ¸öÃæ°åÊÇÎÒÃÇ×îÖØÒªµÄ£¬ÓÃÀ´²é¿´ÐÒéÖеÄÿһ¸ö×ֶΡ£
¸÷ÐÐÐÅÏ¢·Ö±ðΪ
Frame: ÎïÀí²ãµÄÊý¾ÝÖ¡¸Å¿ö
Ethernet II: Êý¾ÝÁ´Â·²ãÒÔÌ«ÍøÖ¡Í·²¿ÐÅÏ¢
Internet Protocol Version 4: »¥ÁªÍø²ãIP°üÍ·²¿ÐÅÏ¢
Transmission Control Protocol: ´«Êä²ãTµÄÊý¾Ý¶ÎÍ·²¿ÐÅÏ¢£¬´Ë´¦ÊÇTCP
Hypertext Transfer Protocol: Ó¦ÓòãµÄÐÅÏ¢£¬´Ë´¦ÊÇHTTPÐÒé
±¾Îĵ¼º½
- µÚ1Ò³: Ê×Ò³
- µÚ2Ò³: Wireshark ÏÔʾ¹ýÂË
- µÚ3Ò³: wiresharkÓë¶ÔÓ¦µÄOSIÆß²ãÄ£ÐÍ
- µÚ4Ò³: ʵÀý·ÖÎöTCPÈý´ÎÎÕÊÖ¹ý³Ì