[Winpcap-users] why WinPcap is not capturing packets form
mywireless PC card - Thanks Gianluca
vimal raj
vimal.raj at cranessoftware.com
Tue Jun 27 13:43:59 GMT 2006
Hi GV,
Thanks GV, I followed your instructions and it worked.
In WinPcap documentation it is given that the #define
PCAP_OPENFLAG_PROMISCUOUS of
<http://winpcap.mirror.ethereal.com/301a/docs/remote-ext_8h-source.html>
remote-ext.h is deciding our device should be in promiscuous mode or not.
But in my application in pcap_open_live () when I gave 0 and DISABLED
PROMISCOUS MODE, my program run and I got output.
Your reply says that while using WinPcap our application should disable
promiscuous mode. But most network sniffers work in promiscuous mode only.
So I am confused with this. Please clarify
Thanks in advance,
vimal
_____
From: winpcap-users-bounces at winpcap.org
[mailto:winpcap-users-bounces at winpcap.org] On Behalf Of Gianluca Varenni
Sent: Monday, June 26, 2006 9:00 PM
To: winpcap-users at winpcap.org
Subject: Re: [Winpcap-users] why WinPcap is not capturing packets
formywireless PC card
As explained on this FAQ
http://www.winpcap.org/misc/faq.htm#Q-16
due to the limits of the Windows OS, you can have problems capturing from
Wireless adapters: some of them don't work at all, some of them work only if
promiscuous mode is disabled.
Have a nice day
GV
----- Original Message -----
From: vimal <mailto:vimal.raj at cranessoftware.com> raj
To: winpcap-users at winpcap.org
Sent: Monday, June 26, 2006 2:43 AM
Subject: [Winpcap-users] why WinPcap is not capturing packets for mywireless
PC card
Hi,
I tried to capture wireless packets using the basic_dump example. I could
capture Ethernet packet. Even though it is detecting my wireless driver it
is not displaying any result.
I got this result when I tried with a NETGEAR WAG511 PC card.
1. \Device\NPF_GenericDialupAdapter (Generic dialup adapter)
2. \Device\NPF_{71FFDFA2-557E-48C7-AE0E-F7F046395F27} (NETGEAR WAG511
802.11a/b/
g Dual Band Wireless PC Card)
3. \Device\NPF_{345D2B1C-EAEB-437B-AB9A-D848EAEF7DEA} (NDIS 5.0 driver
)
Enter the interface number (1-3):2
listening on NETGEAR WAG511 802.11a/b/g Dual Band Wireless PC Card...
how to capture data from a wireless card?
Regards,
vimal
_____
_______________________________________________
Winpcap-users mailing list
Winpcap-users at winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20060627/0a4a6ad8/attachment.htm
More information about the Winpcap-users
mailing list