[Winpcap-users] Windows 8
Gianluca Varenni
Gianluca.Varenni at riverbed.com
Fri Feb 22 08:59:41 PST 2013
I experimented a bit with the NOCAPTURE_LOCAL flag, I can confirm that it doesn't work properly on Win8, and as of now there is no workaround. The issue is rooted in the fact the WinPcap driver uses a very old driver technology (NDIS5), which means that on Win8 there are a number of shim layers to transforms the notifications of the Win8 NDIS stack into the NDIS5 format (and viceversa), and it looks like the "noloopback" flag when sending packets is simply ignored. There are some workarounds that I can try to make it work, but so far I've been quite unsuccessful. My current plan is leave it as a known bug, with two possible approaches:
1. No code changes. The PCAP_OPENFLAGS_NOCAPTURE_LOCAL is ignored, and you will still receive loopback'd packets
2. Fail the pcap_open request on win8 if the PCAP_OPENFLAGS_NOCAPTURE_LOCAL flag is set. This can potentially break applications that are using this flag even if they don't need to.
Have a nice day
GV
From: winpcap-users-bounces at winpcap.org [mailto:winpcap-users-bounces at winpcap.org] On Behalf Of Gianluca Varenni
Sent: Thursday, January 24, 2013 10:35 AM
To: winpcap-users at winpcap.org
Subject: Re: [Winpcap-users] Windows 8
Not sure. I need to understand why it's not working properly on Win8.
GV
From: winpcap-users-bounces at winpcap.org [mailto:winpcap-users-bounces at winpcap.org] On Behalf Of Paul Bußmann
Sent: Thursday, January 24, 2013 1:19 AM
To: winpcap-users at winpcap.org
Subject: Re: [Winpcap-users] Windows 8
Thank you very much for this information!
Do you think that PCAP_OPENFLAG_NOCAPTURE_LOCAL will be supported on Windows 8?
Von: winpcap-users-bounces at winpcap.org [mailto:winpcap-users-bounces at winpcap.org] Im Auftrag von Gianluca Varenni
Gesendet: Mittwoch, 23. Januar 2013 20:48
An: winpcap-users at winpcap.org
Betreff: Re: [Winpcap-users] Windows 8
There will be, most probably by mid/end February.
GV
From: winpcap-users-bounces at winpcap.org<mailto:winpcap-users-bounces at winpcap.org> [mailto:winpcap-users-bounces at winpcap.org] On Behalf Of Paul Bußmann
Sent: Wednesday, January 23, 2013 4:51 AM
To: winpcap-users at winpcap.org<mailto:winpcap-users at winpcap.org>
Subject: [Winpcap-users] Windows 8
Hello,
I found this question already in the archive: http://www.winpcap.org/pipermail/winpcap-users/2012-July/004629.html although it seems to be unanswered since six months.
Unfortunately I didn't find a roadmap on winpcap's website.
I'd like to push this thread, because I need to know "Is there going to be a new version of WinPCap that installs on Windows 8?".
Best regards,
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winpcap.org/pipermail/winpcap-users/attachments/20130222/1382f94e/attachment.html>
More information about the Winpcap-users
mailing list