jiaojinxing 发表于 2011-12-20 09:47

Wireshark图解教程(简介、抓包、过滤器)

<span class="Apple-style-span" style="font-family: simsun; "><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; color: rgb(50, 62, 50); "><br><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; ">&nbsp;&nbsp;&nbsp;Wireshark是世界上最流行的网络分析工具。这个强大的工具可以捕捉网络中的数据,并为用户提供关于网络和上层协议的各种信息。与很多其他网络工具一样,Wireshark也使用pcap network library来进行封包捕捉。<font color="#990000" style="word-wrap: normal; word-break: normal; line-height: 21px; ">可破解局域网内QQ、邮箱、msn、账号等的密码</font>!!&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;wireshark的原名是Ethereal,新名字是2006年起用的。当时Ethereal的主要开发者决定离开他原来供职的公司,并继续开发这个软件。但由于Ethereal这个名称的使用权已经被原来那个公司注册,Wireshark这个新名字也就应运而生了。</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; ">在成功<a href="http://openmaniak.com/cn/wireshark_conf.php" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank">运行Wireshark</a>之后,我们就可以进入下一步,更进一步了解这个强大的工具。<br><br>下面是一张地址为192.168.1.2的计算机正在访问“openmaniak.com”网站时的截图。<br><br></p><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; border-right-color: black; border-right-width: 1px; border-right-style: solid; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; "><a href="http://openmaniak.com/wireshark/wireshark_front.png" target="_BLANK" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank"><img alt="wireshark frontend" src="http://openmaniak.com/wireshark/wireshark_front_small.png" real_src="http://openmaniak.com/wireshark/wireshark_front_small.png" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; "></a></td></tr></tbody></table><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; ">&nbsp;</p><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">1.&nbsp;<a href="http://openmaniak.com/cn/wireshark_use.php#menus" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank">MENUS(菜单)</a><br>2.&nbsp;<a href="http://openmaniak.com/cn/wireshark_use.php#shortcuts" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank">SHORTCUTS(快捷方式)</a><br>3.&nbsp;<a href="http://openmaniak.com/cn/wireshark_use.php#display-filter" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank">DISPLAY FILTER(显示过滤器)</a><br>4.&nbsp;<a href="http://openmaniak.com/cn/wireshark_use.php#packet-list" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank">PACKET LIST PANE(封包列表)</a><br></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">5.&nbsp;<a href="http://openmaniak.com/cn/wireshark_use.php#packet-details" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank">PACKET DETAILS PANE(封包详细信息)</a><br>6.&nbsp;<a href="http://openmaniak.com/cn/wireshark_use.php#dissector" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank">DISSECTOR PANE(16进制数据)</a><br>7.&nbsp;<a href="http://openmaniak.com/cn/wireshark_use.php#miscellanous" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank">MISCELLANOUS(杂项)</a><br>&nbsp;</td></tr></tbody></table><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "><br>1.&nbsp;<a name="menus" style="text-decoration: underline; color: rgb(0, 107, 119); ">MENUS(菜单)<br><br></a></p><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; border-right-color: black; border-right-width: 1px; border-right-style: solid; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; "><img alt="wireshark menus" src="http://openmaniak.com/wireshark/wireshark_use_menus.png" real_src="http://openmaniak.com/wireshark/wireshark_use_menus.png" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; "></td></tr></tbody></table>程序上方的8个菜单项用于对Wireshark进行配置:<br><br><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">- "File"(文件)<br>- "Edit" (编辑)<br>- "View"(查看)<br>- "Go" (转到)<br>- "Capture"(捕获)<br>- "Analyze"(分析)<br>- "Statistics" (统计)<br>- "Help" (帮助)</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">打开或保存捕获的信息。<br>查找或标记封包。进行全局设置。<br>设置Wireshark的视图。<br>跳转到捕获的数据。<br>设置捕捉过滤器并开始捕捉。<br>设置分析选项。<br>查看Wireshark的统计信息。<br>查看本地或者在线支持。</td></tr></tbody></table><br>2.&nbsp;<a name="shortcuts" style="text-decoration: underline; color: rgb(0, 107, 119); ">SHORTCUTS(快捷方式)<br><br></a><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; border-right-color: black; border-right-width: 1px; border-right-style: solid; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; "><a href="http://openmaniak.com/wireshark/wireshark_use_shortcuts.png" target="_BLANK" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank"><img alt="wireshark shortcuts" src="http://openmaniak.com/wireshark/wireshark_use_shortcuts_small.png" real_src="http://openmaniak.com/wireshark/wireshark_use_shortcuts_small.png" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; "></a></td></tr></tbody></table>在菜单下面,是一些常用的快捷按钮。<br>您可以将鼠标指针移动到某个图标上以获得其功能说明。<br><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "><br>3.&nbsp;<a name="display-filter" style="text-decoration: underline; color: rgb(0, 107, 119); ">DISPLAY FILTER(显示过滤器)<br><br></a></p><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; border-right-color: black; border-right-width: 1px; border-right-style: solid; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; "><a href="http://openmaniak.com/wireshark/wireshark_use_display_filter.png" target="_BLANK" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank"><img alt="wireshark display filter" src="http://openmaniak.com/wireshark/wireshark_use_display_filter_small.png" real_src="http://openmaniak.com/wireshark/wireshark_use_display_filter_small.png" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; "></a></td></tr></tbody></table>显示过滤器用于查找捕捉记录中的内容。<br>请不要将捕捉过滤器和显示过滤器的概念相混淆。请参考<a href="http://openmaniak.com/cn/wireshark_filters.php" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank">Wireshark过滤器</a>中的详细内容。<br><br><img src="http://openmaniak.com/image/up.gif" real_src="http://openmaniak.com/image/up.gif" alt="Wireshark图解教程(简介、抓包、过滤器)" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; ">&nbsp;<a href="http://openmaniak.com/cn/wireshark_use.php" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank">返回页面顶部</a><br><br><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "><br>4.&nbsp;<a name="packet-list" style="text-decoration: underline; color: rgb(0, 107, 119); ">PACKET LIST PANE(封包列表)<br><br></a></p><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; border-right-color: black; border-right-width: 1px; border-right-style: solid; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; "><a href="http://openmaniak.com/wireshark/wireshark_packet-list-pane.png" target="_BLANK" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank"><img alt="wireshark packet filter pane" src="http://openmaniak.com/wireshark/wireshark_packet-list-pane_small.png" real_src="http://openmaniak.com/wireshark/wireshark_packet-list-pane_small.png" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; "></a></td></tr></tbody></table><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; border-right-color: black; border-right-width: 1px; border-right-style: solid; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; "><a href="http://openmaniak.com/wireshark/wireshark_packet-list-pane2.png" target="_BLANK" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank"><img alt="wireshark packet filter pane" src="http://openmaniak.com/wireshark/wireshark_packet-list-pane2_small.png" real_src="http://openmaniak.com/wireshark/wireshark_packet-list-pane2_small.png" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; "></a></td></tr></tbody></table>封包列表中显示所有已经捕获的封包。在这里您可以看到发送或接收方的MAC/IP地址,TCP/UDP端口号,协议或者封包的内容。<br><br>如果捕获的是一个OSI layer 2的封包,您在Source(来源)和Destination(目的地)列中看到的将是MAC地址,当然,此时Port(端口)列将会为空。<br>如果捕获的是一个OSI layer 3或者更高层的封包,您在Source(来源)和Destination(目的地)列中看到的将是IP地址。Port(端口)列仅会在这个封包属于第4或者更高层时才会显示。<br><br>您可以在这里添加/删除列或者改变各列的颜色:<br>Edit menu -&gt; Preferences<br><br>5.&nbsp;<a name="packet-details" style="text-decoration: underline; color: rgb(0, 107, 119); ">PACKET DETAILS PANE(封包详细信息)<br><br></a><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; border-right-color: black; border-right-width: 1px; border-right-style: solid; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; "><a href="http://openmaniak.com/wireshark/wireshark_packet_details.png" target="_BLANK" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank"><img alt="wireshark packet filter pane" src="http://openmaniak.com/wireshark/wireshark_packet_details_small.png" real_src="http://openmaniak.com/wireshark/wireshark_packet_details_small.png" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; "></a></td></tr></tbody></table>这里显示的是在封包列表中被选中项目的详细信息。<br>信息按照不同的OSI layer进行了分组,您可以展开每个项目查看。下面截图中展开的是HTTP信息。<br><br><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; border-right-color: black; border-right-width: 1px; border-right-style: solid; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; "><a href="http://openmaniak.com/wireshark/wireshark_packet_details2.png" target="_BLANK" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank"><img alt="wireshark packet details pane" src="http://openmaniak.com/wireshark/wireshark_packet_details2_small.png" real_src="http://openmaniak.com/wireshark/wireshark_packet_details2_small.png" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; "></a></td></tr></tbody></table><br>6.&nbsp;<a name="dissector" style="text-decoration: underline; color: rgb(0, 107, 119); ">DISSECTOR PANE(16进制数据)<br><br></a><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; border-right-color: black; border-right-width: 1px; border-right-style: solid; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; "><a href="http://openmaniak.com/wireshark/wireshark_dissector_pane.png" target="_BLANK" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank"><img alt="wireshark packet dissector pane" src="http://openmaniak.com/wireshark/wireshark_dissector_pane_small.png" real_src="http://openmaniak.com/wireshark/wireshark_dissector_pane_small.png" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; "></a></td></tr></tbody></table>“解析器”在Wireshark中也被叫做“16进制数据查看面板”。这里显示的内容与“封包详细信息”中相同,只是改为以16进制的格式表述。<br>在上面的例子里,我们在“封包详细信息”中选择查看TCP端口(80),其对应的16进制数据将自动显示在下面的面板中(0050)。<br><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "><br>7.&nbsp;<a name="miscellanous" style="text-decoration: underline; color: rgb(0, 107, 119); ">MISCELLANOUS(杂项)<br><br></a></p><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; border-right-color: black; border-right-width: 1px; border-right-style: solid; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; "><a href="http://openmaniak.com/wireshark/wireshark_use_misc.png" target="_BLANK" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank"><img alt="wireshark miscellanous" src="http://openmaniak.com/wireshark/wireshark_use_misc_small.png" real_src="http://openmaniak.com/wireshark/wireshark_use_misc_small.png" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; "></a></td></tr></tbody></table>在程序的最下端,您可以获得如下信息:<br><br>- - 正在进行捕捉的网络设备。<br>- 捕捉是否已经开始或已经停止。<br>- 捕捉结果的保存位置。<br>- 已捕捉的数据量。<br>- 已捕捉封包的数量。(P)<br>- 显示的封包数量。(D) (经过显示过滤器过滤后仍然显示的封包)<br>- 被标记的封包数量。(M)<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; ">&nbsp;</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; ">&nbsp;</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; ">正如您在Wireshark教程第一部分看到的一样,安装、运行Wireshark并开始分析网络是非常简单的。<br><br>使用Wireshark时最常见的问题,是当您使用默认设置时,会得到大量冗余信息,以至于很难找到自己需要的部分。<br><i>过犹不及。</i><br><br>这就是为什么过滤器会如此重要。它们可以帮助我们在庞杂的结果中迅速找到我们需要的信息。<br><br></p><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">-<br>-</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">捕捉过滤器:用于决定将什么样的信息记录在捕捉结果中。需要在开始捕捉前设置。<br>显示过滤器:在捕捉结果中进行详细查找。他们可以在得到捕捉结果后随意修改。</td></tr></tbody></table>那么我应该使用哪一种过滤器呢?<br><br>两种过滤器的目的是不同的。<br>捕捉过滤器是数据经过的第一层过滤器,它用于控制捕捉数据的数量,以避免产生过大的日志文件。<br>显示过滤器是一种更为强大(复杂)的过滤器。它允许您在日志文件中迅速准确地找到所需要的记录。<br><br>两种过滤器使用的语法是完全不同的。我们将在接下来的几页中对它们进行介绍:<br><br><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1.&nbsp;<a href="http://openmaniak.com/cn/wireshark_filters.php#capture" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank">捕捉过滤器</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.&nbsp;<a href="http://openmaniak.com/cn/wireshark_filters.php#display" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank">显示过滤器</a><br><br></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "><br><a name="capture" style="text-decoration: underline; color: rgb(0, 107, 119); "><img src="http://openmaniak.com/image/carre.gif" real_src="http://openmaniak.com/image/carre.gif" alt="Wireshark图解教程(简介、抓包、过滤器)" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; ">&nbsp;1. 捕捉过滤器</a><br><br>捕捉过滤器的语法与其它使用Lipcap(Linux)或者Winpcap(Windows)库开发的软件一样,比如著名的<a href="http://openmaniak.com/tcpdump.php" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank">TCPdump</a>。捕捉过滤器必须在开始捕捉前设置完毕,这一点跟显示过滤器是不同的。<br><br>设置捕捉过滤器的步骤是:<br>- 选择 capture -&gt; options。<br>- 填写"capture filter"栏或者点击"capture filter"按钮为您的过滤器起一个名字并保存,以便在今后的捕捉中继续使用这个过滤器。<br>- 点击开始(Start)进行捕捉。<br><br><img alt="wireshark capture options" src="http://openmaniak.com/wireshark/wireshark_capture_options.gif" real_src="http://openmaniak.com/wireshark/wireshark_capture_options.gif" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; "><br><br><img alt="wireshark capture options" src="http://openmaniak.com/wireshark/wireshark_capture_options_2_small.gif" real_src="http://openmaniak.com/wireshark/wireshark_capture_options_2_small.gif" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; ">&nbsp;<br><br></p><table cellspacing="0" cellpadding="1" border="0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">语法:</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; border-right-color: black; border-right-width: 1px; border-right-style: solid; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; "><b>Protocol</b></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; border-right-color: black; border-right-width: 1px; border-right-style: solid; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; "><b>Direction</b></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; border-right-color: black; border-right-width: 1px; border-right-style: solid; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; "><b>Host(s)</b></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; border-right-color: black; border-right-width: 1px; border-right-style: solid; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; "><b>Value</b></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; border-right-color: black; border-right-width: 1px; border-right-style: solid; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; "><b>Logical Operations</b></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; border-right-color: black; border-right-width: 1px; border-right-style: solid; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; "><b>Other expression</b></td></tr><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">例子:</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">tcp</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">dst</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">10.1.1.1</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">80</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">and</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">tcp dst 10.2.2.2 3128</td></tr></tbody></table><img src="http://openmaniak.com/image/droite.gif" real_src="http://openmaniak.com/image/droite.gif" alt="Wireshark图解教程(简介、抓包、过滤器)" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; ">&nbsp;<b>Protocol(协议)</b>:<br>可能的值: ether, fddi, ip, arp, rarp, decnet, lat, sca, moprc, mopdl, tcp and udp.<br>如果没有特别指明是什么协议,则默认使用所有支持的协议。<br><br><img src="http://openmaniak.com/image/droite.gif" real_src="http://openmaniak.com/image/droite.gif" alt="Wireshark图解教程(简介、抓包、过滤器)" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; ">&nbsp;<b>Direction(方向)</b>:<br>可能的值: src, dst, src and dst, src or dst<br>如果没有特别指明来源或目的地,则默认使用 "src or dst" 作为关键字。<br>例如,"host 10.2.2.2"与"src or dst host 10.2.2.2"是一样的。<br br=""><img src="http://openmaniak.com/image/droite.gif" real_src="http://openmaniak.com/image/droite.gif" alt="Wireshark图解教程(简介、抓包、过滤器)" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; ">&nbsp;<b>Host(s)</b>:<br>可能的值: net, port, host, portrange.<br>如果没有指定此值,则默认使用"host"关键字。<br>例如,"src 10.1.1.1"与"src host 10.1.1.1"相同。<br><br><img src="http://openmaniak.com/image/droite.gif" real_src="http://openmaniak.com/image/droite.gif" alt="Wireshark图解教程(简介、抓包、过滤器)" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; ">&nbsp;<b>Logical Operations(逻辑运算)</b>:<br>可能的值:not, and, or.<br>否("not")具有最高的优先级。或("or")和与("and")具有相同的优先级,运算时从左至右进行。<br>例如,<br>"not tcp port 3128 and tcp port 23"与"(not tcp port 3128) and tcp port 23"相同。<br>"not tcp port 3128 and tcp port 23"与"not (tcp port 3128 and tcp port 23)"不同。<br><br><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "><br>例子:<br><br></p><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "><b>tcp dst port 3128</b></td></tr></tbody></table>显示目的TCP端口为3128的封包。<br><br><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "><b>ip src host 10.1.1.1</b></td></tr></tbody></table>显示来源IP地址为10.1.1.1的封包。<br><br><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "><b>host 10.1.2.3</b></td></tr></tbody></table>显示目的或来源IP地址为10.1.2.3的封包。<br><br><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "><b>src portrange 2000-2500</b></td></tr></tbody></table>显示来源为UDP或TCP,并且端口号在2000至2500范围内的封包。<br><br><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "><b>not imcp</b></td></tr></tbody></table>显示除了icmp以外的所有封包。(icmp通常被ping工具使用)<br><br><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "><b>src host 10.7.2.12 and not dst net 10.200.0.0/16</b></td></tr></tbody></table>显示来源IP地址为10.7.2.12,但目的地不是10.200.0.0/16的封包。<br><br><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "><b>(src host 10.4.1.12 or src net 10.6.0.0/16) and tcp dst portrange 200-10000 and dst net 10.0.0.0/8</b></td></tr></tbody></table>显示来源IP为10.4.1.12或者来源网络为10.6.0.0/16,目的地TCP端口号在200至10000之间,并且目的位于网络10.0.0.0/8内的所有封包。<br><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "><br>注意事项:<br><br>当使用关键字作为值时,需使用反斜杠“\”。<br>"ether proto \ip" (与关键字"ip"相同).<br>这样写将会以IP协议作为目标。<br><br>"ip proto \icmp" (与关键字"icmp"相同).<br>这样写将会以ping工具常用的icmp作为目标。<br><br>可以在"ip"或"ether"后面使用"multicast"及"broadcast"关键字。<br>当您想排除广播请求时,"no broadcast"就会非常有用。<br><br></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "><br>查看&nbsp;<a href="http://www.ethereal.com/docs/man-pages/tcpdump.8.html" target="_BLANK" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank">TCPdump的主页</a>以获得更详细的捕捉过滤器语法说明。<br>在<a href="http://wiki.wireshark.org/CaptureFilters" target="_BLANK" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank">Wiki Wireshark website</a>上可以找到更多捕捉过滤器的例子。<br><br><img src="http://openmaniak.com/image/carre.gif" real_src="http://openmaniak.com/image/carre.gif" alt="Wireshark图解教程(简介、抓包、过滤器)" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; ">&nbsp;2.&nbsp;<a name="display" style="text-decoration: underline; color: rgb(0, 107, 119); ">显示过滤器:</a><br><br>通常经过捕捉过滤器过滤后的数据还是很复杂。此时您可以使用显示过滤器进行更加细致的查找。<br>它的功能比捕捉过滤器更为强大,而且在您想修改过滤器条件时,并不需要重新捕捉一次。<br><br></p><table cellspacing="0" cellpadding="1" width="520" border="0" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">语法:</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; border-right-color: black; border-right-width: 1px; border-right-style: solid; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; "><b>Protocol</b></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "><b>.</b></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; border-right-color: black; border-right-width: 1px; border-right-style: solid; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; "><b>String 1</b></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "><b>.</b></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; border-right-color: black; border-right-width: 1px; border-right-style: solid; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; "><b>String 2</b></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; border-right-color: black; border-right-width: 1px; border-right-style: solid; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; "><b>Comparison<br>operator</b></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; border-right-color: black; border-right-width: 1px; border-right-style: solid; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; "><b>Value</b></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; border-right-color: black; border-right-width: 1px; border-right-style: solid; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; "><b>Logical<br>Operations</b></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; border-right-color: black; border-right-width: 1px; border-right-style: solid; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; "><b>Other<br>expression</b></td></tr><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">例子:</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">ftp</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">passive</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">ip</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">==</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">10.2.3.4</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">xor</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">icmp.type</td></tr></tbody></table><img src="http://openmaniak.com/image/droite.gif" real_src="http://openmaniak.com/image/droite.gif" alt="Wireshark图解教程(简介、抓包、过滤器)" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; ">&nbsp;<b>Protocol(协议)</b>:<br><br>您可以使用大量位于OSI模型第2至7层的协议。点击"Expression..."按钮后,您可以看到它们。<br>比如:IP,TCP,DNS,SSH<br><br><a href="http://openmaniak.com/wireshark/wireshark_._button.gif" target="_BLANK" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank"><img alt="wireshark filter ." src="http://openmaniak.com/wireshark/wireshark_._button_small.gif" real_src="http://openmaniak.com/wireshark/wireshark_._button_small.gif" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; ">&nbsp;</a><br><br><a href="http://openmaniak.com/wireshark/wireshark_display_filter_1.png" target="_BLANK" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank"><img alt="wireshark filter ." src="http://openmaniak.com/wireshark/wireshark_display_filter_1_small.png" real_src="http://openmaniak.com/wireshark/wireshark_display_filter_1_small.png" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; ">&nbsp;</a><br><br>您同样可以在如下所示位置找到所支持的协议:<br><br><img alt="wireshark supported protocols" src="http://openmaniak.com/wireshark/wireshark_supported_protocols.gif" real_src="http://openmaniak.com/wireshark/wireshark_supported_protocols.gif" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; ">&nbsp;<br><br><a href="http://openmaniak.com/wireshark/wireshark_supported_protocols_window.gif" target="_BLANK" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank"><img alt="wireshark supported protocols" src="http://openmaniak.com/wireshark/wireshark_supported_protocols_window_small.gif" real_src="http://openmaniak.com/wireshark/wireshark_supported_protocols_window_small.gif" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; ">&nbsp;</a><br><br>Wireshark的网站提供了对各种&nbsp;<a href="http://www.wireshark.org/docs/dfref/" target="_BLANK" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank">协议以及它们子类的说明</a>。<br><br><img src="http://openmaniak.com/image/droite.gif" real_src="http://openmaniak.com/image/droite.gif" alt="Wireshark图解教程(简介、抓包、过滤器)" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; ">&nbsp;<b>String1, String2</b>&nbsp;(可选项):<br><br>协议的子类。<br>点击相关父类旁的"+"号,然后选择其子类。<br><br><a href="http://openmaniak.com/wireshark/wireshark_display_filter_2.png" target="_BLANK" style="text-decoration: none; color: rgb(0, 107, 119); " target="_blank"><img alt="wireshark filter ." src="http://openmaniak.com/wireshark/wireshark_display_filter_2_small.png" real_src="http://openmaniak.com/wireshark/wireshark_display_filter_2_small.png" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; ">&nbsp;</a><br><br><img src="http://openmaniak.com/image/droite.gif" real_src="http://openmaniak.com/image/droite.gif" alt="Wireshark图解教程(简介、抓包、过滤器)" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; ">&nbsp;<b>Comparison operators (比较运算符)</b>:<br><br>可以使用6种比较运算符:<br><br><table cellspacing="0" cellpadding="1" border="1" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">英文写法:&nbsp;</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">C语言写法:&nbsp;</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">含义:</td></tr><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">eq&nbsp;</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">==&nbsp;</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">等于</td></tr><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">ne</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">!=</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">不等于</td></tr><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">gt</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">&gt;</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">大于</td></tr><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">lt</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">&lt;</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">小于</td></tr><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">ge</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">&gt;=</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">大于等于</td></tr><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">le</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">&lt;=</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">小于等于</td></tr></tbody></table><img src="http://openmaniak.com/image/droite.gif" real_src="http://openmaniak.com/image/droite.gif" alt="Wireshark图解教程(简介、抓包、过滤器)" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; ">&nbsp;<b>Logical expressions(逻辑运算符)</b>:<br><br><table cellspacing="0" cellpadding="1" border="1" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">英文写法:&nbsp;</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">C语言写法:&nbsp;</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">含义:</td></tr><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">and</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">&amp;&amp;</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">逻辑与</td></tr><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">or</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">||</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">逻辑或</td></tr><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">xor</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">^^</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">逻辑异或</td></tr><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">not</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">!</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">逻辑非</td></tr></tbody></table>被程序员们熟知的逻辑异或是一种排除性的或。当其被用在过滤器的两个条件之间时,只有当且仅当其中的一个条件满足时,这样的结果才会被显示在屏幕上。<br>让我们举个例子:<br>"tcp.dstport 80 xor tcp.dstport 1025"<br>只有当目的TCP端口为80或者来源于端口1025(但又不能同时满足这两点)时,这样的封包才会被显示。<br><br><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "><br>例子:<br><br></p><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "><b>snmp || dns || icmp</b></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">显示SNMP或DNS或ICMP封包。</td></tr></tbody></table><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "><b>ip.addr == 10.1.1.1</b></td></tr></tbody></table>显示来源或目的IP地址为10.1.1.1的封包。<br><br><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "><b>ip.src != 10.1.2.3 or ip.dst != 10.4.5.6</b></td></tr></tbody></table>显示来源不为10.1.2.3或者目的不为10.4.5.6的封包。<br>换句话说,显示的封包将会为:<br>来源IP:除了10.1.2.3以外任意;目的IP:任意<br>以及<br>来源IP:任意;目的IP:除了10.4.5.6以外任意<br><br><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "><b>ip.src != 10.1.2.3 and ip.dst != 10.4.5.6</b></td></tr></tbody></table>显示来源不为10.1.2.3并且目的IP不为10.4.5.6的封包。<br>换句话说,显示的封包将会为:<br>来源IP:除了10.1.2.3以外任意;同时须满足,目的IP:除了10.4.5.6以外任意<br><br><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "><b>tcp.port == 25</b></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">显示来源或目的TCP端口号为25的封包。</td></tr></tbody></table><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "><b>tcp.dstport == 25</b></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">显示目的TCP端口号为25的封包。</td></tr></tbody></table><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "><b>tcp.flags</b></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">显示包含TCP标志的封包。</td></tr></tbody></table><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "><b>tcp.flags.syn == 0x02</b></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">显示包含TCP SYN标志的封包。</td></tr></tbody></table>如果过滤器的语法是正确的,表达式的背景呈绿色。如果呈红色,说明表达式有误。<br><br><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; border-right-color: black; border-right-width: 1px; border-right-style: solid; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; "><img alt="wireshark display filter example" src="http://openmaniak.com/wireshark/wireshark_display_filter_green.gif" real_src="http://openmaniak.com/wireshark/wireshark_display_filter_green.gif" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; "></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">表达式正确</td></tr><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; border-right-color: black; border-right-width: 1px; border-right-style: solid; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; "><img alt="wireshark display filter example" src="http://openmaniak.com/wireshark/wireshark_display_filter_red.gif" real_src="http://openmaniak.com/wireshark/wireshark_display_filter_red.gif" title="Wireshark图解教程(简介、抓包、过滤器)" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; "></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; ">表达式错误<br><br></td></tr></tbody></table><table style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: normal; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; border-right-color: black; border-right-width: 1px; border-right-style: solid; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; "><br></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "><br></td></tr><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; border-right-color: black; border-right-width: 1px; border-right-style: solid; border-top-color: black; border-top-width: 1px; border-top-style: solid; border-left-color: black; border-left-width: 1px; border-left-style: solid; border-bottom-color: black; border-bottom-width: 1px; border-bottom-style: solid; "><br></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-size: 12px; font-family: Verdana, 宋体, sans-serif; line-height: 18px; "><br></td></tr></tbody></table></p></span>
页: [1]
查看完整版本: Wireshark图解教程(简介、抓包、过滤器)