[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] WinCE/PPC; worthwhile to suport? possible?


  • Subject: Re: [Openvpn-users] WinCE/PPC; worthwhile to suport? possible?
  • From: James Yonan <jim@xxxxxxxxx>
  • Date: Tue, 07 Mar 2006 19:37:44 -0700

Dave wrote:
I'm going to try and port the client to Pocket PC for my own purposes and am
wondering:

* is there any general interest in supporting that platform, and probably
more importantly,
* is this known to be impossible for some reason. I'm a little surprised
it hasn't been done already.
I've actually taken a look at the feasibility of this -- my initial impression was that it would be difficult simply because a fair amount of functionality in the network stack is removed from Windows Mobile/CE to satisfy the limited memory of these devices. For example, Windows Mobile/CE doesn't support asynchronous I/O system calls, which OpenVPN needs. I also didn't notice very much support for non-OEM device drivers to be added after the OS image has been built by the manufacturer.

The problem (in my view) with Windows Mobile/CE is that it's not really Windows -- i.e. you can't simple recompile your code and it "just works", because they've made subtle changes/deletions to the Win32 API that will break porting. That sort of defeats the purpose of operating systems in the first place -- i.e. providing a standard API to software, so that the same software package can run on arbitrary hardware.

Linux doesn't seem to have this problem with preserving the underlying system call API even as the OS is downscaled to the embedded space. You can rebuild OpenVPN (or indeed nearly any Linux daemon) without changes on a Linksys box running OpenWRT and it just works.

On the other hand, with Windows Mobile/CE, they changed the way device drivers work (Drivers on CE are .DLL files, more like libraries than conventional device drivers), services don't work the same way, all the network utilities are missing (like route, ipconfig, etc.), and they've stripped out a key part of the Win32 network stack (i.e. all the asynchronous I/O calls). There isn't even a command prompt shell!

There's also some question about the future viability of the platform -- search for "pocket pc is dead" on google groups.

James


____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-03/msg00102.html on line 211

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-03/msg00102.html on line 211