[GIT PULL V3] JNI bindings for libopenconnect; other fixes

Kevin Cernekee cernekee at gmail.com
Wed Oct 30 14:36:23 EDT 2013


On Wed, Oct 30, 2013 at 11:18 AM, Nikos Mavrogiannopoulos
<nmav at gnutls.org> wrote:
> On 10/14/2013 12:42 AM, Kevin Cernekee wrote:
>> Here is the latest iteration of my JNI/Android patch series.
>>
>> V2->V3 changes:
>>
>> Add protect_socket callback to allow binding VPN connection sockets to
>> a non-VPNed interface
>>
>> Specify reconnect_{timeout,interval} in openconnect_mainloop() arguments
>>
>> Use select() to sleep during reconnect, to remain responsive to aborts
>> via cancel_fd
>>
>> Improve error handling in JNI init() function
>>
>> Make a few of the Java callbacks optional
>
> Hello Kevin,
>  Is that used in an android app?

Yes - current work in progress is here:

https://github.com/cernekee/ics-openvpn/commits/master

The Activity / Service stuff needs to be refactored but in its current
form it can connect up to ocserv without a problem.



More information about the openconnect-devel mailing list