Yes. I used WinPcap on several workstation with WinNT4. If you look at the
PacketGetAdapterNames() function of packet.dll, you will notice that it
tries first to open the
SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318
} key, then it looks if it contains any subkey. If not, it opens the
SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Linkage key to use the TCP/IP
bindings.
The cause of the problem experienced by your user can be:
- he is not local administrator
- he has a SMP machine (WinPcap 2.3 does not run on such machines)
- a bug in PacketGetAdapterNames(), that prevents WinPcap to see the
adapters in some particular situations. It is corrected from WinPcap 3.01
alpha.
Loris
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, June 18, 2003 2:23 AM
Subject: [WinPcap-users] winpcap on NT4??
Greetings,
I'm a developer. I've been using winpcap successfully on Win2K, XP and .NET
for several months now. However, today, somebody tried to run the program
I'm developing on an NT 4 system with SP6. This resulted in a failure in
pcap_lookupdev() (yes I'm using 2.3, but I've been through the 3.0 source
and it looks like the problem still exists with pcap_findalldevs_ex() ).
What I've determined is that Packet.dll, in all versions, enumerates the
children of the:
HKLM\System\CCS\Control\Class\{4D3E972-E325...}
key to find the available packet devices. From those keys it reaps the
device name in the form of a CLSID and prepends \Device\Packet_ onto it
before returning... fine.
The problem I encountered on NT4 was that there were no subkeys enumerating
the interfaces under HKLM\System... blah, blah. My subsequent plunge into
M$ Iphlpr APIs suggests to me that those keys are not available to the NT
platform until Win2K...
So, now here's my question. Do other people out there run with success on
NT 4? Is it because only systems in my office don't have the enumeration in
the registry? Any help or advice would be greatly appreciated. Thanks.
SLH.
---
Steighton Haley [EMAIL PROTECTED]
"There are 10 types of people in this world,
those who understand binary, and those who don't."
======================
This is the WinPcap users list. It is archived at
http://www.mail-archive.com/[EMAIL PROTECTED]/
To unsubscribe use
mailto: [EMAIL PROTECTED]
======================
==================================================================
This is the WinPcap users list. It is archived at
http://www.mail-archive.com/[EMAIL PROTECTED]/
To unsubscribe use
mailto: [EMAIL PROTECTED]
==================================================================