wireshark最最最最最最常用过滤规则
风华是一指流砂,苍老是一段年华。
&& || and or连接符 自由组合!
ip.src eq 1.1.1.1
//过滤来源ip (过滤mac ip->eth)
ip.dst eq 1.1.1.1
//过滤目的ip
ip.addr==1.1.1.1
//过滤ip
tcp(udp).port(dstport,srcport)== 80
//过滤端口
http/ftp/telnet/ssh/dns/bootp(dhcp) 等等
//过滤协议 排除的话 前面+!
http.request.method==POST
//过滤http请求方法
http.host contains 1.1.1.1
//过滤域名/ip
http.server
//过滤存在server数据包
http.server contains nginx
//过滤server为nginx数据包
http.content_type == "text/html"
//过滤content_type是text/html的数据包 常见:上传数据application/x-www-form-urlencoded/multipart/form-data ,application/json,text/xml,application/octet-stream : 二进制流数据(如常见的文件下载)
http.response.code==200
//过滤http状态码
http.response.phrase == "OK"
//过滤返回ok数据包
http.cookie contains 123
//过滤cookie含有123的http数据包
http.request.uri contains admin
//过滤uri包含admin数据包
- 余生很长,请多指教。
