wfp例子inspect说明

Inspect.sys示例驱动展示了Windows Filtering Platform的流量检查能力,拦截TCP、UDP、ICMP等传输层流量,并将其发送到worker thread进行带外处理。该驱动还处理ALE连接、接收接受和传输调用,适用于需要在用户模式应用中完成过滤决策的场景。

inspect
WFP流量检查例子
这个例子驱动展示了WFP的流量检查能力。
这个例子驱动拦截所有发出和从一个可配置的远程peer接收到的传输层流量(例如TCP、UDP、noerror ICMP),并把它们queue到一个worker thread以进行out-of-band处理。
inspect.sys检查inbound和outbound连接,以及所有属于这些连接的packets。此外,inspect.sys展示了IPSec兼容性的特别考虑。
Inspect.sys为ALE Connect, Recv-Accept, and Transport callouts实现了ClassifyFn callout函数。此外,执行实际packet检查的系统worker thread,也是以事件机制实现(在classify函数和worker thread间共享)。
系统worker thread用reference-drop-clone-reinject机制和ALE pend/complete机制,来在带外完成Connect/Packet检查。这样,对那些过滤决策无法在’classifyFn()’ callout内完成,而需要在user-mode程序内完成的场景,这个例子提供了很好的基础。

原文如下:

Windows Filtering Platform Traffic Inspection Sample

This sample driver demonstrates the traffic inspection capabilities of the Windows Filtering Platform (WFP).

The sample driver consists of a kernel-mode Windows Filtering Platform (WFP) callout driver (Inspect.sys) that intercepts all transport layer

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值