摘要: 为使开发者在操作系统内核模式下处理网络数据,Windows网络驱动程序接口规范(NDIS)提供了标准的开发接口。以NDIS中间层驱动程序为基础,能有效实现个人防火墙(PFW)和VPN等应用。综合网络驱动程序的特点及Windows驱动程序的开发规则,该文给出了一个方案,应用该方案能拦截网络数据包、根据应用策略处理数据、转发数据包。实际的测试结果显示,该方案能高效地处理网络数据。
关键词:
网络驱动器接口规范,
内核线程,
中断请求级
Abstract: Windows NDIS defines a standard interface for developers trying to process network data in kernel mode. Some applications, such as personal fire wall, VPN etc., can be realized with NDIS intermediate driver. Based on the nature of network driver and specification of developing Windows driver, this paper gives a intermediate driver project that capture, process and transmits network data. The test result displays that this intermediate driver process network data efficiently.
中图分类号:
郭兴阳,高峰,唐朝京. 一种NDIS中间层数据包过滤方法[J]. , 2004, 30(17): 106-.
GUO Xingyang, GAO Feng, TANG Chaojing. A Method for Packet Filtering in NDIS Intermediate Driver[J]. , 2004, 30(17): 106-.