Hi, On Wed, Feb 08, 2012 at 04:47:35AM -0800, James Ring wrote: > Perhaps I wrote this too hastily. I wasn't thinking of how OpenVPN > actually works. OpenVPN would: > > * open the connection (tcp or udp) to the remote end > * negotiate session parameters > * provide the Android Java wrapper with the session parameters via the > service pipe > * receive the file descriptor to use as the tun/tap device from the > Android Java wrapper via the service pipe
Exactly. The first three things are sort of "nearly done", the "receive file descriptor to use for tun/tap" would need to be implemented (tun.c, open_tun(), #ifdef ANDROID_MAGIC_VPN :-) ) > Another thing to think about would be whether the tunnel could be > reestablished after the device wakes up from sleep. Depending on the OpenVPN --ping parameter settings, it would reconnect to the server automatically - and then re-initialize the interface. gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany g...@greenie.muc.de fax: +49-89-35655025 g...@net.informatik.tu-muenchen.de
pgpJmjvhHZeof.pgp
Description: PGP signature