Hi,

On Sat, Jan 19, 2019 at 05:38:27PM +0000, Simon Rozman wrote:
> > > The openvpnmsica.dll and tapctl.exe install TAP interfaces using root-
> > > enumerated HWIDs, and were not detected by openvpn.exe.
> > 
> > I do not see a specific reason to *not* apply this patch, but I'm
> > wondering if you could shed some background light on the changed
> > behaviour in openvpnmsica.dll and tapctl.exe?
> 
> The tapctl.exe and openvpnmsica.dll use a simplified interface installation
> compared to devcon.exe/tapinstall.exe. They assume the driver is already
> installed and they don't require INF file to create a TAP interface.
> However, when the interface is installed this way, Windows reports its
> hardware ID as "root\\tap0901". Whereas, tapinstall.exe installed TAP
> interfaces report their HWID as "tap0901". That's about the only difference
> I noticed.

O-kay... :-) - I do not know enough about driver *installation* on Windows
to know whether this is all good or there might be dragons lurking.  We'll
have to test quite a bit, it seems :-)

> (Tested with driver versions 9.21.x and later.)
> 
> Rather than exploring, what causes the difference and fuelled by Microsoft's
> recommendation to use root-enumerated HWIDs anyway, I proposed to extend the
> openvpn.exe's TAP interface detection to accept both: "tap0901" _and_
> "root\\tap0901" interfaces.

Works for me.  Which is why I ...

> Or even better: apply this patch to 2.4 and 2.3 branches (it's a really
> minor change) and ask them to compile and use the patched version of 2.3. :)

... applied it to 2.4 as well.  

If someone struggles with 2.3 on windows (beyond XP), my empathy for them
will be close to zero.  2.4 is so much better, especially on windows, that
there is no reason to stick to 2.3... (on Linux distributions, sticking
to the "distro provided package" might give people 2.3.x for years to 
come :-( - but this is no argument on Windows).

gert

-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             g...@greenie.muc.de

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to