捕获数据包或仅显示捕获的数据包的副本 [英] Captures Packets Or Just Showing A Copy Of Captured Packet

查看:95
本文介绍了捕获数据包或仅显示捕获的数据包的副本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此链接中的代码示例实际上是捕获数据包还是仅显示数据包的副本.我想丢弃选定的数据包.有人知道该怎么做吗?
谢谢
DS

http://www.codeproject.com/KB/winsdk/Sniffer.aspx

Is the code example from this link actually capturing the packet or just showing a copy of the packet. I want to drop a selected packet. Anyone know how to do this?
Thanks
DS

http://www.codeproject.com/KB/winsdk/Sniffer.aspx

推荐答案

问这个问题的适当位置应该在底部的论坛中该文章的内容.

但是,嗅探器只会向您显示数据的副本.他们不会停止看到的数据.

您要尝试自己过滤数据,您必须编写代理服务器,或者,如果要支持Windows XP,则编写NDIS驱动程序以插入到网络堆栈中以进行过滤.如果您只想支持Vista及更高版本,则可以使用 Windows筛选平台 [ ^ ]进行此操作.
The appropriate place to ask this question would have been in the forum at the bottom of that article.

But, sniffers only show you a copy of the data. They do not stop the data they see.

It''s you''re trying to filter data yourself, you''ll have to either write a proxy server or, if you want to support Windows XP, write an NDIS driver to insert into the network stack to do the filtering. If you only want to support Vista and above, you can write use the Windows Filtering Platform[^] to do this.


这篇关于捕获数据包或仅显示捕获的数据包的副本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆