wireshark如何过滤 http数据包

http.host==magentonotes.comhtml

http.host contains magentonotes.comnginx

//过滤通过指定域名的http数据包,这里的host值不必定是请求中的域名cookie

http.response.code==302 //过滤http响应状态码为302的数据包post

http.response==1 //过滤全部的http响应包ui

http.request==1 //过滤全部的http请求,貌似也能够使用http.requesturl

http.request.method==POSTcode

//server

wiresharkhtm

过滤全部请求方式为POST的http请求包,注意POST为大写ip

http.cookie contains guid //过滤含有指定cookie的http数据包

http.request.uri==”/online/setpoint” //过滤请求的uri,取值是域名后的部分

http.request.full_uri==” http://task.browser.360.cn/online/setpoint” //过滤含域名的整个url则须要使用http.request.full_uri

http.server contains “nginx” //过滤http头中server字段含有nginx字符的数据包

http.content_type == “text/html” //过滤content_type是text/html的http响应、post包,即根据文件类型过滤http数据包

http.content_encoding == “gzip” //过滤content_encoding是gzip的http包

http.transfer_encoding == “chunked” //根据transfer_encoding过滤

http.content_length == 279

http.content_length_header == “279″

//根据content_length的数值过滤

http.server //过滤全部含有http头中含有server字段的数据包

http.request.version == “

HTTP

/1.1″

 

//过滤

HTTP

/1.1版本的http包,包括请求和响应

http.response.phrase == “OK” //过滤http响应中的phrase

相关文章
相关标签/搜索