[Winpcap-users] RE: Winpcap-users Digest, Vol 15, Issue 16

hürriyet adabag adabag20 at hotmail.com
Fri Jun 23 15:16:35 GMT 2006




>From: winpcap-users-request at winpcap.org
>Reply-To: winpcap-users at winpcap.org
>To: winpcap-users at winpcap.org
>Subject: Winpcap-users Digest, Vol 15, Issue 16
>Date: Fri, 23 Jun 2006 11:40:09 GMT
>
>Send Winpcap-users mailing list submissions to
>	winpcap-users at winpcap.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	https://www.winpcap.org/mailman/listinfo/winpcap-users
>or, via email, send a message with subject or body 'help' to
>	winpcap-users-request at winpcap.org
>
>You can reach the person managing the list at
>	winpcap-users-owner at winpcap.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Winpcap-users digest..."
>
>
>Today's Topics:
>
>    1. RE: Packet32.h(209) : error C2079:	'IPAddress'usesundefined
>       struct 'sockaddr_storage' (Steven Smethurst)
>    2. RE: Problem with PacketGetAdapterNames (Gonze Didier)
>    3. Does WinPcap support capturing wireless frames -	with NETGEAR
>       WAB501 wireless adapter or Wireless PC card WAG511 v2 (vimal raj)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Thu, 22 Jun 2006 15:46:18 -0700
>From: "Steven Smethurst" <funvill at funvill.com>
>Subject: RE: [Winpcap-users] Packet32.h(209) : error C2079:
>	'IPAddress'usesundefined struct 'sockaddr_storage'
>To: <winpcap-users at winpcap.org>
>Message-ID: <003201c6964d$aea672f0$6601a8c0 at Funvill>
>Content-Type: text/plain; charset="us-ascii"
>
>Hello
>
>
>
>Thank you,
>
>This solved my problem
>
>I guess I downloaded an improper version of the windows SDK.
>
>
>
>Thanks again for your help.
>
>
>
>- Steven Smethurst
>
>
>
>   _____
>
>From: winpcap-users-bounces at winpcap.org
>[mailto:winpcap-users-bounces at winpcap.org] On Behalf Of Gianluca Varenni
>Sent: Wednesday, June 21, 2006 11:36 PM
>To: winpcap-users at winpcap.org
>Subject: Re: [Winpcap-users] Packet32.h(209) : error C2079:
>'IPAddress'usesundefined struct 'sockaddr_storage'
>
>
>
>Steven,
>
>
>
>you probably installed the wrong version of the Platform SDK: the latest
>versions of the PSDK are *not* compatible with Visual Studio. A version of
>the Microsoft Platform Software Development Kit (SDK) that is compatible
>with Visual Studio 6 (Platform SDK February 2003) is available on the
>Microsoft web site at
><http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm>
>http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm. It
>can be ordered online at  <http://www.qmedia.ca/launch/psdk.htm>
>http://www.qmedia.ca/launch/psdk.htm, and it's also available to Microsoft
>MSDN subscribers on the Subscribers Downloads web site.
>
>
>
>NOTE: after installing it, you should register it within visual studio, go
>to start->AllPrograms->Microsoft Platform sDK Feb2003->Visual Studio
>registration->register PSDK directories within visual studio.
>
>
>
>Have a nice day
>
>GV
>
>
>
>
>----- Original Message -----
>
>From: Steven Smethurst <mailto:funvill at funvill.com>
>
>To: winpcap-users at winpcap.org
>
>Sent: Wednesday, June 21, 2006 4:49 PM
>
>Subject: [Winpcap-users] Packet32.h(209) : error C2079: 'IPAddress'
>usesundefined struct 'sockaddr_storage'
>
>
>
>Hello
>
>
>
>I am trying to build one of the examples that came with Winpcap version 3.1
>
>\Examples-remote\PacketDriver\GetMacAddress
>
>
>
>And I am getting the following errors
>
>Compiling...
>
>GetMacAddress.c
>
>c:\dev\sdk\wpdpack\include\packet32.h(209) : error C2079: 'IPAddress' uses
>undefined struct 'sockaddr_storage'
>
>c:\dev\sdk\wpdpack\include\packet32.h(210) : error C2079: 'SubnetMask' uses
>undefined struct 'sockaddr_storage'
>
>c:\dev\sdk\wpdpack\include\packet32.h(211) : error C2079: 'Broadcast' uses
>undefined struct 'sockaddr_storage'
>
>
>
>
>
>Snippet from c:\dev\sdk\wpdpack\include\packet32.h
>
>--------------------------------------------------------------------
>
>/*!
>
>   \brief Addresses of a network adapter.
>
>
>
>   This structure is used by the PacketGetNetInfoEx() function to return 
>the
>IP addresses associated with
>
>   an adapter.
>
>*/
>
>
>
>typedef struct npf_if_addr {
>
>             struct sockaddr_storage IPAddress;        ///< IP address.
>
>             struct sockaddr_storage SubnetMask;     ///< Netmask for that
>address.
>
>             struct sockaddr_storage Broadcast;        ///< Broadcast
>address.
>
>}npf_if_addr;
>
>--------------------------------------------------------------------
>
>
>
>
>
>
>
>I am able to build all the \Examples-pcap example with out any problems.
>
>Any help or suggestions would be greatly appreciated.
>
>
>
>
>
>Using WinPcap version 3.1
>
>With Visual studios 6.0
>
>I have also updated my platformsdk
>
>http://www.microsoft.com/msdownload/platformsdk/sdkupdate
>
>
>
>
>
>
>   _____
>
>
>_______________________________________________
>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/20060622/5913ac5e/attachment-0001.htm
>
>------------------------------
>
>Message: 2
>Date: Fri, 23 Jun 2006 09:29:17 +0200
>From: "Gonze Didier" <Didier.Gonze at thomson.net>
>Subject: RE: [Winpcap-users] Problem with PacketGetAdapterNames
>To: <winpcap-users at winpcap.org>
>Message-ID:
>	<1F5308C5923F3B4DAA51D189BF255006015C9170 at edgmsmail01.eu.thmulti.com>
>Content-Type: text/plain;	charset="us-ascii"
>
>Loris,
>
>I have just installed WinPcap 3.0: It works perfectly as with Ethereal
>as with the WinDump version 3.8 alpha (it seems the latest WinDump
>version is not compatible with  WinPcap 3.0)
>
>For the moment, it solve my problem
>I just hope that there is no feature on latest WinPcap that I need for
>the capture.
>
>Thanks
>
>
> > -----Original Message-----
> > From: winpcap-users-bounces at winpcap.org [mailto:winpcap-users-
> > bounces at winpcap.org] On Behalf Of Loris Degioanni
> > Sent: woensdag 21 juni 2006 17:40
> > To: winpcap-users at winpcap.org
> > Subject: Re: [Winpcap-users] Problem with PacketGetAdapterNames
> >
> > Gonze Didier wrote:
> >
> > > Using Ethereal I was receiving the following message:
> > >
> > >
> > >
> > > Can't get list of interfaces: PacketGetAdapterNames: There are no
>more
> > > files. (18)
> > >
> > >
> > >
> > >  From the Ethereal site I've read the advice to try with WinDump in
> > > order to see if the problem was linked with Ethereal or WinPCap:
> > >
> > >
> > >
> > > Running WinDump.exe -D I receive the first time as expected the name
>of
> > > the interface:
> > >
> > >
> > >
> > >  /1.\Device\NPF_GenericDialupAdapter (Generic dialup adapter)/
> > >
> > > /2.\Device\NPF_{2ADF974F-F3C9-48FF-97E2-3C261938FA9A} (Dell
>draadloze
> > > 1350 WLAN Mini-PCI kaart (Microsoft's Packet Sche/
> > >
> > > /duler) )/
> > >
> > > /3.\Device\NPF_{889EBB8E-FD12-4D35-AB19-BF61DF1BCA73} (NOC Extranet
> > > Access Adapter (Microsoft's Packet Scheduler) )/
> > >
> > > /4.\Device\NPF_{EA1435B5-323F-40A0-A2EA-DEB99F70041F} (Broadcom
> > > NetXtreme Gigabit Ethernet Driver (Microsoft's Packet S/
> > >
> > > /cheduler) )/
> > >
> > >
> > >
> > > The second time all the interfaces are gone but I receive a message
>that
> > > the command is correctly applied:
> > >
> > >
> > >
> > > WinDump.exe: PacketGetAdapterNames: The operation completed
> > > successfully. (0)
> > >
> > >
> > >
> > > This test is done with WinPCap 3.1
> > >
> > > Only after a reboot of the PC I receive back the correct interface.
> > >
> > >
> > >
> > > My conclusion is thus that the problem is located in WinPCap
> > >
> > >
> > >
> > > The Ethereal test were done with 3.1, 3.1 beta4 and 4.0 alpha1.
> > >
> > > My guess: is that  the problem has been introduced when I've go from
> > > WinPCap 3.0 to WinPCap 3.1 beta4 but now when I install WinPCap 3.1
> > > there is still some part of the the beta version which are not
> > uninstalled
> > >
> >
> > So was it working with WinPcap 3.0?
> >
> > Loris
> >
> > >
> > >
> > >
> > > Can you help me?
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Didier Gonze
> > >
> > > Project Management
> > >
> > > AP&G DSL R&D
> > >
> > >
> > >
> > > Mobile: +32 495586640
> > >
> > > Fixed: +32 3  4436609
> > >
> > >
> > >
> > > Prins Boudewijnlaan 47
> > >
> > > 2650 Edegem
> > >
> > > Belgium
> > >
> > >
> > >
> > >
> > >
>------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > Winpcap-users mailing list
> > > Winpcap-users at winpcap.org
> > > https://www.winpcap.org/mailman/listinfo/winpcap-users
> > _______________________________________________
> > Winpcap-users mailing list
> > Winpcap-users at winpcap.org
> > https://www.winpcap.org/mailman/listinfo/winpcap-users
>
>
>
>
>------------------------------
>
>Message: 3
>Date: Fri, 23 Jun 2006 16:29:56 +0530
>From: "vimal raj" <vimal.raj at cranessoftware.com>
>Subject: [Winpcap-users] Does WinPcap support capturing wireless
>	frames -	with NETGEAR WAB501 wireless adapter or Wireless PC card
>	WAG511 v2
>To: <winpcap-users at winpcap.org>
>Message-ID: <200606231103.k5NB3Ldu083560 at staphna2.securesites.net>
>Content-Type: text/plain; charset="us-ascii"
>
>
>
>
>
>Hi all,
>
>
>
>             I want to develop an application which should capture all raw
>data packets going through the wireless adapter.
>
>
>
>My card specifications are
>
>
>
>1.	NETGEAR wireless adapter WAB501
>
>802.11 a/b
>32 bit card bus model
>
>
>
>2.	NETGEAR Wireless PC card WAG511 v2
>
>Dual band wireless PC card
>32 bit card bus model
>
>
>
>Have any body in our group did experiments with these cards.
>
>Please reply me. And give me advice whether I can adopt some technique 
>other
>than WinPcap to retrieve data
>
>(without writing a miniport driver and intermediate driver. I am not a
>device driver programmer.)
>
>
>
>Regards,
>
>vimal
>
>
>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: 
>http://www.winpcap.org/pipermail/winpcap-users/attachments/20060623/237a96f2/attachment.htm
>
>------------------------------
>
>_______________________________________________
>Winpcap-users mailing list
>Winpcap-users at winpcap.org
>https://www.winpcap.org/mailman/listinfo/winpcap-users
>
>
>End of Winpcap-users Digest, Vol 15, Issue 16
>*********************************************

_________________________________________________________________
Siz siz olun MSN'den hava durumunu ögrenmeden evden çikmayin! 
http://www.msn.com.tr/havadurumu/



More information about the Winpcap-users mailing list