Re: [WinPcap-users] PPPoX etc / generic dialup risks

2005-02-19 Thread Gianluca Varenni
Hi.
It is true, the so called generic ndiswan adapter is always listed on XP 
(provided that you have the rights to access the netmon driver). Even if 
there is no dialup or similar adapter installed.

However, choosing such adapter should not cause any crash in any case 
(basically, if you don't have any ppp hw, you won't capture anything). 
WinPcap forwards the request to open such adapter to Microsoft netmon 
(that's what we use to capture from PPP), and the request should either fail 
(we deal with such errors in winpcap), or succeed (and then you don't 
capture anything). I had a look at the winpcap code for that, and every 
return value from the NetMon API seems to be checked.

Can you tell me the exact error message you are encountering? In the next 
weeks I will try to replicate it on one of my machines.

Have a nice day
GV

- Original Message - 
From: Thaddy [EMAIL PROTECTED]
To: winpcap-users@winpcap.polito.it
Sent: Wednesday, February 16, 2005 8:40 AM
Subject: [WinPcap-users] PPPoX etc / generic dialup risks


Hi,
I noticed that on some installations there is always an entry returned for 
the generic driver even if there's no such hardware available.
If a mainboad contains a miniport slot for either a miniport dialup modem 
or a miniport networkcard, at least Windows XP will install a miniport 
driver (recognized by the library as a valid entry), but because the 
actual modemdriver or networkdrivers are not installed, trying to access 
it will crash the software. Anybody has similar experiences? or better a 
solution to distinguish between an actual filled and properly installed 
slot and an empty slot/ rogue miniport driver? I am talking about 
otherwise clean machines who never had the miniport slot used.

Regards,
Thaddy
==
This is the WinPcap users list. It is archived at
http://www.mail-archive.com/winpcap-users@winpcap.polito.it/
To unsubscribe use mailto: 
[EMAIL PROTECTED]
==



==
This is the WinPcap users list. It is archived at
http://www.mail-archive.com/winpcap-users@winpcap.polito.it/
To unsubscribe use 
mailto: [EMAIL PROTECTED]
==


Re: [WinPcap-users] Generic and specific NDISWAN interfaces in WinPcap 3.1 beta 4?

2005-02-19 Thread Gianluca Varenni
- Original Message - 
From: Guy Harris [EMAIL PROTECTED]
To: winpcap-users@winpcap.polito.it
Sent: Tuesday, February 15, 2005 6:33 PM
Subject: Re: [WinPcap-users] Generic and specific NDISWAN interfaces in 
WinPcap 3.1 beta 4?


Fulvio Risso wrote:
GenericDialUpAdapter sounds better to me.
...although if you think of dial-up as opposed to, for example, 
broadband, is the NDISWAN stuff used for PPPoE or PPPoA for ADSL?
Yes. Or better, if I remember well, it is used at least for some of the 
available PPPoE drivers, like the one shipped with XP. I'll have a couple of 
tests with my DSL connection at home, just to be sure.

GV
PS. Is anyone here on the mlist with a PPPoA connection, and can see if the 
PPPoA adapter is listed as dialup or something else??


==
This is the WinPcap users list. It is archived at
http://www.mail-archive.com/winpcap-users@winpcap.polito.it/
To unsubscribe use mailto: 
[EMAIL PROTECTED]
==



==
This is the WinPcap users list. It is archived at
http://www.mail-archive.com/winpcap-users@winpcap.polito.it/
To unsubscribe use 
mailto: [EMAIL PROTECTED]
==