Netexpert FAQ 网络分析专家学习建议入口 @netexpert成员申请指南
netexpert积分规则的说明 Netis招贤纳士(2008年11月22日更新)
发新话题
打印

请教一下winpcap中filter设置问题

请教一下winpcap中filter设置问题

想问问能通过设置filter直接过滤出RTP包吗?
我现在只想截获RTP包
大家都是通过什么方法来实现的
谢谢

TOP

试一试 ip proto rtp

下面是winpcap的帮助文档中提到的
ip proto protocol
True if the packet is an IP packet (see ip(4P)) of protocol type protocol. Protocol can be a number or one of the names icmp, icmp6, igmp, igrp, pim, ah, esp, vrrp, udp, or tcp. Note that the identifiers tcp, udp, and icmp are also keywords and must be escaped via backslash (\), which is \\ in the C-shell. Note that this primitive does not chase the protocol header chain.

TOP

楼上的朋友
这个也不行的哦
能直接通过协议来过滤的协议类型有限制
只能是下面几种:
ether, fddi, tr, ip, ip6, arp, rarp, decnet, tcp ,udp
还有别的什么办法么

TOP

发新话题
版块跳转