使用wireshark常用的过滤命令
2015-02-03 23:37
239 查看
我们使用wireshark抓包,却不知道如何分析这些包,也无法从海量的包中提取自己需要的数据,下面简单介绍下wireshark的过滤规则。
wireshark
1
过滤源ip、目的ip。在wireshark的过滤规则框Filter中输入过滤条件。如查找目的地址为192.168.101.8的包,ip.dst==192.168.101.8;查找源地址为ip.src==1.1.1.1;
2
端口过滤。如过滤80端口,在Filter中输入,tcp.port==80,这条规则是把源端口和目的端口为80的都过滤出来。使用tcp.dstport==80只过滤目的端口为80的,tcp.srcport==80只过滤源端口为80的包;
3
协议过滤比较简单,直接在Filter框中直接输入协议名即可,如过滤HTTP的协议;
4
http模式过滤。如过滤get包,http.request.method=="GET",过滤post包,http.request.method=="POST";
5
连接符and的使用。过滤两种条件时,使用and连接,如过滤ip为192.168.101.8并且为http协议的,ip.src==192.168.101.8 and http。
工具/原料
wireshark
方法/步骤
1过滤源ip、目的ip。在wireshark的过滤规则框Filter中输入过滤条件。如查找目的地址为192.168.101.8的包,ip.dst==192.168.101.8;查找源地址为ip.src==1.1.1.1;
2
端口过滤。如过滤80端口,在Filter中输入,tcp.port==80,这条规则是把源端口和目的端口为80的都过滤出来。使用tcp.dstport==80只过滤目的端口为80的,tcp.srcport==80只过滤源端口为80的包;
3
协议过滤比较简单,直接在Filter框中直接输入协议名即可,如过滤HTTP的协议;
4
http模式过滤。如过滤get包,http.request.method=="GET",过滤post包,http.request.method=="POST";
5
连接符and的使用。过滤两种条件时,使用and连接,如过滤ip为192.168.101.8并且为http协议的,ip.src==192.168.101.8 and http。
相关文章推荐
- 使用wireshark常用的过滤命令
- 使用wireshark常用的过滤命令
- 使用wireshark常用的过滤命令
- 使用wireshark常用的过滤命令
- 使用wireshark常用的过滤命令
- (转)使用Wireshark常用的过滤命令
- 使用wireshark常用的过滤命令
- 使用wireshark常用的过滤命令
- 使用wireshark常用的过滤命令
- 使用wireshark常用的过滤命令
- 使用wireshark常用的过滤命令
- 使用wireshark常用的过滤命令
- wireshark常用的过滤命令
- wireshark常用过滤命令
- Wireshark常用过滤使用方法
- wireshark常用的过滤命令
- mac系统使用wireshark抓取无线网卡数据包以及常用过滤条件
- wireshark常用的过滤命令
- Linux 使用grep筛选多个条件及grep常用过滤命令
- wireshark 常用过滤命令