Data capturing blocked by sniffers

Hi All,

I have a Ndis Connectionless virtual miniport driver with different lower
edge.
The driver is bound with Ndis5_ip in upperrange and Ethernet in lowerrange.
Everything works fine with one application, say running ping from command
window.

But When running application like Ethereal(data capturing software), the
data in not
indicated to the command window.

Say I am running ping from command prompt where the Ethereal is capturing
the data from our adapter,
the ping reply is visible in the ethereal, not in the command prompt.
I want both applications to receive the data.

I have used NdisMIndicateReceivePacket where the packet is set to
NDIS_SET_PACKET_STATUS(NdisPacket, NDIS_STATUS_RESOURCES).

Please let me know your views on this issue.

Thanks in Advance,
Cyril

***************************************************************************
This message is proprietary to Future Software Limited (FSL)
and is intended solely for the use of the individual to whom it
is addressed. It may contain privileged or confidential information
and should not be circulated or used for any purpose other than for
what it is intended.

If you have received this message in error, please notify the
originator immediately. If you are not the intended recipient,
you are notified that you are strictly prohibited from using,
copying, altering, or disclosing the contents of this message.
FSL accepts no responsibility for loss or damage arising from
the use of the information transmitted by this email including
damage from virus.
***************************************************************************

“sagayac” wrote in message news:xxxxx@ntdev…
> Hi All,
>
> I have a Ndis Connectionless virtual miniport driver with different lower
> edge.
> The driver is bound with Ndis5_ip in upperrange and Ethernet in
> lowerrange.
> Everything works fine with one application, say running ping from command
> window.
>
> But When running application like Ethereal(data capturing software), the
> data in not
> indicated to the command window.
>
> Say I am running ping from command prompt where the Ethereal is capturing
> the data from our adapter,
> the ping reply is visible in the ethereal, not in the command prompt.
> I want both applications to receive the data.
>
> I have used NdisMIndicateReceivePacket where the packet is set to
> NDIS_SET_PACKET_STATUS(NdisPacket, NDIS_STATUS_RESOURCES).
>
> Please let me know your views on this issue.
>
> Thanks in Advance,
> Cyril
>
Probably the most useful too to investigate this issue would be the NDIS
Debug Extensions. Using the WinDbg and NdisKD.dll you should be able to get
an accurate view of the actual bindings when WinPCap/Ethereal is installed.
Read the DDK topic “NDIS Debug Extensions for Windows 2000 and Later” for
more information.

Good luck,

Thomas F. Divine, Windows DDK MVP
http://www.pcausa.com