Hi,

I have developed an IM NDIS driver.
There are 3 types of filter classes failover, loadbalance and scheduler.

Is it possible to make new custom filter class. which resides above from
scheduler class?

Please tell me how can I do it?

--
With regards
thanks
Anand Choubey

Re: NDIS IM Driver and Custom Filter Class by Gianluca

Gianluca
Mon Feb 04 11:44:02 CST 2008

"Anand Choubey" <AnandChoubey@discussions.microsoft.com> wrote in message
news:4950D064-E736-4BA0-AC40-5298D1DB5BE8@microsoft.com...
> Hi,
>
> I have developed an IM NDIS driver.
> There are 3 types of filter classes failover, loadbalance and scheduler.
>
> Is it possible to make new custom filter class. which resides above from
> scheduler class?


Yes. This KB explains how to do that.

http://support.microsoft.com/kb/250615

you can modify that registry hive beofre installing your IM to specify where
your IM should be installed.

Hope it helps
GV


--
Gianluca Varenni, Windows DDK MVP

CACE Technologies
http://www.cacetech.com

>
> Please tell me how can I do it?
>
> --
> With regards
> thanks
> Anand Choubey



Re: NDIS IM Driver and Custom Filter Class by Angie

Angie
Mon Feb 04 13:29:04 CST 2008

I have a question about this KB.
If there are two different classes say, myfilter and yourfilter in the
system,
which IM will be installed netxt to the NDIS miniport driver?



"Gianluca Varenni" <gianluca.varenni@community.nospam> wrote in message
news:eb93NW1ZIHA.2000@TK2MSFTNGP05.phx.gbl...
> "Anand Choubey" <AnandChoubey@discussions.microsoft.com> wrote in message
> news:4950D064-E736-4BA0-AC40-5298D1DB5BE8@microsoft.com...
>> Hi,
>>
>> I have developed an IM NDIS driver.
>> There are 3 types of filter classes failover, loadbalance and scheduler.
>>
>> Is it possible to make new custom filter class. which resides above from
>> scheduler class?
>
>
> Yes. This KB explains how to do that.
>
> http://support.microsoft.com/kb/250615
>
> you can modify that registry hive beofre installing your IM to specify
> where your IM should be installed.
>
> Hope it helps
> GV
>
>
> --
> Gianluca Varenni, Windows DDK MVP
>
> CACE Technologies
> http://www.cacetech.com
>
>>
>> Please tell me how can I do it?
>>
>> --
>> With regards
>> thanks
>> Anand Choubey
>
>



Re: NDIS IM Driver and Custom Filter Class by Gianluca

Gianluca
Mon Feb 04 18:24:35 CST 2008

It depends on the order in which "yourfilter" and "myfilter" are written in
that registry key.
The last item in that registry key is the IM driver that binds to the
miniport.

This is the usual problem with IM binding: you can force your IM to bind to
the miniport by modifying that registry key before installing your IM. But
if a second IM gets installed after yours and it uses a custom filter class
too, your IM won't be bound directly to the miniport any more.

Hope it helps
GV

--
Gianluca Varenni, Windows DDK MVP

CACE Technologies
http://www.cacetech.com



"Angie" <kimojolin@yahoo.com> wrote in message
news:OE5E0Q2ZIHA.1204@TK2MSFTNGP03.phx.gbl...
>I have a question about this KB.
> If there are two different classes say, myfilter and yourfilter in the
> system,
> which IM will be installed netxt to the NDIS miniport driver?
>
>
>
> "Gianluca Varenni" <gianluca.varenni@community.nospam> wrote in message
> news:eb93NW1ZIHA.2000@TK2MSFTNGP05.phx.gbl...
>> "Anand Choubey" <AnandChoubey@discussions.microsoft.com> wrote in message
>> news:4950D064-E736-4BA0-AC40-5298D1DB5BE8@microsoft.com...
>>> Hi,
>>>
>>> I have developed an IM NDIS driver.
>>> There are 3 types of filter classes failover, loadbalance and scheduler.
>>>
>>> Is it possible to make new custom filter class. which resides above from
>>> scheduler class?
>>
>>
>> Yes. This KB explains how to do that.
>>
>> http://support.microsoft.com/kb/250615
>>
>> you can modify that registry hive beofre installing your IM to specify
>> where your IM should be installed.
>>
>> Hope it helps
>> GV
>>
>>
>> --
>> Gianluca Varenni, Windows DDK MVP
>>
>> CACE Technologies
>> http://www.cacetech.com
>>
>>>
>>> Please tell me how can I do it?
>>>
>>> --
>>> With regards
>>> thanks
>>> Anand Choubey
>>
>>
>
>



Re: NDIS IM Driver and Custom Filter Class by Angie

Angie
Mon Feb 04 18:54:13 CST 2008

Thanks. Can we write a notify object to control the binding order during the
run-time?

"Gianluca Varenni" <gianluca.varenni@community.nospam> wrote in message
news:ODHYC24ZIHA.600@TK2MSFTNGP02.phx.gbl...
> It depends on the order in which "yourfilter" and "myfilter" are written
> in that registry key.
> The last item in that registry key is the IM driver that binds to the
> miniport.
>
> This is the usual problem with IM binding: you can force your IM to bind
> to the miniport by modifying that registry key before installing your IM.
> But if a second IM gets installed after yours and it uses a custom filter
> class too, your IM won't be bound directly to the miniport any more.
>
> Hope it helps
> GV
>
> --
> Gianluca Varenni, Windows DDK MVP
>
> CACE Technologies
> http://www.cacetech.com
>
>
>
> "Angie" <kimojolin@yahoo.com> wrote in message
> news:OE5E0Q2ZIHA.1204@TK2MSFTNGP03.phx.gbl...
>>I have a question about this KB.
>> If there are two different classes say, myfilter and yourfilter in the
>> system,
>> which IM will be installed netxt to the NDIS miniport driver?
>>
>>
>>
>> "Gianluca Varenni" <gianluca.varenni@community.nospam> wrote in message
>> news:eb93NW1ZIHA.2000@TK2MSFTNGP05.phx.gbl...
>>> "Anand Choubey" <AnandChoubey@discussions.microsoft.com> wrote in
>>> message news:4950D064-E736-4BA0-AC40-5298D1DB5BE8@microsoft.com...
>>>> Hi,
>>>>
>>>> I have developed an IM NDIS driver.
>>>> There are 3 types of filter classes failover, loadbalance and
>>>> scheduler.
>>>>
>>>> Is it possible to make new custom filter class. which resides above
>>>> from
>>>> scheduler class?
>>>
>>>
>>> Yes. This KB explains how to do that.
>>>
>>> http://support.microsoft.com/kb/250615
>>>
>>> you can modify that registry hive beofre installing your IM to specify
>>> where your IM should be installed.
>>>
>>> Hope it helps
>>> GV
>>>
>>>
>>> --
>>> Gianluca Varenni, Windows DDK MVP
>>>
>>> CACE Technologies
>>> http://www.cacetech.com
>>>
>>>>
>>>> Please tell me how can I do it?
>>>>
>>>> --
>>>> With regards
>>>> thanks
>>>> Anand Choubey
>>>
>>>
>>
>>
>
>



Re: NDIS IM Driver and Custom Filter Class by AnandChoubey

AnandChoubey
Tue Feb 05 01:39:01 CST 2008

Hi,

Thanks for reply.

This KB is very helpful for me.

But two more questions come up in my mind after reading this KB.

KB tells that you should add your custom class at
HKLM\System\CurrentControlSet\Control\Network: FilterClasses .

But there are lots of FilterClasses in different places.
example: HKLM\system\controlset002\control\network (In my XP SP2).

Please tell me what is purpose of all filterclasses?

How should I modify filterclass values ?
Should I write a script which modifies value or there is any special way to
modify e.g. by INF?
Which path filterclass value should be modified?

--
With regards
thanks
Anand Choubey


"Gianluca Varenni" wrote:

> "Anand Choubey" <AnandChoubey@discussions.microsoft.com> wrote in message
> news:4950D064-E736-4BA0-AC40-5298D1DB5BE8@microsoft.com...
> > Hi,
> >
> > I have developed an IM NDIS driver.
> > There are 3 types of filter classes failover, loadbalance and scheduler.
> >
> > Is it possible to make new custom filter class. which resides above from
> > scheduler class?
>
>
> Yes. This KB explains how to do that.
>
> http://support.microsoft.com/kb/250615
>
> you can modify that registry hive beofre installing your IM to specify where
> your IM should be installed.
>
> Hope it helps
> GV
>
>
> --
> Gianluca Varenni, Windows DDK MVP
>
> CACE Technologies
> http://www.cacetech.com
>
> >
> > Please tell me how can I do it?
> >
> > --
> > With regards
> > thanks
> > Anand Choubey
>
>
>

Re: NDIS IM Driver and Custom Filter Class by Gianluca

Gianluca
Wed Feb 06 11:44:08 CST 2008


"Anand Choubey" <AnandChoubey@discussions.microsoft.com> wrote in message
news:1E7CAC70-B70C-4011-B32C-B4B71D082515@microsoft.com...
> Hi,
>
> Thanks for reply.
>
> This KB is very helpful for me.
>
> But two more questions come up in my mind after reading this KB.
>
> KB tells that you should add your custom class at
> HKLM\System\CurrentControlSet\Control\Network: FilterClasses .
>
> But there are lots of FilterClasses in different places.
> example: HKLM\system\controlset002\control\network (In my XP SP2).
>
> Please tell me what is purpose of all filterclasses?

HKLM\System\CurrentControlSet is actually just a symlink to one of the two
ControlSets in HKLM\System\ (sometimes ControlSet001 and ControlSet002). The
OS creates the symlink at boot time. Windows uses two copies of the
ControlSet hive to implement the "Last known good" configuration at boot
time. You always need to modify the keys under CurrentControlSet and ignore
the other ones.

>
> How should I modify filterclass values ?
> Should I write a script which modifies value or there is any special way
> to
> modify e.g. by INF?

I've never tried myself using an INF file (I don't know if the reg
directives in an INF file allow you to append a string to an existing key
registry).

I would probably use a small script in my installer that runs before I
actually install the IM.

> Which path filterclass value should be modified?

HKLM\system\Currentcontrolset\control\network

Have a nice day
GV

--
Gianluca Varenni, Windows DDK MVP

CACE Technologies
http://www.cacetech.com


>
> --
> With regards
> thanks
> Anand Choubey
>
>
> "Gianluca Varenni" wrote:
>
>> "Anand Choubey" <AnandChoubey@discussions.microsoft.com> wrote in message
>> news:4950D064-E736-4BA0-AC40-5298D1DB5BE8@microsoft.com...
>> > Hi,
>> >
>> > I have developed an IM NDIS driver.
>> > There are 3 types of filter classes failover, loadbalance and
>> > scheduler.
>> >
>> > Is it possible to make new custom filter class. which resides above
>> > from
>> > scheduler class?
>>
>>
>> Yes. This KB explains how to do that.
>>
>> http://support.microsoft.com/kb/250615
>>
>> you can modify that registry hive beofre installing your IM to specify
>> where
>> your IM should be installed.
>>
>> Hope it helps
>> GV
>>
>>
>> --
>> Gianluca Varenni, Windows DDK MVP
>>
>> CACE Technologies
>> http://www.cacetech.com
>>
>> >
>> > Please tell me how can I do it?
>> >
>> > --
>> > With regards
>> > thanks
>> > Anand Choubey
>>
>>
>>



Re: NDIS IM Driver and Custom Filter Class by AnandChoubey

AnandChoubey
Wed Feb 06 23:31:00 CST 2008

Hi,

Thanks a lot for giving me precious time and suggestion.
--
With regards
thanks
Anand Choubey


"Gianluca Varenni" wrote:

>
> "Anand Choubey" <AnandChoubey@discussions.microsoft.com> wrote in message
> news:1E7CAC70-B70C-4011-B32C-B4B71D082515@microsoft.com...
> > Hi,
> >
> > Thanks for reply.
> >
> > This KB is very helpful for me.
> >
> > But two more questions come up in my mind after reading this KB.
> >
> > KB tells that you should add your custom class at
> > HKLM\System\CurrentControlSet\Control\Network: FilterClasses .
> >
> > But there are lots of FilterClasses in different places.
> > example: HKLM\system\controlset002\control\network (In my XP SP2).
> >
> > Please tell me what is purpose of all filterclasses?
>
> HKLM\System\CurrentControlSet is actually just a symlink to one of the two
> ControlSets in HKLM\System\ (sometimes ControlSet001 and ControlSet002). The
> OS creates the symlink at boot time. Windows uses two copies of the
> ControlSet hive to implement the "Last known good" configuration at boot
> time. You always need to modify the keys under CurrentControlSet and ignore
> the other ones.
>
> >
> > How should I modify filterclass values ?
> > Should I write a script which modifies value or there is any special way
> > to
> > modify e.g. by INF?
>
> I've never tried myself using an INF file (I don't know if the reg
> directives in an INF file allow you to append a string to an existing key
> registry).
>
> I would probably use a small script in my installer that runs before I
> actually install the IM.
>
> > Which path filterclass value should be modified?
>
> HKLM\system\Currentcontrolset\control\network
>
> Have a nice day
> GV
>
> --
> Gianluca Varenni, Windows DDK MVP
>
> CACE Technologies
> http://www.cacetech.com
>
>
> >
> > --
> > With regards
> > thanks
> > Anand Choubey
> >
> >
> > "Gianluca Varenni" wrote:
> >
> >> "Anand Choubey" <AnandChoubey@discussions.microsoft.com> wrote in message
> >> news:4950D064-E736-4BA0-AC40-5298D1DB5BE8@microsoft.com...
> >> > Hi,
> >> >
> >> > I have developed an IM NDIS driver.
> >> > There are 3 types of filter classes failover, loadbalance and
> >> > scheduler.
> >> >
> >> > Is it possible to make new custom filter class. which resides above
> >> > from
> >> > scheduler class?
> >>
> >>
> >> Yes. This KB explains how to do that.
> >>
> >> http://support.microsoft.com/kb/250615
> >>
> >> you can modify that registry hive beofre installing your IM to specify
> >> where
> >> your IM should be installed.
> >>
> >> Hope it helps
> >> GV
> >>
> >>
> >> --
> >> Gianluca Varenni, Windows DDK MVP
> >>
> >> CACE Technologies
> >> http://www.cacetech.com
> >>
> >> >
> >> > Please tell me how can I do it?
> >> >
> >> > --
> >> > With regards
> >> > thanks
> >> > Anand Choubey
> >>
> >>
> >>
>
>
>