阅读:1632回复:3
将截获的ip包更改后由另一张网卡发出去,但是却出问题了,来看看~~//------------------------------------------------ //根据转发类型,将网络封包转发出去。 // NdisSend(&Status, (type == TRANS_IN ? pGwAdapt : pNatAdapt)->BindingHandle, MyPacket); pGwAdapt - 为主机上的内网卡,具有私有网ip。 pNatAdapt - 为主机上的外网卡 ,直接连着internet,具有合法的公网ip 运行到这里后Windbg出现: DRIVER_IRQL_NOT_LESS_OR_EQUAL (d1) An attempt was made to access a pageable (or completely invalid) address at an interrupt request level (IRQL) that is too high. This is usually caused by drivers using improper addresses. 啥意思啊? |
|
沙发#
发布于:2009-07-13 17:51
顶起
|
|
板凳#
发布于:2009-07-14 14:13
执行路径上IRQL提升了!最好把dump文件分析内容粘贴全,方便大家帮你分析!
|
|
地板#
发布于:2009-07-19 18:45
自己搞定了,是在PtSendComplete下没有处理好内存释放问题导致的。
|
|