A QEMU net driver for OpenVPN's Tap-Win32 driver
Hi, all
I'm looking at what it would take to create a QEMU net driver to interface with OpenVN's Tap-Win32 driver. So far it looks fairly straightforward to do. colinux interfaces to Tap-Win32 already. Has anyone else looked into this?
John
John --
I had looked into this only very slightly. My thoughts were to use libpcap/libnet to essentially be a generic network adapter that could take over any network device, with the goal of using that to read/write from a TAP driver. I'm not sure how the libpcap vs. winpcap API lines up, and I think (not 100% sure) that winpcap can write to the device as well, but that was the idea. A command line switch could specify which network device to control, so I could concievably run multiple QEMUs with multiple TAP devices.
I spent a week hunting down the networking code in QEMU (hey, I haven't done *that* much C programming lately) and then, well, life got busy. I'd love to see this added, though, as it seems much more stable than the SLIRP in place today.
-- Mike
Quoted 14 lines · John Poplett
Hi, all
I'm looking at what it would take to create a QEMU net driver to interface with OpenVN's Tap-Win32 driver. So far it looks fairly straightforward to do. colinux interfaces to Tap-Win32 already. Has anyone else looked into this?
John
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
Hi, Mike
Another developer sent me a patch recently that looks promising. It is based on the user-mode code in openvpn and works with the Tap-Win32 driver. I am out of town for a few days and have some more coding to do when I get back but will keep you posted.
Regards,
John
----- Original Message ----- From: "Mike Tremoulet" <[email protected]>
To: "John Poplett" <[email protected]>; <[email protected]>
Sent: Sunday, October 03, 2004 11:59 AM
Subject: Re: [Qemu-devel] A QEMU net driver for OpenVPN's Tap-Win32 driver
Quoted 42 lines
John --
I had looked into this only very slightly. My thoughts were to use libpcap/libnet to essentially be a generic network adapter that could take over any network device, with the goal of using that to read/write from a TAP driver. I'm not sure how the libpcap vs. winpcap API lines up, and I think (not 100% sure) that winpcap can write to the device as well, but that was the idea. A command line switch could specify which network device to control, so I could concievably run multiple QEMUs with multiple TAP devices.
I spent a week hunting down the networking code in QEMU (hey, I haven't done *that* much C programming lately) and then, well, life got busy. I'd love to see this added, though, as it seems much more stable than the SLIRP in place today.
-- Mike
Quoted 7 lines · John Poplett
Hi, all
I'm looking at what it would take to create a QEMU net driver to interface with OpenVN's Tap-Win32 driver. So far it looks fairly straightforward to do. colinux interfaces to Tap-Win32 already. Has anyone else looked into this?
Quoted 7 lines
John
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel__________ NOD32 1.882 (20041002) Information __________
This message was checked by NOD32 antivirus system.
http://www.nod32.com