[prev in list] [next in list] [prev in thread] [next in thread]
List: winpcap-users
Subject: Re: [Winpcap-users] Windows 8
From: Gianluca Varenni <Gianluca.Varenni () riverbed ! com>
Date: 2013-02-22 16:59:41
Message-ID: 8A9226C4990BF648BD21174A6F44BDFD759766C7 () 365EXCH-MBX-P5 ! nbttech ! com
[Download RAW message or body]
I experimented a bit with the NOCAPTURE_LOCAL flag, I can confirm that it d=
oesn't work properly on Win8, and as of now there is no workaround. The iss=
ue is rooted in the fact the WinPcap driver uses a very old driver technolo=
gy (NDIS5), which means that on Win8 there are a number of shim layers to t=
ransforms the notifications of the Win8 NDIS stack into the NDIS5 format (a=
nd 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 wo=
rk, 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, an=
d 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@winpcap.org [mailto:winpcap-users-bounces@winpc=
ap.org] On Behalf Of Gianluca Varenni
Sent: Thursday, January 24, 2013 10:35 AM
To: winpcap-users@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@winpcap.org [mailto:winpcap-users-bounces@winpc=
ap.org] On Behalf Of Paul Bu=DFmann
Sent: Thursday, January 24, 2013 1:19 AM
To: winpcap-users@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 Window=
s 8?
Von: winpcap-users-bounces@winpcap.org [mailto:winpcap-users-bounces@winpca=
p.org] Im Auftrag von Gianluca Varenni
Gesendet: Mittwoch, 23. Januar 2013 20:48
An: winpcap-users@winpcap.org
Betreff: Re: [Winpcap-users] Windows 8
There will be, most probably by mid/end February.
GV
From: winpcap-users-bounces@winpcap.org<mailto:winpcap-users-bounces@winpca=
p.org> [mailto:winpcap-users-bounces@winpcap.org] On Behalf Of Paul Bu=DFma=
nn
Sent: Wednesday, January 23, 2013 4:51 AM
To: winpcap-users@winpcap.org<mailto:winpcap-users@winpcap.org>
Subject: [Winpcap-users] Windows 8
Hello,
I found this question already in the archive: http://www.winpcap.org/piperm=
ail/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
[Attachment #3 (text/html)]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle23
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:70.85pt 70.85pt 56.7pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:826824320;
mso-list-type:hybrid;
mso-list-template-ids:938651056 67698703 67698713 67698715 67698703 67698713 \
67698715 67698703 67698713 67698715;} @list l0:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">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:<o:p></o:p></span></p> <p \
class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if \
!supportLists]><span style="color:#1F497D"><span style="mso-list:Ignore">1.<span \
style="font:7.0pt "Times New Roman""> \
</span></span></span><![endif]><span style="color:#1F497D">No code changes. The \
PCAP_OPENFLAGS_NOCAPTURE_LOCAL is ignored, and you will still receive \
loopback’d packets<o:p></o:p></span></p> <p class="MsoListParagraph" \
style="text-indent:-.25in;mso-list:l0 level1 lfo1"><![if !supportLists]><span \
style="color:#1F497D"><span style="mso-list:Ignore">2.<span style="font:7.0pt \
"Times New Roman""> \
</span></span></span><![endif]><span style="color:#1F497D">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.<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="color:#1F497D"><o:p> </o:p></span></p> <p class="MsoNormal"><span \
style="color:#1F497D">Have a nice day<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="color:#1F497D">GV<o:p></o:p></span></p> <p \
class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p> <div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span \
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span \
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> \
winpcap-users-bounces@winpcap.org [mailto:winpcap-users-bounces@winpcap.org] <b>On \
Behalf Of </b>Gianluca Varenni<br> <b>Sent:</b> Thursday, January 24, 2013 10:35 \
AM<br> <b>To:</b> winpcap-users@winpcap.org<br>
<b>Subject:</b> Re: [Winpcap-users] Windows 8<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Not sure. I need to understand why \
it’s not working properly on Win8.</span><o:p></o:p></p> <p \
class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p> <p \
class="MsoNormal"><span style="color:#1F497D">GV</span><o:p></o:p></p> <p \
class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p> <div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span \
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span \
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> \
winpcap-users-bounces@winpcap.org [mailto:winpcap-users-bounces@winpcap.org] <b>On \
Behalf Of </b>Paul Bußmann<br> <b>Sent:</b> Thursday, January 24, 2013 1:19 AM<br>
<b>To:</b> winpcap-users@winpcap.org<br>
<b>Subject:</b> Re: [Winpcap-users] Windows 8</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Thank you very much for this \
information!</span><o:p></o:p></p> <p class="MsoNormal"><span \
style="color:#1F497D">Do you think that PCAP_OPENFLAG_NOCAPTURE_LOCAL will be \
supported on Windows 8?</span><o:p></o:p></p> <p class="MsoNormal"><span \
style="color:#1F497D"> </span><o:p></o:p></p> <div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span lang="DE" \
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Von:</span></b><span \
lang="DE" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> \
winpcap-users-bounces@winpcap.org [mailto:winpcap-users-bounces@winpcap.org] <b>Im \
Auftrag von </b>Gianluca Varenni<br> <b>Gesendet:</b> Mittwoch, 23. Januar 2013 \
20:48<br> <b>An:</b> winpcap-users@winpcap.org<br>
<b>Betreff:</b> Re: [Winpcap-users] Windows 8</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">There will be, most probably by \
mid/end February.</span><o:p></o:p></p> <p class="MsoNormal"><span \
style="color:#1F497D"> </span><o:p></o:p></p> <p class="MsoNormal"><span \
style="color:#1F497D">GV</span><o:p></o:p></p> <p class="MsoNormal"><span \
style="color:#1F497D"> </span><o:p></o:p></p> <div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span \
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span \
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a \
href="mailto:winpcap-users-bounces@winpcap.org">winpcap-users-bounces@winpcap.org</a> \
[<a href="mailto:winpcap-users-bounces@winpcap.org">mailto:winpcap-users-bounces@winpcap.org</a>]
<b>On Behalf Of </b>Paul Bußmann<br>
<b>Sent:</b> Wednesday, January 23, 2013 4:51 AM<br>
<b>To:</b> <a href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</a><br>
<b>Subject:</b> [Winpcap-users] Windows 8</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Hello,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">I found this question already in the \
archive: <a href="http://www.winpcap.org/pipermail/winpcap-users/2012-July/004629.html">http://www.winpcap.org/pipermail/winpcap-users/2012-July/004629.html</a> \
although it seems to be unanswered since six months.</span><o:p></o:p></p> <p \
class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p> <p \
class="MsoNormal"><span style="color:#1F497D">Unfortunately I didn’t find a \
roadmap on winpcap’s website.</span><o:p></o:p></p> <p class="MsoNormal"><span \
style="color:#1F497D"> </span><o:p></o:p></p> <p class="MsoNormal"><span \
style="color:#1F497D">I’d like to push this thread, because I need to know \
<b><u>“Is there going to be a new version of WinPCap that installs on Windows \
8?”</u></b>.</span><o:p></o:p></p> <p class="MsoNormal"><span \
style="color:#1F497D"> </span><o:p></o:p></p> <p class="MsoNormal"><span \
style="color:#1F497D">Best regards,</span><o:p></o:p></p> <p class="MsoNormal"><span \
style="color:#1F497D">Paul</span><o:p></o:p></p> <p \
class="MsoNormal"> <o:p></o:p></p> </div>
</body>
</html>
_______________________________________________
Winpcap-users mailing list
Winpcap-users@winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users
--===============5559861735058286305==--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic