Hi,
I used passthru sample to intercept the set OID of
OID_GEN_CURRENT_PACKET_FILTER and use “*(ULONG *)info
|= NDIS_PACKET_TYPE_PROMISCUOUS;” to set the NICs to
promiscuous mode. The set returns success. However, I
could not see all packets. But my sniffer
program “ethereal” shows all packets that come into the
3COM NIC. I couldn’t see “other” direct packets from the
Linksys NIC. My driver is running in Windows 2000
Professional.
My questions are: can I set promiscuous mode in filter
driver? And does Linksys NIC support promicuous mode?
Thanks,
Minfeng Li
Hi,
I got the answer for the first question. I didn’t check
the ReceivePacketHandler where most packets coming from
the 3COM NIC.
I’m still try to find the answer for Linksys Wireless
NIC. Its W2k driver is a NDIS3 driver that only
indicates packet through ReceiveHandler.
Thanks,
Minfeng Li
Hi,
I used passthru sample to intercept the set OID of
OID_GEN_CURRENT_PACKET_FILTER and use “*(ULONG *)info
|= NDIS_PACKET_TYPE_PROMISCUOUS;” to set the NICs to
promiscuous mode. The set returns success. However, I
could not see all packets. But my sniffer
program “ethereal” shows all packets that come into the
3COM NIC. I couldn’t see “other” direct packets from the
Linksys NIC. My driver is running in Windows 2000
Professional.
My questions are: can I set promiscuous mode in filter
driver? And does Linksys NIC support promicuous mode?
Thanks,
Minfeng Li
You are currently subscribed to ntdev as: xxxxx@attbi.com
To unsubscribe send a blank email to %%email.unsub%%
For wireless, try NDIS packet filter of NDIS_PACKET_TYPE_ALL_LOCAL for
wireless...
Good luck,
Thomas F. Divine
PCAUSA - Tools & Resources For Network Software Developers
NDIS Protocol/Intermediate/Hooking - TDI Client/Filter
http: - http:
wrote in message news:xxxxx@ntdev...
>
> Hi,
>
> I got the answer for the first question. I didn't check
> the ReceivePacketHandler where most packets coming from
> the 3COM NIC.
>
> I'm still try to find the answer for Linksys Wireless
> NIC. Its W2k driver is a NDIS3 driver that only
> indicates packet through ReceiveHandler.
>
> Thanks,
> Minfeng Li
> > Hi,
> >
> > I used passthru sample to intercept the set OID of
> > OID_GEN_CURRENT_PACKET_FILTER and use "*(ULONG *)info
> > |= NDIS_PACKET_TYPE_PROMISCUOUS;" to set the NICs to
> > promiscuous mode. The set returns success. However, I
> > could not see all packets. But my sniffer
> > program "ethereal" shows all packets that come into the
> > 3COM NIC. I couldn't see "other" direct packets from the
> > Linksys NIC. My driver is running in Windows 2000
> > Professional.
> >
> > My questions are: can I set promiscuous mode in filter
> > driver? And does Linksys NIC support promicuous mode?
> >
> > Thanks,
> > Minfeng Li
> >
> > ---
> > You are currently subscribed to ntdev as: xxxxx@attbi.com
> > To unsubscribe send a blank email to %%email.unsub%%
>
></http:></http:>