[WinPcap-users] WinPcap fails to recognize adapters, every other time

2005-02-22 Thread Paul J. Nederveen
Hello, I am having a problem running winpcap on my Thinkpad T42. My system is a IBM Thinkpad T42 with: WinXP Pro SP2 Intel PRO/1000 MT Intel PRO/Wireless 2200BG WinpCap 3.1 beta4 (also tried with 3.0 alpha3, which works with this app on other XP installs) I have an application that utilizes

Re: [WinPcap-users] iflist.c DOES NOT RETURN IP ADDRESS OF INTERFACE (DHCP)

2005-02-22 Thread Gianluca Varenni
Hi Nick. As a matter of facts, due to the lack of resources, the relative obsolescence of win9x and its poor performance, our efforts are all concentrated on the development of winpcap under NT systems. As a consequence, we can provide very little support for this OS.I'm very sorry for

Re: [WinPcap-users] WinPcap fails to recognize adapters, every other time

2005-02-22 Thread Gianluca Varenni
Uhm... this is rather weird. Can you please try the debug_to_file version of packet.dll? It's available at http://winpcap.polito.it/contact.htm under the section submitting bugs. Repeat your tests (I hope it will fail with the same behavior as before). Next, send me the file winpcap_debug.txt

Re: [WinPcap-users] PacketOpenAdapterNPF bug - error creating service

2005-02-22 Thread Gianluca Varenni
Hi Daniel. You are right, you need SC_MANAGER_CREATE_SERVICE to install the driver. However, the service is created upon winpcap installation, so the function PacketInstallDriver() should never been called by PacketOpenAdapterNPF. Nevertheless, I think that we need to clean up that code (and

[WinPcap-users] PROBLEM WITH BUILDING A BRIDGE

2005-02-22 Thread Bowers, Rick
I'm trying to use winpcap to build a software bridge using two lan cards -- but seem to be in an infinite feedback loop. I open both NIC's using pcap_open( rpcap://theDeviceName1, ... ) and rpcap::/theDeviceName2. Then I start two threads, each collecting frames on one of the NIC's using

RE: [WinPcap-users] PROBLEM WITH BUILDING A BRIDGE

2005-02-22 Thread Bowers, Rick
Thanks for the suggestion. I see pcap_open_live(), that is called by pcap_open(), calls PacketSetHwFilter() with either NDIS_PACKET_TYPE_PROMISCUOUS or NDIS_PACKET_TYPE_ALL_LOCAL depending on whether it was asked to run in promiscuous mode. From ntddndis.h the only NDIS_PACKET* defines are: //