Skip to contentSkip to conversation

TAP Win32 broken for newer OpenVPN?

Qemu-devel Bernd Waldboth 3 participants 4 messages Nov 12, 2005 – Nov 15, 2005

lore
Share & tools
lore
#0 lore raw

Hello,

i noticed that when I updated the OpenVPN Tap Driver for Windows with the one coming in OpenVPN version 2.04 or 2.05, the same qemu.exe isn't able to connect to the tap-device anymore. The old driver works without problem. I tried it on different machines.
Did anyone else notice the same behaviour?
Maybe for the future someone is able to update the patch? I looked through the in source of the patch
in hope for an "easy" solution like some naming thing etc., but I wasn't able to find anything "obvious".
My concrete problem is that I manually deployed version 2.04 of the OpenVPN Tap-driver on about 30 machines while I tested only with an older version, and now I saw that Qemu does not cooperate with that version anymore. For me it would be much easier and faster to recompile qemu with a newer patch than to manually reinstall an older TAP driver, because i can create an MSI package of Qemu and deploy it via Active Directory.

My configuration:
Win XP Pro SP2 + all updates
Qemu 0.72 + dma + asyncIO + tap-win32

Thanks for your help
Bernd

#1 lore raw
Quoted 8 lines · Bernd Waldboth

Hello,

i noticed that when I updated the OpenVPN Tap Driver for Windows with the one coming in OpenVPN version 2.04 or 2.05, the same qemu.exe isn't able to connect to the tap-device anymore. The old driver works without problem. I tried it on different machines.
Did anyone else notice the same behaviour?

I just started using Qemu 6.1 on OpenBSD 3.7. I have not yet figured out how to connect Qemu to the internet yet. I don't know if it's because I am not yet setting things up correctly or because there is a bug in Qemu's ethernet interface on Openbsd. There exist /dev/tun[0-3] but they all seem to belong to Openbsd. What does Qemu do when the tuns are already there?

Thanks,
Dave Feustel

Quoted 26 lines

Maybe for the future someone is able to update the patch? I looked through the in source of the patch
in hope for an "easy" solution like some naming thing etc., but I wasn't able to find anything "obvious".
My concrete problem is that I manually deployed version 2.04 of the OpenVPN Tap-driver on about 30 machines while I tested only with an older version, and now I saw that Qemu does not cooperate with that version anymore. For me it would be much easier and faster to recompile qemu with a newer patch than to manually reinstall an older TAP driver, because i can create an MSI package of Qemu and deploy it via Active Directory.

My configuration:
Win XP Pro SP2 + all updates
Qemu 0.72 + dma + asyncIO + tap-win32

Thanks for your help
Bernd

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Signature · 4 lines
Tired of having to defend against Malware?
You know: trojans, viruses, SPYWARE, ADWARE, 
KEYLOGGERS, rootkits, worms and popups.
Then Switch to OpenBSD with a KDE desktop!!!
#2 lore raw
In reply to Bernd Waldboth

Hi, Bernd.

Quoted 6 lines · Bernd Waldboth

i noticed that when I updated the OpenVPN Tap Driver for Windows with the one coming in OpenVPN version 2.04 or 2.05, the same qemu.exe isn't able to connect to the tap-device anymore. The old driver works without problem. I tried it on different machines.
Did anyone else notice the same behaviour?

snip.

Quoted 5 lines

My configuration:
Win XP Pro SP2 + all updates
Qemu 0.72 + dma + asyncIO + tap-win32

It is strange. Tap works on my PC. Here is a patch and a binary I used. Tap version is 2.0.5 on WinXP pro SP2. Tap and messagebox patches are applied.

http://www.h7.dion.ne.jp/~qemu-win/download/qemu-0.7.2-tap.patch
http://www.h6.dion.ne.jp/~kazuw/qemu-win/qemu-0.7.2-tap.zip

Regards,
Kazu

#3 lore raw

It is strange. Tap works on my PC.

Quoted 10 lines

Here is a patch and a binary I used.
Tap version is 2.0.5 on WinXP pro SP2.
Tap and messagebox patches are applied.

http://www.h7.dion.ne.jp/~qemu-win/download/qemu-0.7.2-tap.patch
http://www.h6.dion.ne.jp/~kazuw/qemu-win/qemu-0.7.2-tap.zip

Regards,
Kazu

Sorry, my really stupid mistake. Somehow exactly when trying with the old version I specified the name of the Tap Adapter with exactly the same case of all the letters as I used in the Control Panel. With the new driver I used all lowercase letters and wasn't able to connect anymore. Probably it would be best to ignore case in the patch if it should at some point be integrated into the official source.

Thanks for your help
Bernd