[Winpcap-users] Adapter description bug

Gianluca Varenni gianluca.varenni at cacetech.com
Tue Feb 24 09:28:32 PST 2009

----- Original Message ----- 
From: "Gisle Vanem" <gvanem at broadpark.no>
To: "WinDump" <winpcap-users at winpcap.org>
Sent: Tuesday, February 24, 2009 2:44 AM
Subject: Re: [Winpcap-users] Adapter description bug

> "Gianluca Varenni" <gianluca.varenni at cacetech.com> wrote:
>> Does the problem happen with
>> 1. the vanilla version of wpcap.dll and packet.dd shipped with WinPcap 
>> 4.1
>> beta5 (it's my understanding that you are using a custom version of
>> wpcap.dll based off the libpcap latest git tree)?
>> 2. winpcap 4.1 beta4?
> It happens with the MingW compiled version of WInPcap 4.1 beta5 sources;
> http://www.winpcap.org/install/bin/WpcapSrc_4_1_beta5.zip
> I've managed to install VC-2008 express and built Packet.dll. I used this
> with WinDump and saw the same description bug. I've not tried 4.1 beta 4.

I will try to generate a new tracing version of packet.dll by the end of the 
day. However it's important for me that you test it with winpcap 4.1 beta4.

> FYI,
> I've got libpcap-Git in '.' and then unzipped WpcapSrc_4_1_beta5.zip
> there. Hence Packet32.c, AdInfo.c etc. under 'WinPcap\PacketNtx\Dll\'.
> I'm pretty sure I've done everything correctly. I've not modified any 
> important
> structures or files. For reference, see the makefile I used.
> All this would be much easier if someone could merge WinPcap's libpcap
> into the Git tree. E.g. pcap-tc.c and the 'tcInstance' stuff into 
> pcap-int.h.

I'm planning to do that soon (I'm basically working on the porting the 
TurboCap stuff to linux). For

> And what about the remote stuff?

It's a really complicated story. There is basically noone actively 
supporting and maintaining that remote part, I don't basically want to 
commit it to libpcap if noone can maintain it. At the moment the easiest way 
to integrate the TurboCap and remote code is to use the 
"integrate_libpcap.bat" script that automatically applies the two patches to 
a libpcap git/CVS snapshot.

> Btw. Win32-Extensions.c should say:
> pcap_getevent(pcap_t *p)
> {
> #ifdef HAVE_TC_API
> if (p->TcInstance != NULL)
> {
>  return TcGetReceiveWaitHandle(p);
> }
> else
> #endif

True. However consider that pcap_getevent is for windows only. And we do not 
have a separate windows build configuration without TurboCap...


> --gv


> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users

More information about the Winpcap-users mailing list