Ethereal-users: [Ethereal-users] Re: [WinPcap-users] Announce: WinPcap MP Support

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Luca Deri <deri@xxxxxxxx>
Date: Mon, 27 Jan 2003 14:40:40 +0100
Hi Lee,
thanks for the mail.

On Friday, January 24, 2003, at 08:53 PM, Lee Nguyen wrote:


Hi. First of all, great job with the MP support. It's nice to be able to
use winpcap on my MP machine.  Now, the bugs...

Win2K throws a BSOD when I attempt to send a packet flood using winpcap's
native API (not the libpcap wrappers).  The BSOD error says
MULTIPLE_IRP_REQUESTS. To send the packet flood, I used PacketSetNumWrites
() to set the iteration to ~10000 and then called PacketSendPacket() to
send the buffer (buffer<=64bytes). I then put the PacketSendPacket() code
in a tight infinite loop.
This patch has been designed for 'read-only' apps like ethereal and ntop. The original libpcap does not allow you to inject packets although the Win32 port does.


WinXP (on the same machine via a disk image) seems to prevent my app from starting at all. After a few tries, though, the app can get started but
then it BSODs with just the STOP code.  I couldn't see any error
information.

So you basically said that we must work as on XP the patch does not work but just on Win2K.

Test machine environment:
Win2KPro, WinXPPro
Dual P3-500 MHz
384 MB RAM
3Com EtherLink XL 10/100 PCI TX (3C905B-TX) network driver.

I was also able to generate debug logs using DebugView
(www.sysinternals.com) and crash dumps (less portable I imagine). I didn't know whether to post bugs here or send it to the NTOP guys, so I just sent
it to everybody.  If there's a specific group that I should send future
bugs to, please let me know.

You can send it to the ntop list. Personally I hope that the Winpcap guys will integrate the patch (at least as experimental code) so that the code will be part of the main source tree.




|---------+---------------------------->
|         |           Luca Deri        |
|         |           <deri@xxxxxxxx>  |
|         |                            |
|         |           01/24/2003 12:49 |
|         |           AM               |
|         |           Please respond to|
|         |           winpcap-users    |
|         |                            |
|---------+---------------------------->
---------------------------------------------------------------------- ----------------------------------------|
| | | To: winpcap-users@xxxxxxxxxxxxxxxxx, ntop <ntop@xxxxxxxx> | | cc: mikem@xxxxxxxxx, ethereal-users@xxxxxxxxxxxx, snortadmin@xxxxxxxxxxxxxx, "Mike Schwarz" | | <ctek@xxxxxxx> | | Subject: [WinPcap-users] Announce: WinPcap MP Support |
---------------------------------------------------------------------- ----------------------------------------|




Dear all,
we (Michel Montague and me) have just released a patch for running
Winpcap 3.X on multiprocessor (MP) machines. This patch allows users to
run winpcap-based applications such as ntop, nProbe, Ethereal and snort
on MP machines under Windows.

For more information about this topic please visit
http://www.ntop.org/winpcap.html. We have tested the patch on Win2K.
Please report us about other Windows versions.

Have a lot of fun, Luca & Michel

--
Luca Deri <deri@xxxxxxxx>            http://luca.ntop.org/
Hacker: someone who loves to program and enjoys being
clever about it - Richard Stallman




==================================================================
 This is the WinPcap users list. It is archived at
 http://www.mail-archive.com/winpcap-users@xxxxxxxxxxxxxxxxx/

 To unsubscribe use
 mailto: winpcap-users-request@xxxxxxxxxxxxxxxxx?body=unsubscribe
==================================================================







==================================================================
 This is the WinPcap users list. It is archived at
 http://www.mail-archive.com/winpcap-users@xxxxxxxxxxxxxxxxx/

 To unsubscribe use
 mailto: winpcap-users-request@xxxxxxxxxxxxxxxxx?body=unsubscribe
==================================================================


-------
Luca Deri <deri@xxxxxxxx>