To: winpcap
Sent: Tuesday, July 02, 2002 5:33
PM
Subject: [WinPcap-users] Winpcap not on
promiscuous mode
Hi,
I am using the latest version (2.3) of winpcap (the
low-level interface using packet.dll) and for some reason it refuses to read
packets unless I put
Remember that if you do not set
any hw filter with PacketSetHwFilter(), you won't receive any packet.
If you want to receive packets from/to your machine, then use
PacketSetHwFilter(lpAdapter,NDIS_PACKET_TYPE_ALL_LOCAL)
Oh. Ok. Let me see...
Yes. You are right. Replacing the call to
Hi,
I believe that you can get the hardware address
calling to PacketRequest with the
Oid: OID_802_3_CURRENT_ADDRESS. You can
Seethe documentation
about Windows NT DDK.
OID_802_3_PERMANENT_ADDRESS =
$01010101;
OID_802_3_CURRENT_ADDRESS
= $01010102;
OID_802_3_MULTICAST_LIST
=
Hi,
I am using the latest version (2.3) of winpcap (the low-level
interface using packet.dll) and for some reason it refuses to read packets
unless I put it into promisuous mode. Its a 100 mbps switched
network. I have tested it on both Windows 2000 Professional and Windows XP
Professional
You can use the GetAdaptersInfo() call to get the IP and MAC address of your
adapters.
Greetings
Carlos
- Original Message -
From: Rajasekharan. V
To: winpcap
Sent: Tuesday, July 02, 2002 5:33 PM
Subject: [WinPcap-users] Winpcap not on promiscuous mode
Hi,
I am using the latest
I believe that you can get the hardware
address calling to PacketRequest with the
Oid: OID_802_3_CURRENT_ADDRESS. You
can See the documentation
about Windows NT DDK.
Thanks a lot. It was a bit short-sighted of me not to
have seen that.
Thanks.
:)
--
Rajasekharan. V
You can use the GetAdaptersInfo() call to get
the IP and MAC address of your
adapters.
Yes, that's what I was planning to use. But Gustavo says
you can use PacketRequest to do it.
Thanks.
--
Rajasekharan. V
http://www.geocities.com/cool_ranju/
--