Hello,
I'm actually testing an application under windows vista RC1. This
application uses a protocol driver bound to all ethernet adapters. One of
the the application job is to analyse packets coming from ethernet adapters.
To do this, i set the adapter filter options (
OID_GEN_CURRENT_PACKET_FILTER) to: NDIS_PACKET_TYPE_DIRECTED +
NDIS_PACKET_TYPE_BROADCAST+ NDIS_PACKET_TYPE_ALL_LOCAL . This works well
under Windows XP, then i tested under Windows Vista Beta 2, it was fine too.
But the tests under the last windows vista failed : i canot receive paquets
from the local adapters , only the paquets from other computers are received
by the application ( and so by the protocol driver). Are there some
specification changes in this new version ?

Thanks in advance,
Jose

Re: Protocol driver under Windows Vista RC1 by Stephan

Stephan
Wed Sep 13 10:05:11 CDT 2006

See

"NDIS Loopback Discussion"
http://www.ndis.com/papers/loopback.htm

Stephan
---
News microsoft wrote:
> Hello,
> I'm actually testing an application under windows vista RC1. This
> application uses a protocol driver bound to all ethernet adapters. One of
> the the application job is to analyse packets coming from ethernet adapters.
> To do this, i set the adapter filter options (
> OID_GEN_CURRENT_PACKET_FILTER) to: NDIS_PACKET_TYPE_DIRECTED +
> NDIS_PACKET_TYPE_BROADCAST+ NDIS_PACKET_TYPE_ALL_LOCAL . This works well
> under Windows XP, then i tested under Windows Vista Beta 2, it was fine too.
> But the tests under the last windows vista failed : i canot receive paquets
> from the local adapters , only the paquets from other computers are received
> by the application ( and so by the protocol driver). Are there some
> specification changes in this new version ?
>
> Thanks in advance,
> Jose


Re: Protocol driver under Windows Vista RC1 by JD

JD
Wed Sep 13 11:00:03 CDT 2006

Hello Stephan,
thank you for your answer.
I already know this article, my application has the same behaviour as
described in the chapter "Loopback Quirks" .According to the microsoft
citation :"If a network driver interface specification (NDIS) protocol
driver sends a packet down the networking stack that is self-directed (that
is, the media access control [MAC] destination address is directed at
itself), the behavior of other protocol drivers varies among versions of
Microsoft Windows".
and the microsoft article located at
http://support.microsoft.com/default.aspx?id=813542 advises to set the
NDIS_PACKET_TYPE_ALL_LOCAL flag to receive these packets types. So it's what
i did. As i already told in my previous topic, it works well on windows XP &
Vista Beta 2. But not on Vista RC1 !!
Maybe the microsoft guys will better know this behaviour and can give more
explanations ?
Jose

"Stephan Wolf [MVP]" <stewo68@hotmail.com> a écrit dans le message de news:
1158159911.679913.63310@i42g2000cwa.googlegroups.com...
> See
>
> "NDIS Loopback Discussion"
> http://www.ndis.com/papers/loopback.htm
>
> Stephan
> ---
> News microsoft wrote:
>> Hello,
>> I'm actually testing an application under windows vista RC1. This
>> application uses a protocol driver bound to all ethernet adapters. One of
>> the the application job is to analyse packets coming from ethernet
>> adapters.
>> To do this, i set the adapter filter options (
>> OID_GEN_CURRENT_PACKET_FILTER) to: NDIS_PACKET_TYPE_DIRECTED +
>> NDIS_PACKET_TYPE_BROADCAST+ NDIS_PACKET_TYPE_ALL_LOCAL . This works well
>> under Windows XP, then i tested under Windows Vista Beta 2, it was fine
>> too.
>> But the tests under the last windows vista failed : i canot receive
>> paquets
>> from the local adapters , only the paquets from other computers are
>> received
>> by the application ( and so by the protocol driver). Are there some
>> specification changes in this new version ?
>>
>> Thanks in advance,
>> Jose
>