Wireshark过滤规则之:http数据包
2015-07-20 16:28
519 查看
http.host contains magentonotes.com
//过滤经过指定域名的http数据包,这里的host值不一定是请求中的域名
http.response.code==302
//过滤http响应状态码为302的数据包
http.response==1
//过滤所有的http响应包
http.request==1
//过滤所有的http请求,貌似也可以使用http.request
http.request.method==POST
//wireshark过滤所有请求方式为POST的http请求包,注意POST为大写
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
原创文章,转载请注明:转载自Web开发笔记 | Wireshark过滤规则之:http数据包
本文链接地址:http://www.magentonotes.com/wireshark-filter-http-packet.html
相关文章推荐
- 三种网络协议握手
- HttpServletRequest常用获取URL的方法
- 网络图片下载与缓存
- ASIHTTPRequest和ASINetworkQueue实现队列下载
- ATC, Facebook开源模拟网络环境的工具
- 网络信息安全
- TCP/IP编程·Server
- 高性能、高并发、高扩展性和可读性的网络服务器架构:StateThreads
- TCP/IP编程·Client
- Centos 7.x临时的网络与路由配置
- python利用requests框架 http请求
- HttpClient模拟登录手机版微博
- zigbee06要怎么设置网络形式?星状网状树形这些网络要怎么才能建立?需要哪些设置呢?
- 网络IO之阻塞、非阻塞、同步、异步总结
- Python系列------httplib2--安装
- http://sass-lang.com/documentation/Sass/Script/Functions.html
- 解决Ubuntu Server 12.04换了网卡MAC地址后 网络不可用的问题.
- BZOJ3997: [TJOI2015]组合数学(网络流)
- Java基础—网络编程
- asp.net 5 如何使用ioc 以及在如何获取httpcontext对象