IP Filter Driver Problem

I am attempting a IP Filter hook driver on Win2000.
I am not getting a pointer to the existing filter driver
by calling appropriate fn. (something like GetDeviceObjectPtr(…)).
I also tested a sample code downloaded from OSR and debugged it with
Softice. But the above fn. call does not return SUCCESS code.
Can anybody hint me as to what could be the problem?

> I am attempting a IP Filter hook driver on Win2000.

I am not getting a pointer to the existing filter driver
by calling appropriate fn. (something like GetDeviceObjectPtr(…)).
I also tested a sample code downloaded from OSR and debugged it with
Softice. But the above fn. call does not return SUCCESS code.
Can anybody hint me as to what could be the problem?

I suppose you don’t have “ipfilterdriver” service started. For debug
purposes you can do it manually by:

net start ipfilterdriver

Vlad

The sample on my website (www.hollistech.com) is known to work with
windows 2000. As far as I know it works with XP as well.

===========================
Mark Roddy
Consultant, Microsoft DDK MVP
Hollis Technology Solutions
xxxxx@hollistech.com
www.hollistech.com
603-321-1032

-----Original Message-----
From: “Makarand”
To: “NT Developers Interest List”
Date: Mon, 26 Aug 2002 03:11:45 -0400
Subject: [ntdev] IP Filter Driver Problem

> I am attempting a IP Filter hook driver on Win2000.
> I am not getting a pointer to the existing filter driver
> by calling appropriate fn. (something like GetDeviceObjectPtr(…)).
> I also tested a sample code downloaded from OSR and debugged it with
> Softice. But the above fn. call does not return SUCCESS code.
> Can anybody hint me as to what could be the problem?
>
> —
> You are currently subscribed to ntdev as: xxxxx@hollistech.com
> To unsubscribe send a blank email to %%email.unsub%%