开启混扎模式,抓取所有经过网卡的流量,不开的话只抓取安全的正确的流量
基本过滤
#源IP过滤
ip.src == 192.168.1.1
#目的IP过滤
ip.dst == 192.168.1.1
#根据协议过滤
tcp/udp/arp/icmp/http/smtp/ftp/dns/ssl
#过滤端口
tcp.port == 80 or tcp.port == 443 or tcp.port == 8080
#过滤以太网mac地址
eth.dst == A0:00:00:04:C5:84
#udp目标端口大于udp源端口+1
udp.dstport >= udp.srcport + 1
#过滤http包含特定域名
http contains "baidu.com"
#过滤http post请求
http.request.method == "POST"
#过滤端口范围
tcp.port >= 1 and tcp.port <= 80