On Mon, Mar 19, 2012 at 6:23 PM, mjl3434 <[email protected]> wrote:
> There are two new classes added in ICS: VpnService and VpnService.Builder. I
> want to know if these classes would be useful for my goal of developing an
> app that has it's own UI and connects to a VPN endpoint with IPSec VPN (or
> maybe even SSL VPN). Unfortunately, the documentation doesn't really explain
> anything about the actual protocols. The documentation says the class
> is "for applications to extend and build their own VPN solutions. In
> general, it creates a virtual network interface, configures addresses and
> routing rules..."
>
> So here are some obvious unanswered questions:
> 1. What protocol is the VpnService using? Is it SSL based, IPSec,
> L2TP/IPSec, PPTP or what? Protocol matters to some people.

It is whatever you code yourself. You want SSL-based? Write it. You
want IPSec? Write it. You want L2TP/IPSec? Write it. You want PPTP?
Write it. In this respect, VpnService is to VPNs as Activity is to
user interfaces -- it is a necessary part of the framework that
provides some basic functionality, but the core of what you are trying
to do is what you write yourself.

> 2. What on earth do you do at the remote endpoint?

The other side of whatever you code yourself.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to