1. 程式人生 > >Wireshark網路抓包表示式規則(二)

Wireshark網路抓包表示式規則(二)

tcp或者udp協議按埠抓包  tcp.port == 80或者udp.port == 80

tcp或者udp按照源埠或者目的埠抓包 

UDP:udp.srcport == 80 udp.dstport == 80

TCP:tcp.srcport == 80 tcp.dstport == 80

邏輯運算與或的使用

運算子與 :&&

運算子或:||

下圖例子為擷取tcp報文且報文源埠為80

其他常用待整理