启动Wireshark,然后点击按钮List the available capture interefaces...,
Wireshark会检测计算机的所有网卡,然后根据ip地址确定你要抓包的网卡,点击start按钮,Wireshark
会为你抓取此网卡的所有数据包。在Filter中您可以输入如下过滤条件进行数据包过滤。
Filter:
tcp.port==9010
ip.src==10.22.4.42
ip.src == 10.22.4.93 and ip.dst == 10.22.4.94
(ip.addr eq 10.22.4.42 and ip.addr eq 10.22.4.41) and (tcp.port eq 9010 and tcp.port eq 1578)
(ip.addr eq 10.22.4.41 and ip.addr eq 10.22.4.42) and (tcp.port eq 1578 and tcp.port eq 9010)
(ip.addr eq 10.22.4.42 and ip.addr eq 10.22.4.93) and (tcp.port eq 9010 and tcp.port eq 2097)
(ip.addr eq 10.22.4.93 and ip.addr eq 10.22.4.94) and (tcp.port eq 2348 and tcp.port eq 9000)